This repository was archived by the owner on Dec 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoptions.html
89 lines (74 loc) · 2.5 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
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
<!DOCTYPE html>
<html>
<head>
<title>Tabs to Cloud Options</title>
<style>
body { padding: 10px 0; }
input[type="radio"], input[type="checkbox"] { vertical-align: sub; }
</style>
</head>
<body>
<div id="options">
<fieldset aria-required="true">
<legend>Cloud Service</legend>
<label for="cloud-dropbox">
<input type="radio" name="cloud-service" id="cloud-dropbox" value="DropBox" />
Dropbox (Reccomended)
</label>
<br />
<label for="cloud-googledrive">
<input type="radio" name="cloud-service" id="cloud-googledrive" value="GoogleDrive" disabled />
<del>Google Drive</del> (<a href="https://github.com/DakuTree/tabs-to-cloud/issues/5">?</a>)
</label>
<br />
<label for="cloud-onedrive">
<input type="radio" name="cloud-service" id="cloud-onedrive" value="OneDrive" />
OneDrive (Manual only + Re-auth required every update) (<abbr style="text-decoration: underline; color: blue; cursor: pointer;" title="We can't safely stay authenticated with OneDrive for longer than an hour, which means you need to re-auth every time.">?</abbr>)
</label>
<!-- PLACEHOLDER-->
<br />
<br />
<span id="authorize-container"></span>
</fieldset>
<br />
<fieldset>
<legend>Options</legend>
<label for="device">Device Label: </label>
<input type="text" id="device" pattern="^[a-zA-Z0-9]{1,12}$" minlength="1" maxlength="12" />
<br />
<br />
<label for="interval">Save Interval: </label>
<select id="interval">
<option value="30">30 Minutes</option>
<option value="60">1 Hour</option>
<option value="240">3 Hours</option>
<option value="480">6 Hours</option>
<option value="960">12 Hours</option>
<option value="1920">24 Hours</option>
</select>
<br />
<br />
<label for="use-unix-timestamp">
Use unix timestamp:
<input type="checkbox" id="use-unix-timestamp" />
</label>
<br />
<br />
<label for="encryption">Encryption Level: </label>
<select id="encryption">
<option value="text">Plain Text</option>
<option value="obfuscate">Obfuscate (Base64)</option>
<option value="encrypt" title="Not available yet" disabled>Encrypt (???)</option>
</select>
<br />
<br />
<div id="status"></div>
<button id="save">Save</button>
</fieldset>
</div>
<!-- SCRIPTS -->
<script src="lib/jquery-3.1.1.min.js"></script>
<script src="js/cloudServices.js"></script>
<script src="js/options.js"></script>
</body>
</html>