Skip to content
Snippets Groups Projects
Commit bfa9f76d authored by JacobTheisen's avatar JacobTheisen
Browse files

halla

parent ab849a86
No related branches found
No related tags found
No related merge requests found
Pipeline #72056 passed with warnings
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/app.css" />
<link rel="stylesheet" href="css/popup.css" />
<title>Application</title>
......@@ -17,7 +16,7 @@
</div>
<div class="menu">
<ul>
<li><a href="#">Ressursovervåking</a></li>
<li><a href="http://129.241.96.83:61208/">Ressursovervåking</a></li>
<li><a href="#">Logg</a></li>
<li><a href="./settings.html">Innstillinger</a></li>
<li><a href="/">Logg ut</a></li>
......@@ -30,19 +29,30 @@
</div>
<ul id="userList">
<li onclick="openCalculator(); toggleUserList();"><i class="fas fa-user userIcon"></i>Kalkulator</li>
<li onclick="openCalculator(); toggleUserList();">
<i class="fas fa-user userIcon"></i>Kalkulator
</li>
</ul>
<ul id="groupChatList">
</ul>
<ul id="groupChatList"></ul>
<div class="popup" id="formpopup">
<form class="popupContainer" autocomplete="off" onsubmit="createGroupChat(event); toggleUserList();">
<form
class="popupContainer"
autocomplete="off"
onsubmit="createGroupChat(event); toggleUserList();"
>
<div class="popupHeader">
<h1>Gruppesamtale</h1>
<label><b>Gruppenavn</b></label>
<input class="popupInput" id="groupname" placeholder="Skriv inn navn på gruppesamtale" required pattern="[\w+]([\s\w+])+">
<label><b>Velg deltakere</b></label> <br>
<input
class="popupInput"
id="groupname"
placeholder="Skriv inn navn på gruppesamtale"
required
pattern="[\w+]([\s\w+])+"
/>
<label><b>Velg deltakere</b></label> <br />
</div>
<div class="popupUsers">
......@@ -51,7 +61,13 @@
<div>
<button class="popupBtn">Legg til</button>
<button onclick="closeForm(event)" class="popupBtn" id="popupBtnAbort">Avbryt</button>
<button
onclick="closeForm(event)"
class="popupBtn"
id="popupBtnAbort"
>
Avbryt
</button>
</div>
</form>
</div>
......@@ -61,18 +77,48 @@
<h2 class="usernameReceiver" id="usernameReceiver"></h2>
<div class="messages" id="messages"></div>
<form class="chatInput" id="messageForm" autocomplete="off" onsubmit="postMessage(event)">
<input id="messageInput" class="textfield" type="text" placeholder="Melding...">
<form
class="chatInput"
id="messageForm"
autocomplete="off"
onsubmit="postMessage(event)"
>
<input
id="messageInput"
class="textfield"
type="text"
placeholder="Melding..."
/>
<button class="submitBtn">Send melding</button>
</form>
<form class="chatInput" id="calculateForm" autocomplete="off" onsubmit="submitExpression(event)">
<input id="expressionInput" class="textfield" type="text" placeholder="Regnestykke...">
<form
class="chatInput"
id="calculateForm"
autocomplete="off"
onsubmit="submitExpression(event)"
>
<input
id="expressionInput"
class="textfield"
type="text"
placeholder="Regnestykke..."
/>
<button class="submitBtn">Send regnestykke</button>
</form>
<form class="chatInput" id="groupChatForm" autocomplete="off" onsubmit="postGroupMessage(event)">
<input id="groupMessageInput" class="textfield" type="text" placeholder="Melding...">
<form
class="chatInput"
id="groupChatForm"
autocomplete="off"
onsubmit="postGroupMessage(event)"
>
<input
id="groupMessageInput"
class="textfield"
type="text"
placeholder="Melding..."
/>
<button class="submitBtn">Send melding</button>
</form>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment