-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
settings.html
135 lines (126 loc) · 5.04 KB
/
settings.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Settings Page | Tab Notes</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lora&family=Roboto&family=Roboto+Mono&display=swap" rel="stylesheet">
<script type="text/javascript" src="./browser-polyfill.min.js"></script>
<script type="text/javascript" src="./migration.js"></script>
<script type="text/javascript" src="./utils.js"></script>
<script type="text/javascript" src="./settings.js"></script>
<link rel='stylesheet' href='./settings.css'>
<style></style> <!-- for lazy css loading -->
</head>
<body>
<div id="title">
Tab notes settings
</div>
<!--
<hr>
<p><div class="subtitle">Font family:</div>
<div id="font-selector">
<div id="monospace-option" class="option">
<input type="radio" name="font-selector" value="monospace" id="monospace">
<label for="monospace">monospace</label>
</div>
<div id="roboto-option" class="option">
<input type="radio" name="font-selector" value="roboto" id="roboto">
<label for="roboto">Roboto</label>
</div>
<div id="robotomono-option" class="option">
<input type="radio" name="font-selector" value="robotomono" id="robotomono">
<label for="robotomono">Roboto Mono</label>
</div>
<div id="lora-option" class="option">
<input type="radio" name="font-selector" value="lora" id="lora">
<label for="lora">Lora</label>
</div>
</div>
</p>
<hr>
<p><div class="subtitle">Font size:</div>
<div id="font-size-selector">
<div id="tiny-option" class="option">
<input type="radio" name="size-selector" value="tiny" id="tiny">
<label for="tiny">Tiny</label>
</div>
<div id="small-option" class="option">
<input type="radio" name="size-selector" value="small" id="small">
<label for="small">Small</label>
</div>
<div id="default-option" class="option">
<input type="radio" name="size-selector" value="default" id="default">
<label for="default">Default</label>
</div>
<div id="large-option" class="option">
<input type="radio" name="size-selector" value="large" id="large">
<label for="large">Large</label>
</div>
<div id="huge-option" class="option">
<input type="radio" name="size-selector" value="huge" id="huge">
<label for="huge">Huge</label>
</div>
</div>
</p>
-->
<hr>
<p>
<div>
<label class="switch-label" for="clickable-links-toggle">ctrl+click on a link opens it in new tab</label>
<label class="switch">
<input type="checkbox" value="clickable-links-toggle" id="clickable-links-toggle">
<span class="slider round"></span>
</label>
</div>
<div>
<label class="switch-label" for="dark-mode-toggle">Dark mode</label>
<label class="switch">
<input type="checkbox" value="dark-mode-toggle" id="dark-mode-toggle">
<span class="slider round"></span>
</label>
</div>
<div>
<label class="switch-label" for="dark-toggle-on-notes-toggle">Show dark mode toggle on notes page</label>
<label class="switch">
<input type="checkbox" value="dark-toggle-on-notes-toggle" id="dark-toggle-on-notes-toggle">
<span class="slider round"></span>
</label>
</div>
<div>
<label class="switch-label" for="credits-toggle">Show credits</label>
<label class="switch">
<input type="checkbox" value="credits-toggle" id="credits-toggle">
<span class="slider round"></span>
</label>
</div>
</p>
<hr>
<!--
<p>
<div>
<label class="switch-label" for="login-button">GitHub personal access to token to sync your notes</label>
<a href="#" id="pat-help-button">?</a>
<div style="display: inline;">
<input class="button" type="button" value="Update" id="pat-update-button">
<input class="textfield" type="password" placeholder="Personal access token..." id="pat-field">
</div>
</div>
<div>
<label class="switch-label" id="sync-status">Sync status: loading...</label>
</div>
</p>
<hr>
-->
<p>
<div>
<label class="switch-label" for="export-button">Export/import notes</label>
<div style="display: inline;">
<input class="button" type="button" value="Export" id="export-button">
<input class="button" type="button" value="Import" id="import-button">
</div>
</div>
</p>
</body>
</html>