Burgernotes/templates/app.html

98 lines
4.4 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>
2023-10-16 19:45:00 +01:00
<div class="bottomBar">
<button id="removeBox" class="removeButton"></button>
<button id="wordCountBox">0 words</button>
<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=""
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-28 19:18:14 +01:00
<p id="passwordThing"></p>
<p style="display: inline">enable two-factor authentication: </p>
<input type="checkbox" id="mfaCheckbox" class="mfacheckbox">
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>
2023-08-28 19:18:14 +01:00
<div id="mfaDiv" class="optionsDiv hidden">
<button class="exit" id="exitMfaThing">X</button>
<h3 class="w300">enable 2FA</h3>
<img style="filter: none; width: 100%; height: 60px;" src="/static/svg/phonelink_lock.svg">
<br><br>
Two-factor authentication is coming soon!
<div class="hidden">
<p>Two-factor authentication adds an extra layer of security to your account.</p>
<p>Enter in this token in your authenticator app:</p>
<code></code>
<p>Enter in the 6 digit code from your authenticator app:</p>
<input style="margin-bottom: 0;" inputmode="numeric" id="codeInput" type="text"
2023-08-28 19:18:14 +01:00
placeholder="6-digit code"><br></input>
</div>
</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-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>