-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathoption.html
94 lines (90 loc) · 2.79 KB
/
option.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<link rel="stylesheet" href="libs/bootstrap.min.css" />
<title>Save texts anytime, anywhere</title>
</head>
<body>
<div class="container">
<div class="d-flex align-items-center justify-content-center">
<h2>Save texts anytime, anywhere</h2>
</div>
<div class="d-flex align-items-center justify-content-center">
<a
role="button"
class="btn btn-primary btn-sm"
href="https://github.com/jiacai2050/text-saver"
>Home</a
>
<button type="button" class="btn btn-primary btn-sm" id="btn-export">
Export
</button>
</div>
<table class="table table-hover table-responsive">
<thead>
<tr>
<th scope="col">Text</th>
<th scope="col">CreatedAt</th>
<th scope="col">Actions</th>
</tr>
</thead>
<tbody id="text-list"></tbody>
</table>
<div class="card">
<h5 class="card-header">Settings</h5>
<div class="card-body">
<div class="mb-3 row">
<label for="input-size" class="col-sm-2 col-form-label"
>Storage Size
</label>
<div class="col-sm-10">
<input class="form-control-plaintext" disabled id="input-size" />
</div>
</div>
<div class="mb-3 row">
<label for="input-notification" class="col-sm-2 col-form-label"
>Enable notification</label
>
<div class="col-sm-10">
<input
type="checkbox"
class="form-check-input"
id="input-notification"
/>
</div>
</div>
<div class="mb-3 row">
<label for="select-theme" class="col-sm-2 col-form-label"
>Color Scheme</label
>
<div class="col-sm-10">
<select class="form-select" id="select-color">
<option value="system">Sync with System</option>
<option value="light">Light</option>
<option value="dark">Dark</option>
</select>
</div>
</div>
<div class="mb-3 row">
<div class="col-sm-2">
<button
type="button"
class="btn btn-danger btn-sm"
id="btn-clear"
>
Clear ALL texts
</button>
</div>
</div>
</div>
</div>
</div>
<script src="libs/bootstrap.min.js"></script>
<script type="module" src="option.js"></script>
</body>
</html>