-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
223 lines (223 loc) · 12.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
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="black">
<meta name="author" content="BlazeInferno64">
<meta name="description" content="NotPlus is an free online browser based text editor">
<title>NotePlus | Free Text Editor Online</title>
<link rel="stylesheet" href="./public/css/styles.css" />
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAACXBIWXMAAAsTAAALEwEAmpwYAAADKUlEQVR4nO2dwW7TQBCG9wJvYI40PcYcuVIkj3gEQPAA8CwQBDThxA3aXZB4A4pE4QUwqCAiApdKCVJ7IlmfimS0iQIRKdSurPxr7/9J/yXSqJ5/dma3qdVVihBCCCGEVEjaH1xP+4OR07vPX66GFg8n7Q++p/2v+UyDUWjxcP48/EyhxcNBG5CGWoDk2eSCGPvg7wTEZKWUehafaHtftsex8pWLj/Mzom0v0fanjwZKBfEut0TbTZer8olrL/Kzic525g+/8XSylMClJ+PCyW/4H//SqyIk2j5afPj1zmgpAffZ5a1JoeTXaxDvOkH5MvPnY8ep3TvIz98ZLiXgPot7hyca0K5LvLZHV56P2z6s/s3FBNbuDv+ZQKszPNGAtRrFu40Z7b9KTPbpuAR2P3z7/fCv35c3YLce8Xto/5VoO1l8qLg7a+Gb2/vTJJxubO0XHgFxveLHaP/VcZtYqzOaPvCiymyCrRrFe1eAeRJx93Dazk7t7kHpY2Bck3gvCxCSFBq0AcIC4E0QdgDeCAEJPYE4gtCgV6CwA/AmCEcQ3ggBCT2BOILQoFegsAPKmXDu9ts8uvXGW0nTRxALUDEsABgWAMypNkHtsUzD94CmSaFBGyAsAN4EYQcUNwF9zo/+I3dEbvwIQpscsQB4oyN2AN7sKNQR1KTfAaSWBWiYFBq0AcIC4E0QdkBxE067QYoHZjdiBLEAFcMCgGEBwJSemys8owv3ALxBwk0Yb5LwFNRcKTRoA4QFwJsg7AC8EQISegJxBKFBr0BhB+BNEI6g4iag/+wYVfztKnoC1fatCGEBWAB2gAlwBMHffNDVfruK9p/HUDToY6DwGIo3QYBCN4A3x1Cp4OcE8WoiC1AxLAAYFgBM6Y1rVed6zbej4ScU4Smo+VJo0AYIC4A3QdgBeCMEJB9G0BhtgoCUmOyHd/++PjDtof1X7sYkD4zIQbrn3RUmwUh7coWJw11fBTfErFaJsQ+VL7grnRKTvQrGfJ3teHWN1fwuMTG22+hxpO2RW/nemb+Iu+5vujHr7GNirK39ajfTHPa8v8qQEEIIIYQQQghRdeAXSgE1XtbGmzEAAAAASUVORK5CYII=" type="image/x-icon">
<script defer src="https://kit.fontawesome.com/f3220d5256.js" crossorigin="anonymous"></script>
</head>
<body>
<p id="no-script">
Seems like JavaScript isn't enabled in your browser!
<br>
It's required to run this web app!
</p>
<input type="file" name="File" id="file-input" class="file" accept="*" hidden/>
<div class="app none">
<div class="app-head">
<img class="img" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAABV0lEQVR4nO1ZwUrDQBDdn8ipntT6C/ZWdvRXmp/RT2ihaAYJpf/QW8WDPVaweu3FQCM72FtkKy1CWxR3mklkHsxpSGbezLzNsDFGoSgPk+nzw+N0di/lD8bkaVZ4k/L/Ge1bOrLoBusAgLTT+PxueInLJl/yCWWt7mIToNXLt4Jz+21CGfSpEUzAV94HOL6abwKcXM+3EjiIP3FpMAFAel8HSMcvRTp+3ZsAt98mtOAg8NXiXr4K4l9+3t0xAgfyGy4CUmaUAGoHCh2hEOyrXhSPiqjDZ1C2iGtPAPQYJdnvAOf4RLGEBupOAFQDVF0N1GKZi+pOAFQDpB3QEYISdGAkTqHQDRSUwDfoMYr/QAPw0zNxxdfpShIAXSVIV4lfwSLlUuNjea7X3VCMALpBMIGLu+WZRXoTqH7Wvvk4DSaw6kKfGv53TxnjZJFyX3m25BUKhak0PgFPsVTws4faFAAAAABJRU5ErkJggg==">
<p class="file-av" title="The current document opened in NotePlus">
Untitled - NotePlus
</p>
</div>
<div class="app-options">
<ul>
<li id="file">
<p class="fl" title="File options tab">
File
</p>
<div class="action-list up hide">
<ul>
<li id="new-doc" title="Creates a new Untitled NotePlus Document">
<span>
<p>
<i class="fa-regular fa-pen-to-square"></i> New
</p>
<p>
Ctrl + Alt + J
</p>
</span>
</li>
<li id="open-file" title="Opens a file from your system">
<span>
<p>
<i class="fa-regular fa-file-lines"></i> Open
</p>
<p>
Ctrl + Alt + O
</p>
</span>
</li>
<li id="sv" title="Directly saves a copy of the current active document to your device">
<span>
<p>
<i class="fa-solid fa-floppy-disk"></i> Save
</p>
<p>
Ctrl + M
</p>
</span>
</li>
<li id="sv-as" title="Saves the document to the device using the Web File Sytem Api, Browser compatibility might be limited">
<span>
<p>
<i class="fa-solid fa-floppy-disk"></i> Save as
</p>
<p>
Ctrl + X
</p>
</span>
</li>
<li id="ex" title="Exits the file tab">
<span>
<p>
<i class="fa-solid fa-arrow-right-from-bracket"></i> Exit
</p>
</span>
</li>
</ul>
</div>
</li>
<li id="edit" title="Edit options tab">
<p class="ed">
Edit
</p>
<div class="edit-list up hide">
<ul>
<li id="copy-all" title="Copies all the text present inside the active document to the clipboard">
<span>
<p>
<i class="fa-regular fa-copy"></i> Copy
</p>
</span>
</li>
<li id="pst-all" title="Pastes text from the clipboard, Requires Clipboard Access Permission">
<span>
<p>
<i class="fa-regular fa-clipboard"></i> Paste
</p>
</span>
</li>
<li id="srch" title="Search and Replace words across the document">
<span>
<p>
<i class="fa fa-search"></i> Search
</p>
</span>
</li>
<li id="sel-all" title="Selects all the text present inside the active document">
<span>
<p>
<i class="fa-solid fa-arrow-pointer"></i> Select All
</p>
</span>
</li>
</ul>
</div>
</li>
<li id="help" class="">
<p class="he" title="Help options tab">
Help
</p>
<div class="help-list up hide">
<ul>
<li id="ab" title="Know more about NotePlus">
<span>
<p>
<img class="img" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAABV0lEQVR4nO1ZwUrDQBDdn8ipntT6C/ZWdvRXmp/RT2ihaAYJpf/QW8WDPVaweu3FQCM72FtkKy1CWxR3mklkHsxpSGbezLzNsDFGoSgPk+nzw+N0di/lD8bkaVZ4k/L/Ge1bOrLoBusAgLTT+PxueInLJl/yCWWt7mIToNXLt4Jz+21CGfSpEUzAV94HOL6abwKcXM+3EjiIP3FpMAFAel8HSMcvRTp+3ZsAt98mtOAg8NXiXr4K4l9+3t0xAgfyGy4CUmaUAGoHCh2hEOyrXhSPiqjDZ1C2iGtPAPQYJdnvAOf4RLGEBupOAFQDVF0N1GKZi+pOAFQDpB3QEYISdGAkTqHQDRSUwDfoMYr/QAPw0zNxxdfpShIAXSVIV4lfwSLlUuNjea7X3VCMALpBMIGLu+WZRXoTqH7Wvvk4DSaw6kKfGv53TxnjZJFyX3m25BUKhak0PgFPsVTws4faFAAAAABJRU5ErkJggg==">
About
</p>
</span>
</li>
<li id="rp" title="Report Issues and Bugs related to NotePlus">
<span>
<p>
<i class="fa-solid fa-bug"></i> Report Issues/Bugs
</p>
</span>
</li>
<li id="vr" title="Get some info regarding the current version of NotePlus">
<span>
<p>
<i class="fa-solid fa-code-branch"></i> Version
</p>
<p id="ver">
</p>
</span>
</li>
</ul>
</div>
</li>
</ul>
<p id="theme" class="set" title="Toggle between Light & Dark theme">
<i id="ico" class="fa-solid fa-circle-half-stroke"></i>
<span class="t">
Light Mode
</span>
</p>
</div>
<div class="main">
<div class="text" id="text" contenteditable="true" title="Write some nice text here :)"></div>
<div class="footer">
<p class="count" title="Shows how many words the current active document consists">
Total Words: 0
</p>
<div class="info" title="Displays your current browser">
<span class="brow">
<i id="browser-icon" class="fa fa-chrome"></i>
<p id="browser">
</p>
</span>
<span class="enc">
<i class="fa-solid fa-terminal"></i>
<p id="encoding" title="Encoding type">
UTF-8
</p>
</span>
</div>
</div>
</div>
</div>
<!--Search Overlay-->
<div class="srch-bg hide">
<div class="srch-card up hide">
<div class="srch-head">
<p>
Search Words
</p>
<span id="close-srch" title="Close Search Menu">
×
</span>
</div>
<div class="srch-main">
<div class="in">
<label for="word-srch">
Word to search:
</label>
<input type="text" autocomplete="name" id="word-srch" title="The word you want to search across the document" class="srch" placeholder="Enter word to search..." />
</div>
<div class="in">
<label for="word-rep">
Word to replace:
</label>
<input id="word-rep" autocomplete="name" title="The word you want to replace with" type="text" class="rep" placeholder="Enter word to replace..." />
</div>
<p class="res" title="The matches of the word across the document">
No results found!
</p>
<button class="replace no" title="Replace the word">
Replace
</button>
</div>
</div>
</div>
<script src="./public/js/script.js"></script>
<script src="./public/js/themes.js"></script>
<script src="./public/js/search.js"></script>
</body>
</html>