83 lines
2.7 KiB
HTML
83 lines
2.7 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="stylesheet" href="/src/styles.css" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Snotes Deck</title>
|
|
<script type="module" src="/src/main.ts" defer></script>
|
|
<style>
|
|
.logo.vite:hover {
|
|
filter: drop-shadow(0 0 2em #747bff);
|
|
}
|
|
|
|
.logo.typescript:hover {
|
|
filter: drop-shadow(0 0 2em #2d79c7);
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="top-bar">
|
|
<div class="menu" id="contextMenu">
|
|
<button id="deleteButton">Delete</button>
|
|
</div>
|
|
|
|
<div id="button-row">
|
|
<button class="row" id="show-notes-button">Refresh Notes</button>
|
|
<button class="row" type="submit" id="save-button">Save</button>
|
|
<button class="row" id="new-button">New</button>
|
|
<button class="row" id="image-button">OCR</button>
|
|
<button class="row" id="export-button">Export</button>
|
|
<button class="row" id="settings-button">Settings</button>
|
|
<input type="file" id="fileInput" accept="image/*" style="display: none;" />
|
|
</div>
|
|
</div>
|
|
<div class="container">
|
|
<div class="sidebar">
|
|
<div class="searchbar-container">
|
|
<input id="reverse-toggle" type="checkbox" checked="true"> Reverse
|
|
<input type="text" name="note-search" id="note-searchbar" placeholder="Search...">
|
|
</div>
|
|
<div class="note-sidebar-container" id="note-sidebar-container">
|
|
<!-- This is how the generated notes will look like:
|
|
<div class="sidebar-note rightclick-element">
|
|
<span class="sidebar-note-id">1</span>
|
|
<span class="sidebar-note-content">Lorem ipsum dolor sit amet...</span>
|
|
<span class="sidebar-note-tag">Tag</span>
|
|
</div>
|
|
-->
|
|
</div>
|
|
</div>
|
|
<div class="editor">
|
|
<input autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" id="create-tag"
|
|
placeholder="Tag..." />
|
|
<textarea autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" id="create-input"
|
|
placeholder="Type your note here..."></textarea>
|
|
<p id="create-msg"></p>
|
|
|
|
<p style="white-space: pre-line" id="notes-list"></p>
|
|
|
|
</div>
|
|
|
|
<div id="id-modal-bg"></div>
|
|
<div id="id-modal-container">
|
|
<div class="openbyid-bar-container">
|
|
<input type="text" name="id-search" id="id-search" placeholder="Note ID...">
|
|
</div>
|
|
</div>
|
|
|
|
<div id="settings-modal-container">
|
|
<div class="settings-flex">
|
|
<div class="fontsize-setting">
|
|
<h3>Font Size (in px)</h3>
|
|
<input type="number" name="fontsize" id="fontsize-setting-input" placeholder="">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</body>
|
|
|
|
</html> |