forked from RichGuk/deluge-in-chrome
-
Notifications
You must be signed in to change notification settings - Fork 7
/
options.html
executable file
·157 lines (142 loc) · 7.34 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Deluge Remote for Chrome : Configuration</title>
<script charset="utf-8" src="js/libs/jquery-3.0.0.min.js" type= "text/javascript"></script>
<script charset="utf-8" src="js/global_options.js" type="text/javascript"></script>
<script charset="utf-8" src="js/debug_log.js" type="text/javascript"></script>
<script charset="utf-8" src="js/options.js" type="text/javascript"></script>
<link href="css/master.css" rel="stylesheet" type="text/css">
<link href="css/options.css" rel="stylesheet" type="text/css">
<link href="css/chrome.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="content">
<div id="header">
<div id="logo">
<span class="subtitle">Deluge Remote for Chrome - v</span><span id="version"></span>
</div>
<div class="clr"></div>
</div>
<div id="options">
<div class="chrome-header">
<h2>Configuration</h2>
</div>
<div class="chrome-sub-header">
<p>This extension requires an accessible version of Deluge web interface to be running. Please refer to the <a href="http://deluge-torrent.org/" target="_blank">Deluge documentation</a> on how to get this working.</p>
<p>In order to connect to the web interface we need to know some details. The address used access the interface (http://address:port/) and the password to login is the base level required.</p>
<p>If you like my work, please consider donating. Every dollar helps convince the wife I'm not wasting my time. <span class="e1f605"></span></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"><input type="hidden" name="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xpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNjA2MjIxMDI0MjJaMCMGCSqGSIb3DQEJBDEWBBSBP9Y11wJZWpah+Ay0i6YyAliU7DANBgkqhkiG9w0BAQEFAASBgEZ6Vijw29EWrG2Fxwc7XuwsTYHDqu8V3GXlsjs3HcXdlOlrpTWhbp0ksboCGV37UgqWWb44vs5smm7l0REMj1PZ3s75a9g+9Wd+gbBUdRTjmoubQiOofb/OSR5EYdILDbu897WY31b1WRoD2Z38CSD2MIkq942nKtZMsFkEEGLz-----END PKCS7-----"><input type="image" src="https://www.paypalobjects.com/en_AU/i/btn/btn_donate_SM.gif" name="submit" alt="PayPal – The safer, easier way to pay online!"><img alt="" src="https://www.paypalobjects.com/en_AU/i/scr/pixel.gif" width="1" height="1"></form>
</div>
<fieldset>
<legend>Basic Setup</legend>
<table>
<tr>
<td>
<label>Address</label>
</td>
<td>
<select id="address_protocol">
<option value="http">http</option>
<option value="https">https</option>
</select>
://
<input id="address_ip" placeholder="127.0.0.1" size="15">
:
<input id="address_port" placeholder="8112" size="5">
/
<input id="address_base" placeholder="deluge" size="5">
/
</td>
</tr>
<tr>
<td>
<label>Password</label>
</td>
<td>
<input id="password" size="20" type="password">
</td>
</tr>
</table>
</fieldset>
<fieldset>
<legend>Link Handling</legend>
<table>
<tr>
<td>
<label class="normal" for="handle_torrents">Handle .torrent links</label>
</td>
<td>
<input id="handle_torrents" name="handle_torrents" type="checkbox" value="1">
</td>
</tr>
<tr>
<td>
<label class="normal" for="handle_magnets">Handle magnet links<span><br>(versions 1.3.4 and up only)</span></label>
</td>
<td>
<input id="handle_magnets" name="handle_magnets" type="checkbox" value="0">
</td>
</tr>
<tr>
<td>
<label class="normal" for="context_menu">Enable context menu</label>
</td>
<td>
<input id="context_menu" name="context_menu" type="checkbox" value="0">
</td>
</tr>
</table>
</fieldset>
<fieldset>
<legend>Extras</legend>
<table>
<tr>
<td>
<label for="badge_timeout">Badge timeout<span><br>How long to show add/fail when adding torrents/magnets</span></label>
</td>
<td>
<select id="badge_timeout" >
<option value="100">100ms</option>
<option value="250" selected="selected">250ms</option>
<option value="500">500ms</option>
<option value="1000">1s</option>
<option value="2000">2s</option>
<option value="5000">5s</option>
</select>
</td>
</tr>
<tr>
<td>
<label class="normal" for="debug_mode">Debug mode</label>
</td>
<td>
<input id="debug_mode" name="debug_mode" type="checkbox" value="0">
</td>
</tr>
</table>
</fieldset>
<div class="buttons">
<div class="left">
<button class="cancel">Cancel</button>
</div>
<div class="right">
<button class="apply">OK</button>
<button class="save">Apply</button>
</div>
<div class="clr"></div>
</div>
<div class="buttons">
<div class="left">
<div class="clr"></div>
</div>
<div class="right">
<div class="right" id="status-message"></div>
</div>
<div class="clr"></div>
</div>
</div>
</div>
</body>
</html>