-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
142 lines (136 loc) · 6.46 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css" type="text/css" />
<title>New Tab</title>
<script src="js/parsers.js" defer></script>
<script src="js/settings.js" defer></script>
<script src="js/loop.js" defer></script>
<script src="js/weather.js" defer></script>
<script src="script.js" defer></script>
<script src="js/dialog.js" defer></script>
<script src="js/key.js" defer></script>
<script src="js/import.js" defer></script>
<script src="js/export.js" defer></script>
<script src="js/uriVariables.js" defer></script>
</head>
<body>
<div id="bg"></div>
<div id="clock"></div>
<div id="weather">
<span id="temperature"></span>
<img id="weather_icon" src="#" alt="Icon">
<br>
<span id="weather_desc"></span>
</div>
<div id="href"></div>
<label for="settingsCheck" id="settingsButtonOpen"></label>
<input type="checkbox" id="settingsCheck" hidden />
<input type="file" id="import" hidden />
<dialog>
<h1>Header</h1>
<form method="dialog">
<input type="text" id="dialogInput">
<button type="submit">Confirm</button>
</form>
</dialog>
<aside>
<div class="settingsContainer" id="tabs"></div>
<div class="settingsContainer" id="settings">
<div>
<h1>Keys</h1>
<label>Keys:<input type="text" id="cfg-keys"></label>
<label>Hot Keys:<input type="checkbox" id="cfg-hotkeys"></label>
<label>Symbol-Key Mapping:<textarea id="cfg-symbolKeyMapping" cols="5"></textarea></label>
</div>
<div>
<h1>Background</h1>
<label>Type:
<select id="cfg-bgType">
<option value="color">Color</option>
<option value="lGrad">Linear Gradient</option>
<option value="rGrad">Radial Gradient</option>
<option value="image">Image</option>
</select>
</label>
<label>Saturate:<input type="number" min="0" max="100" id="cfg-bgSaturate"></label>
<label>Light:<input type="number" min="0" max="100" id="cfg-bgLight"></label>
<label>Gradient color count:<input type="number" min="1" max="10" id="cfg-bgGradColCount"></label>
<label>URIs:<textarea id="cfg-bgURIs"></textarea></label>
<label>Update time:<input type="number" min="0" max="1000" id="cfg-bgUpdTime"></label>
</div>
<div>
<h1>Tabs</h1>
<label>Icon:<input type="checkbox" id="cfg-icon"></label>
<label>Tabs Render Delay:<input type="number" min="0" max="1000" id="cfg-tabsRenderDelay"></label>
<label>Variables:<input type="checkbox" id="cfg-URIVars"></label>
</div>
<div>
<h1>Clock <input type="checkbox" id="cfg-clock"></h1>
<label>Type:
<select id="cfg-clockType">
<option value="num">Numeric</option>
<option value="arr">Arrow</option>
<option value="bin">Binary</option>
<option value="bcd">BCD</option>
</select>
</label>
<label>Seconds:<input type="checkbox" id="cfg-clockSec"></label>
<label>12-h:<input type="checkbox" id="cfg-clock12h"></label>
<label>Update time:<input type="number" min="0" max="1000" id="cfg-clockUpdTime"></label>
<label>Numbers:<textarea id="cfg-clockNums"></textarea></label>
</div>
<div>
<h1>Weather <input type="checkbox" id="cfg-weather"></h1>
<label>API key:<input type="password" id="cfg-weatherAPIkey"></label>
<label>City:<input type="text" id="cfg-weatherCity"></label>
<label>Language:<input type="text" id="cfg-weatherLang"></label>
<label>Units:
<select id="cfg-weatherUnits">
<option value="metric">Metric</option>
<option value="imperial">Imperial</option>
</select>
</label>
</div>
</div>
<div class="settingsContainer" id="settingsConfirm">
<button><label for="import"></label></button>
<button id="export"></label></button>
<button id="applySetting">
<label for="settingsCheck"></label>
</button>
<button id="discardSetting">
<label for="settingsCheck"></label>
</button>
</div>
</aside>
<!-- Template for tab settings -->
<template id="tab">
<div class="tab">
<div class="upButtons"><button></button></div>
<input class="tab_name" placeholder="Name" />
<input class="tab_url" placeholder="Url" />
<input class="tab_key" placeholder="Key" />
<label>
Dir:<input class="tab_dir" type="checkbox"/>
</label>
<input class="tab_before" placeholder="Before" />
<input class="tab_after" placeholder="After" />
<label class="tab_slice">
<input
class="tab_sliceVal tab_sliceStart"
type="number"
placeholder="--"
/><span class="tab_sliceSep">:</span
><input
class="tab_sliceVal tab_sliceEnd"
type="number"
placeholder="--"
/>
</label>
<div class="tab_sub"></div>
</div>
</template>
</body>
</html>