snotes-deck/index.html

74 lines
2.3 KiB
HTML
Raw Normal View History

2024-04-07 21:31:08 +02:00
<!doctype html>
<html lang="en">
2024-04-12 19:59:39 +02:00
<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>
2024-04-13 17:32:40 +02:00
<div class="top-bar">
<div class="menu" id="contextMenu">
<button id="deleteButton">Delete</button>
</div>
2024-04-13 17:32:40 +02:00
<div id="button-row">
<button class="row" id="show-notes-button">Refresh Notes</button>
<button type="submit" id="save-button">Save</button>
2024-04-14 11:50:12 +02:00
<button class="row" id="new-button">New</button>
2024-04-19 23:50:33 +02:00
<button class="row" id="image-button">OCR</button>
<input type="file" id="fileInput" accept="image/*" style="display: none;" />
2024-04-13 17:32:40 +02:00
</div>
</div>
2024-04-12 19:59:39 +02:00
<div class="container">
2024-04-13 17:32:40 +02:00
<div class="sidebar">
2024-04-14 17:33:35 +02:00
<div class="searchbar-container">
2024-04-16 13:50:22 +02:00
<input id="reverse-toggle" type="checkbox" checked="true"> Reverse
<input type="text" name="note-search" id="note-searchbar" placeholder="Search...">
2024-04-14 17:33:35 +02:00
</div>
2024-04-13 17:32:40 +02:00
<div class="note-sidebar-container" id="note-sidebar-container">
2024-04-14 11:50:12 +02:00
<!-- This is how the generated notes will look like:
<div class="sidebar-note rightclick-element">
2024-04-13 17:32:40 +02:00
<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>
2024-04-14 11:50:12 +02:00
</div>
2024-04-13 17:32:40 +02:00
-->
</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>
2024-04-17 13:11:54 +02:00
<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>
2024-04-12 19:59:39 +02:00
</body>
</html>