-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpopup.html
359 lines (352 loc) · 21.2 KB
/
popup.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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
<!---
Created by Saverio Morelli - saveriomorelli.com
--->
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="./css/style.css"/>
</head>
<body>
<div id="popup-content">
<div id="top-section">
<div id="search-box">
<input type="search" placeholder="Search by keyword" id="search-bar-input"/>
<label id="text-click-on-emoji-to-remove">Click on the emoji(s) you want to remove</label>
</div>
<input type="button" value="Finish" class="button dark-finish-edit-button" id="finish-edit-button">
<input type="button" value="" class="button dark-delete-button" id="delete-button"
title="Delete one or more emojis from the 'Most used emojis' section">
<input type="button" value="" class="button dark-settings-button" id="settings-button"
title="Open Settings pane">
</div>
<div id="titles">
<!-- Titles: generated by JS script -->
</div>
<div id="emojis">
<!-- Section emojis: generated by JS script -->
</div>
<div id="emoji-skin-choose">
<!-- Section "mini-popup for skin-ton": generated by JS script -->
</div>
<input type="text" id="text-to-copy" style="display: none;"/>
<div id="settings-section">
<input type="button" id="hide-settings-button" value="" class="button font-size-25 red-button">
<h1 id="settings-title">Settings</h1>
<div id="settings-section-content">
<div class="subsection-settings">
<span class="title-subsection-settings" id="label-theme">Theme</span>
<select class="select hidden" id="theme-selected">
<option selected>Light</option>
<option>Dark</option>
</select>
<div id="theme-container">
<button class="theme-button button-yes-no button-yes" id="theme-light">Light</button>
<button class="theme-button button-yes-no button-no" id="theme-dark">Dark</button>
</div>
</div>
<div class="subsection-settings">
<span class="title-subsection-settings" id="label-language">Language</span>
<select class="select select-extra-big margin-left-15" id="language-selected"></select>
</div>
<div class="subsection-settings">
<span class="title-subsection-settings" id="label-columns">Columns</span>
<select class="select select-small" id="columns-selected"></select>
</div>
<div class="subsection-settings">
<span class="title-subsection-settings" id="label-rows">Rows</span>
<select class="select select-small" id="rows-selected"></select>
</div>
<div class="subsection-settings">
<span class="title-subsection-settings" id="label-emoji-size">Emojis size</span>
<select class="select hidden" id="emojis-size-selected">
<option value="very small" id="select-emoji-size-1">Very small</option>
<option value="small" id="select-emoji-size-2">Small</option>
<option value="normal" id="select-emoji-size-3">Normal</option>
<option value="big" id="select-emoji-size-4">Big</option>
<option value="very big" id="select-emoji-size-5">Very big</option>
</select>
<div id="emoji-size-container">
<button class="emoji-size-button emoji size-emoji-button-30" id="emoji-size-very-small">😛</button>
<button class="emoji-size-button emoji size-emoji-button-35" id="emoji-size-small">😛</button>
<button class="emoji-size-button emoji size-emoji-button-40" id="emoji-size-normal">😛</button>
<button class="emoji-size-button emoji size-emoji-button-50" id="emoji-size-big">😛</button>
<button class="emoji-size-button emoji size-emoji-button-60" id="emoji-size-very-big">😛</button>
</div>
</div>
<div class="subsection-settings">
<span class="title-subsection-settings"
id="label-close-popup">Close the pop-up after emoji is copied</span>
<select class="select select-small hidden" id="close-popup-after-copied-selected">
<option>Yes</option>
<option>No</option>
</select>
<div id="auto-close-container">
<button class="auto-close-button button-yes-no button-yes" id="auto-close-yes">Yes</button>
<button class="auto-close-button button-yes-no button-no" id="auto-close-no">No</button>
</div>
</div>
<div class="subsection-settings">
<span class="title-subsection-settings" id="label-multi-copy">Multi-copy</span>
<select class="select select-small hidden" id="multi-copy-selected">
<option>Yes</option>
<option>No</option>
</select>
<div id="multi-copy-container">
<button class="multi-copy-button button-yes-no button-yes" id="multi-copy-yes">Yes</button>
<button class="multi-copy-button button-yes-no button-no" id="multi-copy-no">No</button>
</div>
</div>
<div class="subsection-settings">
<span class="title-subsection-settings" id="label-space-emoji">Insert a space between emojis</span>
<select class="select select-small hidden" id="space-emoji-selected">
<option>Yes</option>
<option>No</option>
</select>
<div id="space-emoji-container">
<button class="space-emoji-button button-yes-no button-yes" id="space-emoji-yes">Yes</button>
<button class="space-emoji-button button-yes-no button-no" id="space-emoji-no">No</button>
</div>
</div>
<div class="subsection-settings">
<span class="title-subsection-settings" id="label-insert-emoji">Also insert directly the emoji</span>
<select class="select select-small hidden" id="insert-emoji-selected">
<option>Yes</option>
<option>No</option>
</select>
<div id="insert-emoji-container">
<button class="insert-emoji-button button-yes-no button-yes" id="insert-emoji-yes">Yes</button>
<button class="insert-emoji-button button-yes-no button-no" id="insert-emoji-no">No</button>
</div>
</div>
<div class="subsection-settings" id="skin-tone-section-container">
<span class="title-subsection-settings" id="label-skin-tone">Skin tone</span>
<select class="select select-big hidden" id="skin-tone-selected">
<option value="nothing">Standard</option>
<option value="light">Light</option>
<option value="medium-light">Medium-Light</option>
<option value="medium">Medium</option>
<option value="medium-dark">Medium-Dark</option>
<option value="dark">Dark</option>
</select>
<div id="skin-tone-container">
<button class="skin-tone-button" id="skin-standard"></button>
<button class="skin-tone-button" id="skin-light"></button>
<button class="skin-tone-button" id="skin-mlight"></button>
<button class="skin-tone-button" id="skin-medium"></button>
<button class="skin-tone-button" id="skin-mdark"></button>
<button class="skin-tone-button" id="skin-dark"></button>
</div>
</div>
<div class="subsection-settings">
<span class="title-subsection-settings" id="label-font-family">Font family</span>
<select class="select select-extra-big hidden" id="font-family-selected">
<option value="twemoji" id="select-font-family-1">Twitter (Recommended)</option>
<option value="notocoloremoji" id="select-font-family-7">Google</option>
<option value="openmojicolor" id="select-font-family-2">OpenMoji (Color)</option>
<option value="openmojiblack" id="select-font-family-3">OpenMoji (Black)</option>
<option value="default" id="select-font-family-4">OS emoji font</option>
<!--<option value="twemoji-fix-macos" id="select-font-family-5">Twitter (Temporary fix)</option>-->
<!--<option value="joypixels" id="select-font-family-6">JoyPixels</option>-->
</select>
<div id="font-family-container">
<button class="font-family-button emoji size-emoji-button-40 font-twemoji" id="emoji-style-twemoji">😛</button>
<button class="font-family-button emoji size-emoji-button-40 font-notocoloremoji" id="emoji-style-notocoloremoji">😛</button>
<button class="font-family-button emoji size-emoji-button-40 font-openmojicolor" id="emoji-style-openmojicolor">😛</button>
<button class="font-family-button emoji size-emoji-button-40 font-openmojiblack" id="emoji-style-openmojiblack">😛</button>
<button class="font-family-button emoji size-emoji-button-40" id="emoji-style-default">😛</button>
<!--<button class="font-family-button emoji size-emoji-button-35 font-twemoji-fix-macos">😛</button>-->
<!--<button class="font-family-button emoji size-emoji-button-40 font-joypixels" id="emoji-style-joypixels">😛</button>-->
</div>
<span class="description-subsection-settings" id="alert-font-pop-up">This font family could be shown not well. Use "Twitter" instead!</span>
</div>
<div class="subsection-settings" id="extension-icon-section-container">
<span class="title-subsection-settings" id="label-extension-icon">Extension icon</span>
<div class="break-new-line"></div>
<select class="select select-extra-big hidden" id="extension-icon-selected">
<option value="extension-icon-1">Extension icon 1</option>
<option value="extension-icon-2">Extension icon 2</option>
<option value="extension-icon-3">Extension icon 3</option>
<option value="extension-icon-4">Extension icon 4</option>
<option value="extension-icon-5">Extension icon 5</option>
<option value="extension-icon-6">Extension icon 6</option>
<option value="extension-icon-7">Extension icon 7</option>
<option value="extension-icon-8">Extension icon 8</option>
<option value="extension-icon-9">Extension icon 9</option>
<option value="extension-icon-10">Extension icon 10</option>
<option value="extension-icon-11">Extension icon 11</option>
<option value="extension-icon-12">Extension icon 12</option>
<option value="extension-icon-13">Extension icon 13</option>
</select>
<div id="extension-icon-container">
<button class="extension-icon-button" id="extension-icon-1"></button>
<button class="extension-icon-button" id="extension-icon-2"></button>
<button class="extension-icon-button" id="extension-icon-3"></button>
<button class="extension-icon-button" id="extension-icon-4"></button>
<button class="extension-icon-button" id="extension-icon-5"></button>
<button class="extension-icon-button" id="extension-icon-6"></button>
<button class="extension-icon-button" id="extension-icon-7"></button>
<button class="extension-icon-button" id="extension-icon-8"></button>
<button class="extension-icon-button" id="extension-icon-9"></button>
<button class="extension-icon-button" id="extension-icon-10"></button>
<button class="extension-icon-button" id="extension-icon-11"></button>
<button class="extension-icon-button forced-light-background" id="extension-icon-12"></button>
<button class="extension-icon-button forced-dark-background" id="extension-icon-13"></button>
</div>
</div>
<div class="subsection-settings" id="key-shortcut-section-container">
<span class="title-subsection-settings"
id="label-key-shortcut">Keyboard shortcut to open the popup</span>
<div class="break-new-line"></div>
<select class="select select-extra-big" id="key-shortcut-ctrl-alt-shift-selected">
<option value="Ctrl" id="select-ctrl-shortcut">Ctrl</option>
<option value="Alt" id="select-alt-shortcut">Alt</option>
<option value="Ctrl+Alt" id="select-ctrl-alt-shortcut">Ctrl + Alt</option>
<option value="Ctrl+Shift" id="select-ctrl-shift-shortcut">Ctrl + Shift</option>
<option value="Alt+Shift" id="select-alt-shift-shortcut">Alt + Shift</option>
</select>
+
<select class="select select-small" id="key-shortcut-selected">
<option value="A" id="select-a-shortcut">A</option>
<option value="B" id="select-b-shortcut">B</option>
<option value="C" id="select-c-shortcut">C</option>
<option value="D" id="select-d-shortcut">D</option>
<option value="E" id="select-e-shortcut">E</option>
<option value="F" id="select-f-shortcut">F</option>
<option value="G" id="select-g-shortcut">G</option>
<option value="H" id="select-h-shortcut">H</option>
<option value="I" id="select-i-shortcut">I</option>
<option value="J" id="select-j-shortcut">J</option>
<option value="K" id="select-k-shortcut">K</option>
<option value="L" id="select-l-shortcut">L</option>
<option value="M" id="select-m-shortcut">M</option>
<option value="N" id="select-n-shortcut">N</option>
<option value="O" id="select-o-shortcut">O</option>
<option value="P" id="select-p-shortcut">P</option>
<option value="Q" id="select-q-shortcut">Q</option>
<option value="R" id="select-r-shortcut">R</option>
<option value="S" id="select-s-shortcut">S</option>
<option value="T" id="select-t-shortcut">T</option>
<option value="U" id="select-u-shortcut">U</option>
<option value="V" id="select-v-shortcut">V</option>
<option value="W" id="select-w-shortcut">W</option>
<option value="X" id="select-x-shortcut">X</option>
<option value="Y" id="select-y-shortcut">Y</option>
<option value="Z" id="select-z-shortcut">Z</option>
<option value="0" id="select-0-shortcut">0</option>
<option value="1" id="select-1-shortcut">1</option>
<option value="2" id="select-2-shortcut">2</option>
<option value="3" id="select-3-shortcut">3</option>
<option value="4" id="select-4-shortcut">4</option>
<option value="5" id="select-5-shortcut">5</option>
<option value="6" id="select-6-shortcut">6</option>
<option value="7" id="select-7-shortcut">7</option>
<option value="8" id="select-8-shortcut">8</option>
<option value="9" id="select-9-shortcut">9</option>
<option value="Comma" id="select-comma-shortcut">,</option>
<option value="Period" id="select-period-shortcut">.</option>
</select>
</div>
<div class="margin-top-20 text-center">
<input type="button" value="I need help" class="button button-settings green-button"
id="need-help-settings">
<input type="button" value="☕ PayPal" class="button button-settings"
id="donate-paypal-settings">
<input type="button" value="☕ LiberaPay" class="button button-settings"
id="donate-liberapay-settings">
<input type="button" value="🌐 Translate" class="button button-settings"
id="translate-settings">
</div>
<div id="subsection-settings-bottom" class="margin-top-5 text-center border-top">
<input type="button" value="Save" class="button button-settings hidden" id="save-data-settings">
<input type="button" value="Import settings" class="button button-settings" id="import-data-settings">
<input type="button" value="Export settings" class="button button-settings" id="export-data-settings">
<input type="button" value="Reset settings" class="button button-settings red-button"
id="reset-data-settings">
<input type="button" value="Clear all data" class="button button-settings red-button"
id="clear-data-settings">
</div>
<div class="">
<div id="made-in-trentino-settings" class="font-color-lightblue">
Made with <span class="font-twemoji">💙</span> in Trentino, Italy
</div>
<div id="version-number" class="font-color-lightblue text-in-settings"></div>
</div>
</div>
</div>
</div>
<script src="js/definitions.js"></script>
<!--include all strings files-->
<!--English - default-->
<script src="./js/emojis.js"></script>
<script src="./js/strings.js"></script>
<!--it-IT Italian-->
<script src="./js/languages/it-IT/emojis.js"></script>
<script src="./js/languages/it-IT/strings.js"></script>
<!--de-DE German-->
<script src="./js/languages/de-DE/emojis.js"></script>
<script src="./js/languages/de-DE/strings.js"></script>
<!--fr-FR French-->
<script src="./js/languages/fr-FR/emojis.js"></script>
<script src="./js/languages/fr-FR/strings.js"></script>
<!--ar-SA Arabian-->
<script src="./js/languages/ar-SA/emojis.js"></script>
<script src="./js/languages/ar-SA/strings.js"></script>
<!--cs-CZ Czech-->
<script src="./js/languages/cs-CZ/emojis.js"></script>
<script src="./js/languages/cs-CZ/strings.js"></script>
<!--da-DK Danish-->
<script src="./js/languages/da-DK/emojis.js"></script>
<script src="./js/languages/da-DK/strings.js"></script>
<!--el-GR Greek-->
<script src="./js/languages/el-GR/emojis.js"></script>
<script src="./js/languages/el-GR/strings.js"></script>
<!--es-ES Spanish-->
<script src="./js/languages/es-ES/emojis.js"></script>
<script src="./js/languages/es-ES/strings.js"></script>
<!--fa-IR Persian-->
<script src="./js/languages/fa-IR/emojis.js"></script>
<script src="./js/languages/fa-IR/strings.js"></script>
<!--fi-FI Finnish-->
<script src="./js/languages/fi-FI/emojis.js"></script>
<script src="./js/languages/fi-FI/strings.js"></script>
<!--ja-JP Japanese-->
<script src="./js/languages/ja-JP/emojis.js"></script>
<script src="./js/languages/ja-JP/strings.js"></script>
<!--ko-KO Korean-->
<script src="./js/languages/ko-KR/emojis.js"></script>
<script src="./js/languages/ko-KR/strings.js"></script>
<!--nl-NL Dutch-->
<script src="./js/languages/nl-NL/emojis.js"></script>
<script src="./js/languages/nl-NL/strings.js"></script>
<!--no-NO Norwegian-->
<script src="./js/languages/no-NO/emojis.js"></script>
<script src="./js/languages/no-NO/strings.js"></script>
<!--pl-PL Polish-->
<script src="./js/languages/pl-PL/emojis.js"></script>
<script src="./js/languages/pl-PL/strings.js"></script>
<!--pt-PT Portuguese-->
<script src="./js/languages/pt-PT/emojis.js"></script>
<script src="./js/languages/pt-PT/strings.js"></script>
<!--ro-RO Romanian-->
<script src="./js/languages/ro-RO/emojis.js"></script>
<script src="./js/languages/ro-RO/strings.js"></script>
<!--ru-RU Russian-->
<script src="./js/languages/ru-RU/emojis.js"></script>
<script src="./js/languages/ru-RU/strings.js"></script>
<!--sv-SE Swedish-->
<script src="./js/languages/sv-SE/emojis.js"></script>
<script src="./js/languages/sv-SE/strings.js"></script>
<!--uk-UA Ukrainian-->
<script src="./js/languages/uk-UA/emojis.js"></script>
<script src="./js/languages/uk-UA/strings.js"></script>
<!--zh-CN Chinese (Simplified)-->
<script src="./js/languages/zh-CN/emojis.js"></script>
<script src="./js/languages/zh-CN/strings.js"></script>
<!--zh-TW Chinese (Traditional)-->
<script src="./js/languages/zh-TW/emojis.js"></script>
<script src="./js/languages/zh-TW/strings.js"></script>
<!--END|include all strings file-->
<script src="./js/release_notes.js"></script>
<script src="./js/script.js"></script>
</body>
</html>