2024-02-26 19:20:46 +00:00
|
|
|
<!DOCTYPE html>
|
2024-05-11 10:35:19 +01:00
|
|
|
<html lang="en">
|
2024-02-26 19:20:46 +00:00
|
|
|
|
|
|
|
<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">
|
2024-05-11 10:35:19 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/css/style.css" />
|
|
|
|
<script type="text/javascript" src="/static/js/crypto-js.js"></script>
|
|
|
|
<script type="text/javascript" src="/static/js/marked.js"></script>
|
|
|
|
<link rel="icon" href="/static/svg/favicon.svg">
|
2024-02-26 19:20:46 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div class="topBar">
|
|
|
|
<p tabindex="0" class="logo" id="burgerButton">Burgernotes</p>
|
|
|
|
<p tabindex="0" id="usernameBox" class="usernameBox"></p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="bottomBar">
|
|
|
|
<button id="removeBox" class="removeButton"></button>
|
|
|
|
<button id="wordCountBox">0 words</button>
|
2024-05-11 10:35:19 +01:00
|
|
|
<button onclick="toggleMarkdown()">Toggle Markdown</button>
|
2024-02-26 19:20:46 +00:00
|
|
|
<div class="textManipulator">
|
|
|
|
<button id="textMinusBox">-</button>
|
|
|
|
<button id="textSizeBox">16px</button>
|
|
|
|
<button id="textPlusBox">+</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="notesBar" class="notesBar">
|
|
|
|
<button id="newNote" class="newNote"><img id="newNoteImage" draggable="false" alt=""
|
2024-05-11 10:35:19 +01:00
|
|
|
src="/static/svg/add.svg">New note</button>
|
2024-02-26 19:20:46 +00:00
|
|
|
<div id="notesDiv" class="notesDiv">
|
|
|
|
<button class="loadingStuff" id="loadingStuff"></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="optionsCoverDiv" class="optionsCoverDiv hidden">
|
|
|
|
<div id="optionsDiv" class="optionsDiv hidden">
|
|
|
|
<button class="exit" id="exitThing">X</button>
|
|
|
|
<h3 class="w300">Your account</h3>
|
|
|
|
<p id="usernameThing"></p>
|
|
|
|
<p id="passwordThing"></p>
|
|
|
|
<div class="section"></div>
|
|
|
|
<p>Storage</p>
|
|
|
|
<progress id="storageProgressThing" value="0" max="100"></progress><br>
|
|
|
|
<p id="storageThing"></p>
|
|
|
|
<div class="section"></div>
|
|
|
|
<p>Account managment</p>
|
2024-05-11 10:35:19 +01:00
|
|
|
<button id="deleteMyAccountButton"><img src="/static/svg/delete_forever.svg" alt="">Delete my account</button>
|
|
|
|
<button id="exportNotesButton"><img src="/static/svg/download.svg" alt="">Export notes</button>
|
|
|
|
<button id="sessionManagerButton"><img src="/static/svg/list.svg" alt="">Session manager</button>
|
|
|
|
<button class="lastButton" id="logOutButton"><img src="/static/svg/logout.svg" alt="">Log out</button>
|
2024-02-26 19:20:46 +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>
|
|
|
|
<div id="errorDiv" class="optionsDiv hidden">
|
|
|
|
<p id="errorMessageThing"></p>
|
2024-05-11 10:35:19 +01:00
|
|
|
<input class="hidden" id="errorInput" type="text" placeholder=""><br>
|
2024-02-26 19:20:46 +00:00
|
|
|
<button class="normalButton" id="closeErrorButton">Ok</button>
|
|
|
|
<button class="normalButton hidden" id="cancelErrorButton">Cancel</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2024-05-11 10:35:19 +01:00
|
|
|
<div class="noteBox">
|
|
|
|
<textarea id="noteBox" class="noteBoxText"></textarea>
|
|
|
|
<iframe id="markdown" style="display: none;" sandbox="allow-scripts"></iframe>
|
|
|
|
</div>
|
2024-02-26 19:20:46 +00:00
|
|
|
|
2024-05-11 10:35:19 +01:00
|
|
|
<script type="text/javascript" src="/static/js/main.js"></script>
|
2024-02-26 19:20:46 +00:00
|
|
|
<script>
|
|
|
|
for (let i = 0; i < 40; i++) {
|
|
|
|
notesDiv.appendChild(loadingStuff.cloneNode())
|
|
|
|
}
|
|
|
|
loadingStuff.remove()
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|