burgernotes-server/templates/app.html

72 lines
3.1 KiB
HTML
Raw Normal View History

2023-07-21 20:52:06 +01:00
<!DOCTYPE html>
<html>
<head>
<title>burgernotes</title>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="/static/css/style.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"
integrity="sha512-E8QSvWZ0eCLGk4km3hxSsNmGWbLtSCSUcewDQPQWZF6pEU8GlT8a5fF32wOl1i8ftdMhssTrF/OhyGWwonTcXA=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
<body>
<div class="topBar">
2023-08-09 23:43:28 +01:00
<p tabindex="0" class="logo" id="burgerButton">burgernotes</p>
<p tabindex="0" id="usernameBox" class="usernameBox"></p>
2023-07-21 20:52:06 +01:00
</div>
<div id="notesBar" class="notesBar">
2023-08-16 14:42:08 +01:00
<button id="newNote" class="newNote"><img id="newNoteImage" draggable="false" alt=""
src="/static/svg/add.svg">new note</button>
2023-07-21 20:52:06 +01:00
<div id="notesDiv" class="notesDiv">
2023-08-04 18:48:26 +01:00
<button class="loadingStuff" id="loadingStuff"></button>
2023-07-21 20:52:06 +01:00
</div>
</div>
2023-07-22 17:15:59 +01:00
<div id="optionsCoverDiv" class="optionsCoverDiv hidden">
<div id="optionsDiv" class="optionsDiv hidden">
2023-07-22 19:03:37 +01:00
<button class="exit" id="exitThing">X</button>
2023-08-16 14:42:08 +01:00
<h3 class="w300">your account</h3>
2023-07-22 17:15:59 +01:00
<p id="usernameThing"></p>
2023-08-09 23:43:28 +01:00
<div class="section"></div>
<p>storage</p>
2023-08-02 20:08:11 +01:00
<progress id="storageProgressThing" value="0" max="100"></progress><br>
2023-07-22 17:15:59 +01:00
<p id="storageThing"></p>
2023-08-09 23:43:28 +01:00
<div class="section"></div>
<p>account managment</p>
<button id="deleteMyAccountButton"><img src="/static/svg/delete_forever.svg">delete my account</button>
<button id="exportNotesButton"><img src="/static/svg/download.svg">export notes</button>
2023-08-19 14:17:23 +01:00
<button id="sessionManagerButton"><img src="/static/svg/list.svg">session manager</button>
2023-08-09 23:43:28 +01:00
<button class="lastButton" id="logOutButton"><img src="/static/svg/logout.svg">log out</button>
2023-07-22 17:15:59 +01:00
</div>
2023-08-19 14:17:23 +01:00
<div id="sessionManagerDiv" class="optionsDiv hidden">
<button class="exit" id="exitSessionsThing">X</button>
<h3 class="w300">session manager</h3>
<p>manage your sessions</p>
<div class="section"></div>
<div class="sessionDiv" id="sessionDiv">
</div>
</div>
<div id="errorDiv" class="optionsDiv hidden">
<p id="errorMessageThing"></p>
<input class="hidden" id="errorInput" type="text" placeholder="e.g. shopping list"><br></input>
2023-08-09 23:43:28 +01:00
<button class="normalButton" id="closeErrorButton">OK</button>
<button class="normalButton hidden" id="cancelErrorButton">Cancel</button>
</div>
2023-07-22 17:15:59 +01:00
</div>
2023-07-21 20:52:06 +01:00
<textarea id="noteBox" class="noteBox"></textarea>
<script type="text/javascript" src="/static/js/main.js"></script>
2023-08-16 14:42:08 +01:00
<script>
for (let i = 0; i < 40; i++) {
notesDiv.appendChild(loadingStuff.cloneNode())
}
loadingStuff.remove()
</script>
2023-07-21 20:52:06 +01:00
</body>
</html>