-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
197 lines (191 loc) · 6.28 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.ico" />
<link
rel="stylesheet"
crossorigin="anonymous"
href="https://fonts.googleapis.com/icon?family=Material+Icons+Round"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Notes | PWA</title>
<meta
name="description"
content="A Simple and light weight note making PWA"
/>
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link
rel="alternate icon"
href="/favicon.ico"
type="image/png"
sizes="16x16"
/>
<!-- <link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180"> -->
<link rel="mask-icon" href="/favicon.svg" color="#FFA500" />
<meta name="theme-color" content="#FFA500" />
</head>
<body>
<div class="app-container left">
<!-- left panel -->
<div class="left-panel">
<div class="utility-btns-container">
<button
class="help-btn remove-btn-style tooltip tooltip-bottom"
data-tooltip="alt+h"
>
<span class="material-icons-round"> help_outline </span>
</button>
<button
class="mode-btn remove-btn-style tooltip tooltip-bottom"
data-tooltip="alt+t"
>
<span class="material-icons-round"> dark_mode </span>
</button>
</div>
<div class="search-container">
<input
type="search"
name=""
id="search"
placeholder="Search"
spellcheck="false"
/>
</div>
<div class="options-container">
<div class="import-export-container">
<input
type="file"
id="import-file"
style="display: none"
accept=".json"
/>
<button
class="outline-btn import-btn tooltip tooltip-bottom"
data-tooltip="alt+i"
>
import
</button>
<button
class="outline-btn export-btn tooltip tooltip-bottom"
data-tooltip="alt+e"
>
export
</button>
</div>
<div class="files-action-container">
<button
class="add-btn remove-btn-style tooltip tooltip-bottom"
data-tooltip="alt+n"
>
<span class="material-icons-round"> note_add </span>
<span>Add new File</span>
</button>
<button
class="purge-btn remove-btn-style tooltip tooltip-bottom"
data-tooltip="purge empty files"
>
<span class="material-icons-round"> delete_sweep </span>
<span>Purge</span>
</button>
</div>
</div>
<div class="files-container"></div>
<div class="footer">
<span class="font-mode">
<span>monospace</span>
<label class="switch">
<input type="checkbox" id="font-mode" checked />
<span class="slider round"></span>
</label>
</span>
</div>
</div>
<!-- main editing area -->
<div class="notepad-container">
<div id="save-indicator"></div>
<div class="file-head-container">
<button class="back-btn remove-btn-style">
<span class="material-icons-round"> arrow_back </span>
</button>
<input
type="text"
class="text-center"
id="filename"
spellcheck="false"
placeholder="Enter File Name"
autocomplete="off"
/>
<button
class="download-btn remove-btn-style tooltip tooltip-bottom"
data-tooltip="download as .txt"
>
<span class="material-icons-round"> file_download </span>
</button>
<button
class="copy-filename-btn remove-btn-style tooltip tooltip-bottom"
data-tooltip="copy filename"
>
<span class="material-icons-round"> content_copy </span>
</button>
<button
class="current-delete-btn tooltip tooltip-left"
data-tooltip="delete current file"
>
<span class="material-icons-round"> delete_forever </span>
</button>
</div>
<div class="notepad-textarea-wrapper">
<textarea
class="center"
id="notepad"
placeholder="start writing from here..."
spellcheck="false"
></textarea>
<button
class="copy-notepad-content-btn remove-btn-style tooltip tooltip-left"
data-tooltip="copy text"
>
<span class="material-icons-round"> content_copy </span>
</button>
</div>
</div>
</div>
<div class="modal-container help-modal-container">
<div class="modal-overlay help-modal-overlay"></div>
<div class="modal help-modal">
<div class="modal--header help-modal--header">
<h2 class="modal--header__heading help-modal--header__heading">
Keyboard Shortcuts
</h2>
<button
class="modal--close-btn help-modal--close-btn remove-btn-style"
>
<span class="material-icons-round"> close </span>
</button>
</div>
<div class="modal--body help-modal--body"></div>
</div>
</div>
<div class="modal-container confirm-modal">
<div class="modal-overlay confirm-overlay"></div>
<div class="modal confirm-modal">
<div class="modal--header confirm-modal--header">
<h2
class="modal--header__heading confirm-modal--header__heading"
></h2>
<button
class="modal--close-btn confirm-modal--close-btn remove-btn-style"
>
<span class="material-icons-round"> close </span>
</button>
</div>
<div class="modal--body confirm-modal--body">
<p class="confirm-modal--body__text"></p>
</div>
<div class="confirm-modal--actions"></div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>