-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
51 lines (45 loc) · 1.46 KB
/
options.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./options.css" />
<script id="template" type="x-tmpl-mustache">
{{#sessions}}
<div class="sessions">
<button class="restore-sesh-btn" type="{{ type }}" timestamp="{{ timestamp }}">Clean Restore</button>
<div class="timestamp-title">
Timestamp {{ displayTimestamp }}
</div>
{{#windows}}
<div class="windows">
<div class="windows-title">
Window {{ window }}
</div>
<div class="tab-list hide">
{{#win_tabs}}
<div class="tabs">
{{ title }}
</div>
{{/win_tabs}}
</div>
</div>
{{/windows}}
</div>
{{/sessions}}
</script>
</head>
<body>
<h1 id="cat">Options</h1>
<button id="save-session-btn">Save Session</button>
<div class="grid-container">
<div id="auto-saves" class="grid-child"></div>
<div id="manual-saves" class="grid-child"></div>
</div>
<script src="./options.js" type="module"></script>
<script src="./libs/mustache.js" type="module"></script>
<script src="./libs/dayjs.min.js" type="module"></script>
<script src="./libs/relativeTime.min.js" type="module"></script>
</body>
</html>