-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathoptions.html
40 lines (34 loc) · 1.05 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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>WaniKani Notifier Options</title>
<script src="options.js"></script>
</head>
<body>
<h3>WaniKani Notifier</h3>
To find your API key, go to <a href="https://www.wanikani.com" target="_blank">WaniKani</a>, click Menu, then click Settings (under Account). Copy the field labeled "Public API Key" into the box below.
<br><br>
<label for="api_key">Enter your API key here:</label>
<input id="api_key" size="32" />
<br>
<br>
<label for="update_interval">Update interval:</label>
<select id="update_interval">
<option value="1">1 minute</option>
<option value="5">5 minutes</option>
<option value="10">10 minutes</option>
</select>
<br>
<br>
<fieldset>
<legend>Notifications:</legend>
<input name="notifications" type="radio" id="notif_on" value="on" />
<label for="notif_on">On</label>
<input name="notifications" type="radio" id="notif_off" value="off" />
<label for="notif_off">Off</label>
</fieldset>
<div id="status"></div>
<button id="save">Save</button>
</body>
</html>