This repository has been archived by the owner on May 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
options.html
94 lines (82 loc) · 3.75 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Deluge in Chrome : Configuration</title>
<script src="js/libs/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/options.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="css/master.css" type="text/css" />
<link rel="stylesheet" href="css/chrome.css" type="text/css" />
<style type="text/css" media="screen">
body { width: 100%; }
.buttons { margin: 10px 0 0 0; }
.buttons .left { float: left; }
.buttons .right { float: right; }
#content { width: 790px; margin-left: auto; margin-right: auto;
border: 1px solid #CCC; padding: 5px; }
#options form { width: 500px; margin-left: auto; margin-right: auto;}
</style>
</head>
<body>
<div id="content">
<div id="header">
<div id="logo">
<a href="#" title="Go to Deluge WebUI!">
<span class="title">Deluge</span>
<span class="subtitle">Deluge torrent information in Chrome</span>
</a>
</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 with need to know some details about the web interface. The address used to access the interface (http://address:port) and finally the password used to login.</p>
</div>
<div id="status-message"></div>
<form class="nice-form" style="width: 500px">
<fieldset>
<legend>Options</legend>
<p>
<label>Address:</label>
<input type="text" name="address" id="address" style="width: 300px" placeholder="http://" />
</p>
<p>
<label>Password:</label>
<input type="password" name="password" id="password" />
</p>
<p>
<input type="checkbox" name="enable_download_torrent" id="enable_download_torrent" value="1" />
<label class="normal" for="enable_download_torrent"> Enable download torrent icon? <span>(experimental)</span></label>
</p>
<p id="magnet" style="display: none">
<input type="checkbox" name="enable_one_click_magnet" id="enable_one_click_magnet" value="0" />
<label class="normal" for="enable_one_click_magnet"> Enable one click magnet link downloads? <span>(versions 1.3.4 and up only)</span></label>
</p>
<p>
<input type="checkbox" name="enable_context_menu" id="enable_context_menu" value="0" />
<label class="normal" for="enable_context_menu"> Enable context menu? </label>
</p>
<p>
<input type="checkbox" name="enable_debug_mode" id="enable_debug_mode" value="0" />
<label class="normal" for="enable_debug_mode"> Enable debug mode? </label>
</p>
</fieldset>
<div class="buttons">
<div class="left">
<button type="submit" class="cancel">Cancel</button>
</div>
<div class="right">
<button type="submit" class="save">Save</button>
<button type="submit" class="apply">Apply</button>
</div>
<div class="clr"></div>
</div>
</form>
</div>
</div>
</body>
</html>