106 lines
5.1 KiB
HTML
106 lines
5.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<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 type="text/javascript" src="/static/js/hash-wasm.js"></script>
|
|
<link rel="icon" href="/static/svg/favicon.svg">
|
|
</head>
|
|
|
|
<noscript>
|
|
<meta http-equiv="refresh" content="0; url=/login"/>
|
|
</noscript>
|
|
|
|
<body>
|
|
<div class="topBar" id="topBar">
|
|
<div class="modernToolbar">
|
|
<button class="usernameBox hidden" onclick="handleGesture()" id="backButton"><div class="vcenter"><img alt="Back arrow" src="/static/svg/arrow-back.svg"></div></button>
|
|
<button class="count" id="wordCountBox">0 words</button>
|
|
<button id="usernameBox" class="usernameBox"><div class="vcenter"><img alt="Account settings" src="/static/svg/acct-settings.svg"></div></button>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="notesBar" class="notesBar">
|
|
<button id="newNote" class="newNote" style="margin-left: 5px;">
|
|
<div class="vcenter"><img id="newNoteImage" draggable="false" alt="" src="/static/svg/add.svg"></div>
|
|
</button>
|
|
<button id="removeBox" class="newNote remove">
|
|
<div class="vcenter"><img id="deleteNoteImage" draggable="false" alt="" src="/static/svg/delete.svg"></div>
|
|
</button>
|
|
<div id="notesDiv" class="notesDiv">
|
|
<button class="loadingStuff" id="loadingStuff">Meow :3</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">Cannot connect to the server</p>
|
|
<div class="section"></div>
|
|
<p>Device settings</p>
|
|
<div class="fontManipulator">
|
|
<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>
|
|
</div>
|
|
<div class="section"></div>
|
|
<p>Storage</p>
|
|
<progress id="storageProgressThing" value="0" max="100"></progress><br>
|
|
<p id="storageThing">Cannot connect to the server</p>
|
|
<div class="section"></div>
|
|
<p>Account management</p>
|
|
<button id="deleteMyAccountButton"><img src="/static/svg/delete_forever.svg" alt="">Delete account</button>
|
|
<button id="changePasswordButton"><img src="/static/svg/password.svg" alt="">Change password</button>
|
|
<button id="exportNotesButton"><img src="/static/svg/download.svg" alt="">Export notes</button>
|
|
<button id="importNotesButton"><img src="/static/svg/upload.svg" alt="">Import notes</button>
|
|
<button id="sessionManagerButton"><img src="/static/svg/list.svg" alt="">View sessions</button>
|
|
<button class="lastButton" id="logOutButton"><img src="/static/svg/logout.svg" alt="">Log out</button>
|
|
</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="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>
|
|
<button onclick="uploadThing.click()" id="importFile">Browse</button>
|
|
<button id="importFileConfirm">Upload</button>
|
|
</div>
|
|
<div id="errorDiv" class="optionsDiv hidden">
|
|
<p id="errorMessageThing"></p>
|
|
<input class="hidden" id="errorInput" type="text" placeholder=""><br>
|
|
<button style="margin-bottom: 5px;" class="normalButton hidden" id="browseButton" onclick="uploadThing.click()">Browse</button>
|
|
<button class="normalButton" id="closeErrorButton">Ok</button>
|
|
<button class="normalButton hidden" id="cancelErrorButton">Cancel</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="noteBox" id="noteBoxDiv">
|
|
<div id="noteBox" class="noteBoxText"></div>
|
|
</div>
|
|
<input type="file" id="uploadThing" class="hidden"> <!-- This is only ever .click()'d so it doesn't need to be styled -->
|
|
|
|
<script>
|
|
for (let i = 0; i < 40; i++) {
|
|
notesDiv.appendChild(loadingStuff.cloneNode())
|
|
}
|
|
loadingStuff.remove()
|
|
</script>
|
|
<script src="/static/js/pell.js"></script>
|
|
<script type="text/javascript" src="/static/js/main.js"></script>
|
|
</body>
|
|
|
|
</html>
|