burgernotes-server/templates/app.html

83 lines
3.4 KiB
HTML
Raw Normal View History

2023-07-21 20:52:06 +01:00
<!DOCTYPE html>
<html>
<head>
2023-11-03 20:24:40 +00:00
<title>PageBurger</title>
2023-07-21 20:52:06 +01:00
<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-11-03 20:24:40 +00:00
<p tabindex="0" class="logo" id="burgerButton">PageBurger</p>
2023-08-09 23:43:28 +01:00
<p tabindex="0" id="usernameBox" class="usernameBox"></p>
2023-07-21 20:52:06 +01:00
</div>
2023-10-16 19:45:00 +01:00
<div class="bottomBar">
<button id="removeBox" class="removeButton"></button>
2023-12-20 10:58:22 +00:00
<button id="wordCountBox" class="wordCounter">0 words</button>
2023-10-16 19:45:00 +01:00
<button id="textMinusBox" class="right">-</button>
<button id="textSizeBox" class="right">16px</button>
<button id="textPlusBox" class="right">+</button>
</div>
2023-07-21 20:52:06 +01:00
<div id="notesBar" class="notesBar">
2023-08-16 14:42:08 +01:00
<button id="newNote" class="newNote"><img id="newNoteImage" draggable="false" alt=""
2023-11-03 20:24:40 +00:00
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-11-03 20:24:40 +00:00
<h3 class="w300">Your account</h3>
2023-07-22 17:15:59 +01:00
<p id="usernameThing"></p>
2023-08-28 19:18:14 +01:00
<p id="passwordThing"></p>
2023-08-09 23:43:28 +01:00
<div class="section"></div>
2023-11-03 20:24:40 +00:00
<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>
2023-11-03 20:24:40 +00:00
<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>
<button id="sessionManagerButton"><img src="/static/svg/list.svg">Session manager</button>
<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>
2023-11-03 20:24:40 +00:00
<h3 class="w300">Session manager</h3>
<p>Manage your sessions</p>
2023-08-19 14:17:23 +01:00
<div class="section"></div>
<div class="sessionDiv" id="sessionDiv">
</div>
</div>
2023-08-28 19:18:14 +01:00
</div>
<div id="errorDiv" class="optionsDiv hidden">
<p id="errorMessageThing"></p>
2023-10-16 19:45:00 +01:00
<input class="hidden" id="errorInput" type="text" placeholder=""><br></input>
2023-11-03 20:24:40 +00:00
<button class="normalButton" id="closeErrorButton">Ok</button>
2023-08-09 23:43:28 +01:00
<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>
2023-11-03 20:24:40 +00:00
</html>