-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Expand file tree
/
Copy pathpopups.html
More file actions
1175 lines (1149 loc) · 35.6 KB
/
popups.html
File metadata and controls
1175 lines (1149 loc) · 35.6 KB
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
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<dialog id="forgotPasswordModal" class="modalWrapper hidden">
<div class="modal">
<div class="title">Forgot password</div>
<input type="text" placeholder="email" />
<div class="g-recaptcha"></div>
<!-- <button>send</button> -->
</div>
</dialog>
<dialog id="miniResultChartModal" class="modalWrapper hidden">
<div class="modal">
<canvas></canvas>
</div>
</dialog>
<dialog id="lastSignedOutResult" class="modalWrapper hidden">
<div class="modal">
<div class="title">Last signed out result</div>
<div class="question">Would you like to save it?</div>
<div class="divider"></div>
<div class="result">
<div class="group wpm">
<div class="sub">wpm</div>
<div class="val">-</div>
</div>
<div class="group acc">
<div class="sub">accuracy</div>
<div class="val">-</div>
</div>
<div class="group raw">
<div class="sub">raw</div>
<div class="val">-</div>
</div>
<div class="group con">
<div class="sub">consistency</div>
<div class="val">-</div>
</div>
<div class="group chardata">
<div class="sub">characters</div>
<div class="val">-</div>
</div>
<div class="group testType">
<div class="sub">test type</div>
<div class="val">-</div>
</div>
</div>
<div class="buttons">
<button class="save">save</button>
<button class="discard">discard</button>
</div>
</div>
</dialog>
<dialog id="simpleModal" class="modalWrapper hidden">
<form class="modal"></form>
</dialog>
<dialog id="cookiesModal" class="modalWrapper hidden" data-nosnippet>
<div class="extensionMessage">
If you see this text, that means an extension is blocking a cookie consent
popup. This will cause the website to incorrectly assume its still visible
and stop you from enjoying Monkeytype. Please disable any extensions that
block cookie popups and refresh the page.
</div>
<div class="modal">
<div class="title">
<i class="fas fa-cookie-bite"></i>
We use cookies by the way
</div>
<div class="main">
<div class="text">
Cookies enhance your experience and help us improve our website.
</div>
<div class="buttons">
<button class="active acceptAll">accept all</button>
<button class="rejectAll">reject non-essential</button>
<button class="openSettings">more options</button>
</div>
</div>
<div class="settings hidden">
<div class="cookie security">
<label class="checkbox">
<div class="title">security</div>
<div class="description">
We use Cloudflare cookies to improve security and performance of our
site.
<br />
<br />
They
<b>do not</b>
store any personal information and are required.
</div>
<input type="checkbox" checked disabled />
</label>
</div>
<div class="cookie analytics">
<label class="checkbox">
<div class="title">analytics</div>
<div class="description">
We use Google Analytics to track the overall traffic and
demographics of our site.
</div>
<input type="checkbox" />
</label>
</div>
<div class="cookie sentry">
<label class="checkbox">
<div class="title">sentry</div>
<div class="description">
We use Sentry to track errors and performance issues on our site, as
well as record anonymized user sessions to help us debug issues and
improve our product.
</div>
<input type="checkbox" />
</label>
</div>
<div class="cookie ads">
<label class="checkbox">
<div class="title">advertising</div>
<div class="description">
Our advertising partner may use cookies to deliver ads that are more
relevant to you.
</div>
<div class="textButton">
Click to change your preferences on ad related cookies
</div>
</label>
</div>
<button class="active acceptSelected">accept selected</button>
</div>
</div>
</dialog>
<dialog id="shareTestSettingsModal" class="modalWrapper hidden">
<!-- <div id="shareTestSettingsPopup"> -->
<div class="modal">
<div class="title">Share test settings</div>
<label class="checkboxWithSub mode">
<input type="checkbox" setting="mode" />
<div>Mode</div>
<div class="sub">Time, Words, Quote, Zen, Custom</div>
</label>
<label class="checkboxWithSub mode2 subgroup hidden">
<input type="checkbox" setting="mode2" />
<div>Mode2</div>
<div class="sub">Test seconds, Test words, Quote Id</div>
</label>
<label class="checkbox customText subgroup hidden">
<input type="checkbox" setting="customText" />
Custom text
<span></span>
</label>
<label class="checkbox punctuation">
<input type="checkbox" setting="punctuation" />
Punctuation
<span></span>
</label>
<label class="checkbox numbers">
<input type="checkbox" setting="numbers" />
Numbers
<span></span>
</label>
<label class="checkbox language">
<input type="checkbox" setting="language" />
Language
<span></span>
</label>
<label class="checkbox difficulty">
<input type="checkbox" setting="difficulty" />
Difficulty
<span></span>
</label>
<label class="checkbox funbox">
<input type="checkbox" setting="funbox" />
Funbox
<span></span>
</label>
<textarea
class="url"
placeholder="url"
value="monkeytype.com"
readonly
></textarea>
<div class="tooLongWarning hidden">
<i class="fas fa-fw fa-exclamation-triangle"></i>
<span>The URL is over 2000 characters long - it might not work</span>
</div>
<!-- </div> -->
</div>
</dialog>
<dialog id="mobileTestConfigModal" class="modalWrapper hidden">
<div class="modal">
<div class="group">
<button class="punctuation">punctuation</button>
<button class="numbers">numbers</button>
</div>
<div class="group modeGroup">
<button data-mode="time">time</button>
<button class="active" data-mode="words">words</button>
<button data-mode="quote">quote</button>
<button data-mode="zen">zen</button>
<button data-mode="custom">custom</button>
</div>
<div class="group timeGroup">
<button data-time="15">15</button>
<button class="button active" data-time="30">30</button>
<button data-time="60">60</button>
<button data-time="120">120</button>
<button data-time="custom">custom</button>
</div>
<div class="group wordsGroup hidden">
<button data-words="10">10</button>
<button data-words="25">25</button>
<button data-words="50">50</button>
<button data-words="100">100</button>
<button data-words="custom">custom</button>
</div>
<div class="group quoteGroup hidden">
<button data-quoteLength="all">all</button>
<button data-quoteLength="0">short</button>
<button data-quoteLength="1">medium</button>
<button data-quoteLength="2">long</button>
<button data-quoteLength="3">thicc</button>
<button id="quote-search-button" data-quoteLength="-2">search</button>
</div>
<div class="group customGroup hidden">
<button class="customChange">change</button>
</div>
<div class="group">
<button class="shareButton">share</button>
</div>
</div>
</dialog>
<div id="videoAdPopupWrapper" class="popupWrapper hidden">
<div id="videoAdPopup">
<div class="preloader">
<i class="fas fa-fw fa-spin fa-circle-notch"></i>
</div>
<div id="eg-video-player" class="video"></div>
</div>
</div>
<dialog id="pbTablesModal" class="modalWrapper hidden">
<div class="modal">
<table>
<thead>
<tr>
<td width="1%">words</td>
<td>
<span class="unit">wpm</span>
<br />
<span class="sub">accuracy</span>
</td>
<td>
raw
<br />
<span class="sub">consistency</span>
</td>
<td>difficulty</td>
<td>language</td>
<td>punctuation</td>
<td>numbers</td>
<td>lazy mode</td>
<td>date</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</dialog>
<dialog id="practiseWordsModal" class="modalWrapper hidden">
<div class="modal" actions="">
<div class="title">Practice words</div>
<!-- <div class="inputs"> -->
<div class="group" data-id="missed">
<div class="title">
<i class="fas fa-times"></i>
missed
</div>
<div class="sub">
Include missed words or biwords (which include the previous word).
</div>
<div class="groupInputs">
<div class="buttonGroup">
<button class="missedOff" value="off">off</button>
<button class="missedWords" value="words">words</button>
<button class="missedBiwords" value="biwords">biwords</button>
</div>
</div>
</div>
<div class="group" data-id="slow">
<div class="title">
<i class="fas fa-tachometer-alt"></i>
slow
</div>
<div class="sub">Include words which you typed slower than others.</div>
<div class="groupInputs">
<div class="buttonGroup">
<button class="slowOff" value="false">off</button>
<button class="slowOn" value="true">on</button>
</div>
</div>
</div>
<div></div>
<!-- </div> -->
<button class="start">start</button>
</div>
</dialog>
<dialog id="quoteRateModal" class="modalWrapper hidden">
<div class="modal">
<div class="warning">
If you find a grammatical error, think the quote has inappropriate
language or feel like it's low quality -
<span>don't give it a low rating!</span>
Please report it instead. You can do so by closing this popup and clicking
the "Flag" icon.
</div>
<div class="quote">
<div class="text">-</div>
<div class="id">
<div class="top">id</div>
<div class="val">-</div>
</div>
<div class="length">
<div class="top">length</div>
<div class="val">-</div>
</div>
<div class="source">
<div class="top">source</div>
<div class="val">-</div>
</div>
</div>
<div class="spacer"></div>
<div class="spacer2"></div>
<div class="ratingStats">
<div class="ratingCount">
<div class="top">ratings</div>
<div class="val">-</div>
</div>
<div class="ratingAverage">
<div class="top">average</div>
<div class="val">-</div>
</div>
<div class="starsWrapper">
<div class="top">your rating</div>
<div class="stars">
<button class="star" data-rating="1">
<i class="fas fa-fw fa-star"></i>
</button>
<button class="star" data-rating="2">
<i class="fas fa-fw fa-star"></i>
</button>
<button class="star" data-rating="3">
<i class="fas fa-fw fa-star"></i>
</button>
<button class="star" data-rating="4">
<i class="fas fa-fw fa-star"></i>
</button>
<button class="star" data-rating="5">
<i class="fas fa-fw fa-star"></i>
</button>
</div>
</div>
</div>
<!-- <div class="button rate1">
<i class="fas fa-star"></i>
<i class="far fa-star"></i>
<i class="far fa-star"></i>
</div>
<div class="button rate2">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="far fa-star"></i>
</div>
<div class="button rate3">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div> -->
<button
class="textButton submitButton"
aria-label="Submit review"
data-balloon-pos="up"
>
<i class="fas fa-chevron-right"></i>
</button>
</div>
</dialog>
<dialog id="importExportSettingsModal" class="modalWrapper hidden">
<form class="modal" data-mode="">
<input type="text" title="import settings" />
<button>import settings</button>
</form>
</dialog>
<dialog id="shareCustomThemeUrlModal" class="modalWrapper hidden">
<div class="modal">
<input type="text" title="custom theme" />
<div class="button">ok</div>
</div>
</dialog>
<dialog id="customTextModal" class="modalWrapper hidden">
<div class="modal" action="">
<div class="buttonsTop">
<div class="button saveCustomText">
<i class="fas fa-save"></i>
save
</div>
<div class="button showSavedTexts">
<i class="fas fa-folder"></i>
saved texts
</div>
</div>
<div class="buttonsTop2">
<input id="fileInput" type="file" class="hidden" accept=".txt" />
<label for="fileInput" class="button importText">
<i class="fas fa-file-import"></i>
open file
</label>
<div class="button wordfilter">
<i class="fas fa-filter"></i>
words filter
</div>
<div class="button customGenerator">
<i class="fas fa-cogs"></i>
custom generator
</div>
</div>
<div class="savedTexts hidden" style="display: none">
<div class="title">saved texts</div>
<div class="buttons"></div>
</div>
<div class="textAreaWrapper" style="position: relative">
<div class="longCustomTextWarning">
<div>
<p>
A long custom text is currently loaded.
<br />
Editing the text will disable progress tracking.
<br />
<br />
</p>
<p class="small">Click anywhere to start editing the text.</p>
</div>
</div>
<div class="challengeWarning">
<div>
<p>
A challenge is currently loaded.
<br />
Editing the settings will clear the challenge.
<br />
<br />
</p>
<p class="small">Click anywhere to edit.</p>
</div>
</div>
<textarea class="textarea"></textarea>
</div>
<div class="inputs">
<div class="group" data-id="mode">
<div class="title">
<i class="fas fa-fw fa-cog"></i>
Mode
</div>
<div class="sub">Change the way words are generated.</div>
<div class="groupInputs">
<div class="buttonGroup">
<button value="simple">simple</button>
<button value="repeat">repeat</button>
<button value="shuffle">shuffle</button>
<button value="random">random</button>
</div>
</div>
</div>
<div class="group" data-id="limit">
<div class="title">
<i class="fas fa-fw fa-step-forward"></i>
Limit
</div>
<div class="sub">
Control how many words to generate or for how long you want to type.
</div>
<div class="groupInputs limitInputs">
<input
class="words"
type="number"
value=""
min="0"
placeholder="words"
/>
<input
class="sections hidden"
type="number"
value=""
min="0"
placeholder="sections"
/>
<div class="or">or</div>
<input
class="time"
type="number"
value=""
min="0"
placeholder="time"
/>
</div>
</div>
<div class="group" data-id="delimiter">
<div class="title">
<i class="fas fa-fw fa-grip-lines-vertical"></i>
Word delimiter
</div>
<div class="sub">
Change how words are separated. Using the pipe delimiter allows you to
randomize groups of words.
</div>
<div class="groupInputs">
<div class="buttonGroup">
<button value="true">pipe</button>
<button value="false">space</button>
</div>
</div>
</div>
<div class="group" data-id="zeroWidth">
<div class="title">
<i class="fas fa-fw fa-text-width"></i>
Remove zero-width characters
</div>
<div class="sub">Fully remove zero-width characters.</div>
<div class="groupInputs">
<div class="buttonGroup">
<button value="false">no</button>
<button value="true">yes</button>
</div>
</div>
</div>
<div class="group" data-id="fancy">
<div class="title">
<i class="fas fa-fw fa-pen-fancy"></i>
Remove fancy typography
</div>
<div class="sub">
Standardises typography symbols (for example “ and ” become ")
</div>
<div class="groupInputs">
<div class="buttonGroup">
<button value="false">no</button>
<button value="true">yes</button>
</div>
</div>
</div>
<div class="group" data-id="control">
<div class="title">
<i class="fas fa-fw fa-code"></i>
Replace control characters
</div>
<div class="sub">
Replace control characters (\n becomes a new line and \t becomes a
tab)
</div>
<div class="groupInputs">
<div class="buttonGroup">
<button value="false">no</button>
<button value="true">yes</button>
</div>
</div>
</div>
<div class="group" data-id="newlines">
<div class="title">
<i class="fas fa-fw fa-level-down-alt fa-rotate-90"></i>
Replace new lines with spaces
</div>
<div class="sub">
Replace all new line characters with spaces. Can automatically add
periods to the end of lines if you wish.
</div>
<div class="groupInputs">
<div class="buttonGroup">
<button value="off">off</button>
<button value="space">space</button>
<button value="periodSpace">period + space</button>
</div>
</div>
</div>
</div>
<div class="button apply">ok</div>
</div>
</dialog>
<dialog id="savedTextsModal" class="modalWrapper hidden">
<div class="modal">
<div class="title">Saved texts</div>
<div class="list"></div>
<div class="title">Saved long texts</div>
<div class="listLong"></div>
<div class="divider"></div>
<div class="message">
Heads up! These texts are only stored locally. If you switch devices or
clear your local browser data they will be lost.
</div>
</div>
</dialog>
<dialog id="saveCustomTextModal" class="modalWrapper hidden">
<form class="modal">
<div class="title">Save custom text</div>
<input class="textName" type="text" placeholder="name" />
<div>
<label class="checkboxWithSub">
<input type="checkbox" class="isLongText" />
<div>Long text (book mode)</div>
<div class="sub">
Disables editing this text but allows you to save progress by pressing
shift + enter or bailing out. You can then load this text again to
continue where you left off.
</div>
</label>
</div>
<button class="save">save</button>
</form>
</dialog>
<dialog id="wordFilterModal" class="modalWrapper hidden">
<div class="modal">
<!-- hidden for now, dunno where to place it -->
<!-- <div class="loadingIndicator">
<i class="fas fa-fw fa-spin fa-circle-notch"></i>
</div> -->
<div class="top">
<div class="group">
<div class="title">language</div>
<select class="languageInput" title="language"></select>
</div>
<div class="tip">
You can manually filter words by length, words or characters (separated
by spaces) on the left side. On the right side you can generate filters
based on a preset and selected layout.
</div>
</div>
<div class="leftSide">
<div class="group lengthgrid">
<div class="title">min length</div>
<div class="title">max length</div>
<input
class="wordLength wordMinInput"
autocomplete="off"
type="number"
title="min"
/>
<input
class="wordLength wordMaxInput"
autocomplete="off"
type="number"
title="max"
/>
</div>
<div class="group">
<div class="title">include</div>
<input
class="wordIncludeInput"
id="wordIncludeInput"
autocomplete="off"
title="include"
/>
<label class="checkbox">
<input id="exactMatchOnly" type="checkbox" />
Exact match only
</label>
</div>
<div class="group">
<div class="title">exclude</div>
<input
class="wordExcludeInput"
id="wordExcludeInput"
autocomplete="off"
title="exclude"
/>
</div>
</div>
<div class="divider"></div>
<div class="rightSide">
<div class="group">
<div class="title">presets</div>
<select class="presetInput"></select>
</div>
<div class="group">
<div class="title">layout</div>
<select class="layoutInput"></select>
</div>
<!-- <div class="tip">Use the dropdowns above to generate presets</div> -->
<button class="generateButton">apply</button>
</div>
<div class="bottom">
<div class="tip">
"Set" replaces the current custom word list with the filter result,
"Add" appends the filter result to the current custom word list.
</div>
<button class="setButton">set</button>
<button class="addButton">add</button>
</div>
</div>
</dialog>
<dialog id="customGeneratorModal" class="modalWrapper hidden">
<div class="modal">
<div class="main">
<div class="group">
<div class="title">presets</div>
<select class="presetInput">
<option value="alphas">a-z</option>
<option value="numbers">0-9</option>
<option value="special">symbols</option>
<option value="bigrams">bigrams</option>
<option value="trigrams">trigrams</option>
</select>
<button class="generateButton">apply</button>
</div>
<div class="separator"></div>
<div class="tip">
Enter characters or strings separated by spaces. Random combinations
will be generated using these inputs.
</div>
<div class="group">
<div class="title">character set</div>
<textarea
class="characterInput"
id="characterInput"
autocomplete="off"
placeholder=""
title="characters"
></textarea>
</div>
<div class="group lengthgrid">
<div class="title">min length</div>
<div class="title">max length</div>
<input
class="wordLength minLengthInput"
autocomplete="off"
type="number"
value="2"
min="1"
title="min"
/>
<input
class="wordLength maxLengthInput"
autocomplete="off"
type="number"
value="5"
min="1"
title="max"
/>
</div>
<div class="group">
<div class="title">word count</div>
<input
class="wordCountInput"
autocomplete="off"
type="number"
value="100"
min="1"
title="word count"
/>
</div>
</div>
<div class="bottom">
<div class="tip">
"Set" replaces the current custom text with generated words, "Add"
appends generated words to the current custom text.
</div>
<button class="setButton">set</button>
<button class="addButton">add</button>
</div>
</div>
</dialog>
<dialog id="googleSignUpModal" class="modalWrapper hidden">
<form class="modal">
<div class="title">Account name</div>
<div class="text">Please enter a username before continuing</div>
<input type="text" placeholder="username" />
<div class="captcha"></div>
<button>continue</button>
</form>
</dialog>
<dialog id="customWordAmountModal" class="modalWrapper hidden">
<form class="modal">
<div class="title">Custom word amount</div>
<input type="number" value="1" min="0" max="10000" />
<div class="tip">
You can start an infinite test by inputting 0. Then, to stop the test, use
the Bail Out feature (
<kbd>esc</kbd>
or
<kbd>ctrl/cmd</kbd>
+
<kbd>shift</kbd>
+
<kbd>p</kbd>
> Bail Out)
</div>
<button>ok</button>
</form>
</dialog>
<dialog id="customTestDurationModal" class="modalWrapper hidden">
<form class="modal">
<div class="title">Test duration</div>
<div class="preview"></div>
<input value="1" title="test duration" min="0" />
<div class="tip">
You can use "h" for hours and "m" for minutes, for example "1h30m".
<br />
<br />
You can start an infinite test by inputting 0. Then, to stop the test, use
the Bail Out feature (
<kbd>esc</kbd>
or
<kbd>ctrl/cmd</kbd>
+
<kbd>shift</kbd>
+
<kbd>p</kbd>
> Bail Out)
</div>
<button>ok</button>
</form>
</dialog>
<dialog id="quoteSearchModal" class="modalWrapper hidden">
<div class="modal">
<div id="quoteSearchTop">
<div class="title">Quote search</div>
<div class="buttons">
<button class="goToQuoteSubmit">
<i class="fas fa-plus"></i>
Submit a quote
</button>
<button class="goToQuoteApprove">
<i class="fas fa-check"></i>
Approve quotes
</button>
</div>
</div>
<div id="quoteSearchControlsWrapper">
<input
id="searchBox"
class="searchBox"
dir="auto"
type="text"
maxlength="200"
autocomplete="off"
placeholder="filter by text, source or id"
/>
<select class="quoteLengthFilter" multiple></select>
<button class="toggleFavorites">
<i class="fas fa-fw fa-heart"></i>
<!-- favorites -->
</button>
</div>
<div dir="auto" id="quoteSearchResults" class="quoteSearchResults"></div>
<div id="quoteSearchPageNavigator">
<button class="prevPage" disabled>
<i class="fas fa-fw fa-chevron-left"></i>
</button>
<div class="pageInfo">No search results</div>
<button class="nextPage" disabled>
<i class="fas fa-fw fa-chevron-right"></i>
</button>
</div>
</div>
</dialog>
<dialog id="quoteSubmitModal" class="modalWrapper hidden">
<div class="modal">
<div class="title">Submit a quote</div>
<ul>
<li>
Do not include content that contains any libelous or otherwise unlawful,
abusive or obscene text.
</li>
<li>Verify quotes added aren't duplicates of any already present</li>
<li>
Please do not add extremely short quotes (less than 60 characters)
</li>
<li>
<b>
Submitting low quality quotes or misusing this form will cause you to
lose access to this feature
</b>
</li>
</ul>
<label>quote</label>
<textarea class="newQuoteText" autocomplete="off" dir="auto"></textarea>
<label>source</label>
<input class="newQuoteSource" type="text" autocomplete="off" />
<label>language</label>
<select name="language" class="newQuoteLanguage"></select>
<div class="g-recaptcha"></div>
<button>submit</button>
</div>
</dialog>
<dialog id="quoteReportModal" class="modalWrapper hidden">
<div class="modal">
<div class="title">Report a quote</div>
<div class="text">
Please report quotes responsibly - misuse may result in you losing access
to this feature.
<br />
<br />
<span class="red">Please add comments in English only.</span>
</div>
<label>quote</label>
<div class="quote" dir="auto"></div>
<label>reason</label>
<select name="report-reason" class="reason" title="reason">
<option value="Grammatical error">Grammatical error</option>
<option value="Duplicate quote">Duplicate quote</option>
<option value="Inappropriate content">Inappropriate content</option>
<option value="Low quality content">Low quality content</option>
<option value="Incorrect source">Incorrect source</option>
</select>
<label>comment</label>
<textarea class="comment" autocomplete="off"></textarea>
<div
class="g-recaptcha"
data-sitekey="6Lc-V8McAAAAAJ7s6LGNe7MBZnRiwbsbiWts87aj"
></div>
<button>report</button>
</div>
</dialog>
<dialog id="userReportModal" class="modalWrapper hidden">
<div class="modal">
<div class="title">Report a user</div>
<div class="text">
Please report users responsibly and add comments in English only. Misuse
may result in you losing access to this feature.
</div>
<label>user</label>
<div class="user"></div>
<label>reason</label>
<select name="report-reason" class="reason">
<option value="Inappropriate name">Inappropriate name</option>
<option value="Inappropriate bio">Inappropriate bio</option>
<option value="Inappropriate social links">
Inappropriate social links
</option>
<option value="Suspected cheating">Suspected cheating</option>
</select>
<label>comment</label>
<textarea class="comment" autocomplete="off"></textarea>
<div
class="g-recaptcha"
data-sitekey="6Lc-V8McAAAAAJ7s6LGNe7MBZnRiwbsbiWts87aj"
></div>
<button>Report</button>
</div>
</dialog>
<dialog id="quoteApproveModal" class="modalWrapper hidden">
<div class="modal">
<div class="top">
<div class="title">Approve quotes</div>
<button class="refreshList">
<i class="fas fa-sync-alt"></i>
Refresh list
</button>
</div>
<div class="quotes"></div>
</div>
</dialog>
<dialog id="streakHourOffsetModal" class="modalWrapper hidden">
<div class="modal">
<div class="title">Set streak hour offset</div>
<div class="text">
Streaks reset at midnight UTC by default. If this is not convenient for
you (for example if it means that streaks reset in the middle of the day),
you can change the hour offset here.
<br />
<br />
This will not take daylight savings time into consideration!
<br />
<br />
<span class="red">You can only do this once!</span>
</div>
<div class="group">
<button class="decreaseOffset">
<i class="fas fa-fw fa-chevron-left"></i>
</button>
<input type="number" min="-11" max="12" value="0" step="0.5" />
<button class="increaseOffset">
<i class="fas fa-fw fa-chevron-right"></i>
</button>
</div>