-
Notifications
You must be signed in to change notification settings - Fork 17
/
options.html
58 lines (55 loc) · 1.69 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
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="options.css">
<div id="warning" hidden></div>
<form id="options-form">
<input type="hidden" name="session">
<label>
<div>Server URL <small>(…/transmission/, without /web/ or /rpc/ at the end)</small></div>
<input type="url" name="base_url">
</label>
<label>
<div>User name <small>(optional)</small></div>
<input type="text" name="username">
</label>
<label>
<div>Password <small>(optional)</small></div>
<input type="password" name="password">
</label>
<label>
<div>Icon badge</div>
<select name="badge">
<option value="off">N O T H I N G</option>
<option value="num">Number of torrents</option>
<option value="dl">Download speed</option>
<option value="ul">Upload speed</option>
<option value="auto">Auto</option>
</select>
</label>
<label>
<div>Badge refresh interval <small>(minutes)</small></div>
<input type="number" name="badge_interval" value="1" min="1">
</label>
<label for="locations">Download locations</label>
<fieldset>
<select id="locations" size="4">
<option disabled>Default location</option>
</select>
<label>
<div>Name</div>
<input type="text" id="location_name" disabled>
</label>
<label>
<div>Path <small>(absolute)</small></div>
<input type="text" id="location_path" disabled>
</label>
<button type="button" id="location_new">New</button>
<button type="button" id="location_delete" disabled>Delete</button>
</fieldset>
<button type="submit" id="save">Save</button>
<p>
Note: to log in, just go to the web interface. Transmitter will pick up your session.
</p>
</form>
<script src="browser-polyfill.min.js"></script>
<script src="options.js"></script>