2024-03-12 18:34:05 +00:00
|
|
|
<!DOCTYPE html>
|
2024-06-22 22:07:06 +01:00
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
2024-03-12 18:34:05 +00:00
|
|
|
<title>Burgernotes</title>
|
2024-06-22 22:07:06 +01:00
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
2024-03-12 18:34:05 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
2024-06-22 22:07:06 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/css/style.css" />
|
2024-04-28 23:48:03 +01:00
|
|
|
<script type="text/javascript" src="/static/js/crypto-js.js"></script>
|
|
|
|
<script type="text/javascript" src="/static/js/marked.js"></script>
|
2024-06-26 00:53:44 +01:00
|
|
|
<script type="text/javascript" src="/static/js/purify.js"></script>
|
2024-04-28 23:48:03 +01:00
|
|
|
<link rel="icon" href="/static/svg/favicon.svg">
|
2024-03-12 18:34:05 +00:00
|
|
|
</head>
|
|
|
|
|
2024-06-22 22:07:06 +01:00
|
|
|
<noscript>
|
2024-06-22 14:02:40 +01:00
|
|
|
<head>
|
|
|
|
<meta http-equiv="refresh" content="0; url=/login"/>
|
|
|
|
</head>
|
|
|
|
</noscript>
|
|
|
|
|
2024-06-22 22:07:06 +01:00
|
|
|
<body>
|
2024-06-25 19:43:24 +01:00
|
|
|
<div class="topBar" id="topBar">
|
2024-06-22 15:53:36 +01:00
|
|
|
<div class="modernToolbar">
|
2024-06-25 19:43:24 +01:00
|
|
|
<button class="usernameBox hidden" onclick="handleGesture()" id="backButton"><div class="vcenter"><img src="/static/svg/arrow-back.svg"></div></button>
|
2024-06-22 22:07:06 +01:00
|
|
|
<button class="count" id="wordCountBox">0 words</button>
|
2024-06-22 15:58:42 +01:00
|
|
|
<button onclick="toggleMarkdown()" class="usernameBox"><div class="vcenter"><img src="/static/svg/markdown.svg"></div></button>
|
2024-06-22 22:07:06 +01:00
|
|
|
<button id="usernameBox" class="usernameBox"><div class="vcenter"><img src="/static/svg/acct-settings.svg"></div></button>
|
2024-03-12 18:34:05 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="notesBar" class="notesBar">
|
2024-06-22 22:07:06 +01:00
|
|
|
<button id="newNote" class="newNote" style="margin-left: 5px;">
|
2024-05-24 19:48:24 +01:00
|
|
|
<div class="vcenter"><img id="newNoteImage" draggable="false" alt="" src="/static/svg/add.svg"></div>
|
2024-06-22 00:27:04 +01:00
|
|
|
</button>
|
2024-06-23 20:00:06 +01:00
|
|
|
<!--<button class="newNote" style="margin-left: 37.5px; background-color: var(--bar) !important;">-->
|
2024-06-22 22:07:06 +01:00
|
|
|
</button>
|
2024-06-23 20:00:06 +01:00
|
|
|
<button id="removeBox" class="newNote remove">
|
2024-06-22 00:27:04 +01:00
|
|
|
<div class="vcenter"><img id="newNoteImage" draggable="false" alt="" src="/static/svg/delete.svg"></div>
|
2024-05-24 19:48:24 +01:00
|
|
|
</button>
|
2024-03-12 18:34:05 +00:00
|
|
|
<div id="notesDiv" class="notesDiv">
|
2024-06-23 15:49:01 +01:00
|
|
|
<button class="loadingStuff" id="loadingStuff">Meow :3</button>
|
2024-06-22 22:07:06 +01:00
|
|
|
</div>
|
2024-03-12 18:34:05 +00:00
|
|
|
</div>
|
|
|
|
|
2024-06-22 22:07:06 +01:00
|
|
|
<div id="optionsCoverDiv" class="optionsCoverDiv hidden">
|
|
|
|
<div id="optionsDiv" class="optionsDiv hidden">
|
2024-03-12 18:34:05 +00:00
|
|
|
<button class="exit" id="exitThing">X</button>
|
|
|
|
<h3 class="w300">Your account</h3>
|
2024-06-22 22:07:06 +01:00
|
|
|
<p id="usernameThing">Cannot connect to the server</p>
|
2024-03-12 18:34:05 +00:00
|
|
|
<div class="section"></div>
|
2024-06-22 16:42:04 +01:00
|
|
|
<p>Device settings</p>
|
|
|
|
<div class="fontManipulator">
|
2024-06-25 19:43:24 +01:00
|
|
|
<div class="vcenter"><text>Font size</text></div>
|
|
|
|
<div class="vcenter textMinusBox"><button id="textMinusBox">-</button></div>
|
|
|
|
<div class="vcenter textSizeBox"><text style="background-color: rgba(0, 0, 0, 0) !important; transform: translateX(-3.5px)" id="textSizeBox">16px</text></div>
|
|
|
|
<div class="vcenter"><button id="textPlusBox">+</button></div>
|
2024-06-22 16:42:04 +01:00
|
|
|
</div>
|
|
|
|
<div class="section"></div>
|
2024-03-12 18:34:05 +00:00
|
|
|
<p>Storage</p>
|
2024-06-22 22:07:06 +01:00
|
|
|
<progress id="storageProgressThing" value="0" max="100"></progress><br>
|
|
|
|
<p id="storageThing">Cannot connect to the server</p>
|
2024-03-12 18:34:05 +00:00
|
|
|
<div class="section"></div>
|
|
|
|
<p>Account managment</p>
|
2024-05-24 19:48:24 +01:00
|
|
|
<button id="deleteMyAccountButton"><img src="/static/svg/delete_forever.svg" alt="">Delete account</button>
|
2024-04-28 23:48:03 +01:00
|
|
|
<button id="exportNotesButton"><img src="/static/svg/download.svg" alt="">Export notes</button>
|
2024-05-20 20:24:43 +01:00
|
|
|
<button id="importNotesButton"><img src="/static/svg/upload.svg" alt="">Import notes</button>
|
2024-05-24 19:48:24 +01:00
|
|
|
<button id="sessionManagerButton"><img src="/static/svg/list.svg" alt="">View sessions</button>
|
2024-04-28 23:48:03 +01:00
|
|
|
<button class="lastButton" id="logOutButton"><img src="/static/svg/logout.svg" alt="">Log out</button>
|
2024-03-12 18:34:05 +00:00
|
|
|
</div>
|
|
|
|
<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>
|
2024-05-20 20:24:43 +01:00
|
|
|
<div id="importDiv" class="optionsDiv hidden">
|
|
|
|
<button class="exit" id="exitImportThing">X</button>
|
|
|
|
<h3 class="w300">Import manager</h3>
|
|
|
|
<p>Import your notes from your device</p>
|
|
|
|
<div class="section"></div>
|
|
|
|
<form><input type="file" id="importFile" style="border: 0;"></form>
|
|
|
|
</div>
|
2024-03-12 18:34:05 +00:00
|
|
|
<div id="errorDiv" class="optionsDiv hidden">
|
2024-06-22 22:07:06 +01:00
|
|
|
<p id="errorMessageThing"></p>
|
2024-04-28 23:48:03 +01:00
|
|
|
<input class="hidden" id="errorInput" type="text" placeholder=""><br>
|
2024-03-12 18:34:05 +00:00
|
|
|
<button class="normalButton" id="closeErrorButton">Ok</button>
|
|
|
|
<button class="normalButton hidden" id="cancelErrorButton">Cancel</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2024-05-20 20:24:43 +01:00
|
|
|
<div class="noteBox" id="noteBoxDiv">
|
2024-06-22 22:07:06 +01:00
|
|
|
<textarea id="noteBox" class="noteBoxText"></textarea>
|
|
|
|
<iframe id="markdown" style="display: none;" sandbox="allow-scripts"></iframe>
|
2024-04-24 20:25:23 +01:00
|
|
|
</div>
|
2024-03-12 18:34:05 +00:00
|
|
|
|
2024-04-28 23:48:03 +01:00
|
|
|
<script type="text/javascript" src="/static/js/main.js"></script>
|
2024-03-12 18:34:05 +00:00
|
|
|
<script>
|
|
|
|
for (let i = 0; i < 40; i++) {
|
|
|
|
notesDiv.appendChild(loadingStuff.cloneNode())
|
|
|
|
}
|
|
|
|
loadingStuff.remove()
|
|
|
|
</script>
|
2024-06-22 22:07:06 +01:00
|
|
|
</body>
|
2024-03-12 18:34:05 +00:00
|
|
|
|
2024-06-22 22:07:06 +01:00
|
|
|
</html>
|