-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
131 lines (123 loc) · 4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="frontend/style.css" />
<title>note.rs</title>
</head>
<body>
<div data-tauri-drag-region class="titlebar">
<div class="titlebar-button" id="add-note">
<i class="lni lni-file-plus-circle"></i>
</div>
<div class="titlebar-button" id="toggle-mode">
<i class="lni lni-eye"></i>
</div>
<div data-tauri-drag-region style="line-height: 30px; flex: 100%; text-align: center;">
note.rs
</div>
<div class="titlebar-button" id="titlebar-settings">
<i class="lni lni-gear-1"></i>
</div>
<div class="titlebar-button" id="titlebar-info">
<i class="lni lni-question-mark"></i>
</div>
<div> </div>
<div class="titlebar-button" id="titlebar-minimize">
<i class="lni lni-chevron-down"></i>
</div>
<div class="titlebar-button" id="titlebar-maximize">
<i class="lni lni-expand-square-4"></i>
</div>
<div class="titlebar-button" id="titlebar-close">
<i class="lni lni-xmark"></i>
</div>
</div>
<div id="page-wrapper">
<div id="main" class="wrapper">
<div id="sidebar">
<div class="controls">
<input id="filter" type="text" value="" />
</div>
<div id="taglist"></div>
<hr />
<ul id="notelist"></ul>
</div>
<div id="slider" class="slider"></div>
<div>
<div id="content" class="hidden">
<div class="toolbar">
<label class="lni lni-pencil-1"></label>
<input type="text" id="editor-title"/>
<div class="button" id="editor-screenshot"><i class="lni lni-camera-1"></i></div>
<div class="button" id="editor-open-folder"><i class="lni lni-folder-1"></i></div>
<div class="button" id="editor-save"><i class="lni lni-floppy-disk-1"></i></div>
<div class="spacer"></div>
<div class="button" id="editor-remove"><i class="lni lni-trash-3"></i></div>
</div>
<div class="toolbar">
<label class="lni lni-comment-1-text"></label>
<input type="text" id="editor-tags"/>
</div>
<hr/>
<div id="editor"></div>
</div>
<div id="view"></div>
</div>
</div>
<div id="settings" class="hidden">
<div><h1><i class="lni lni-arrow-left-circle nav-main"></i></h1></div>
<div>
<h1>Settings</h1>
<div id="settings_items"></div>
</div>
</div>
<div id="info" class="hidden">
<div><h1><i class="lni lni-arrow-left-circle nav-main"></i></h1></div>
<div>
<h1>note.rs</h1>
<p>Version: <span id="info-version"></span></p>
<p><a href="https://github.com/falk-werner/note.rs" target="_blank">https://github.com/falk-werner/note.rs</a></p>
<h2>License <i id="info-license-switch" class="lni"></i></h2>
<pre id="info-license"></pre>
<h2>Dependencies <i id="info-deps-switch" class="lni"></i></h2>
<div id="info-deps">
<table>
<thead>
<tr>
<th>Name</th>
<th>Version</th>
<th>Author</th>
<th>License</th>
</tr>
</thead>
<tbody id="info-dependencies">
</tbody>
</table>
<h3>OSS Licenses <i id="info-oss-licenses-switch" class="lni"></i></h3>
<div id="info-oss-licenses">
<h4>MIT</h4>
<pre id="info-license-mit"></pre>
<h4>Apache 2.0</h4>
<pre id="info-license-apache2"></pre>
</div>
</div>
</div>
</div>
</div>
<dialog id="remove-dialog">
<p data-text></p>
<form class="controls">
<input type="button" data-button="yes" tabindex="1" value="Yes"/>
<input type="button" data-button="no" tabindex="0" value="No, keep it"/>
</form>
</dialog>
<dialog id="error-dialog">
<p>Something went wrong.</p>
<form class="controls">
<input type="button" data-button="ok" value="OK"/>
</form>
</dialog>
<script type="module" src="/frontend/main.js"></script>
</body>
</html>