forked from ixs/weaveclient-chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
126 lines (108 loc) · 2.51 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
<!DOCTYPE html>
<html>
<head>
<title>Weave Sync Options</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="options.js"></script>
<link rel="stylesheet" type="text/css" href="skin/theme.css" />
<style>
body {
width: 500px;
}
fieldset {
border: 1px solid #aaaaaa;
-webkit-border-radius: 5px;
padding: 10px;
}
#fieldstable {
width: 100%;
}
legend {
font-weight: bold;
}
.label {
font-weight: normal;
text-align: right;
padding-right: 10px;
}
.itemlist {
font-weight: normal;
text-align: right;
padding-right: 5px;
}
input {
width: 100%;
height: 16px;
margin: 3px 0;
}
#buttons {
margin-top: 10px;
text-align: center;
}
</style>
</head>
<body>
<div id="content">
<h1>Firefox Sync Options</h1>
<fieldset id="options">
<legend>Options</legend>
<table id="fieldstable">
<tr>
<td class="label"><label for="server">Server:</label></td>
<td><input id="server" type="text" /></td>
</tr>
<tr>
<td class="label"><label for="user">Account:</label></td>
<td><input id="user" type="text" /></td>
</tr>
<tr>
<td class="label"><label for="password">Password:</label></td>
<td><input id="password" type="password" /></td>
</tr>
<tr>
<td class="label"><label for="passphrase">Recovery Key:</label></td>
<!-- TODO should be type="password" -->
<td><input id="passphrase" type="text" /></td>
</tr>
</table>
</fieldset>
<fieldset id="devname">
<legend>Device settings</legend>
<table id="fieldstable">
<tr>
<td class="label"><label for="clientGUID">Client GUID:</label></td>
<td id="clientGUID"></td>
</tr>
<td class="label"><label for="devname">Device name:</label></td>
<td><input id="devname" type="text" /></td>
</tr>
</table>
</fieldset>
<fieldset id="syncitems">
<legend>Sync Items</legend>
<table id="fieldstable">
<tr>
<td class="itemlist"><input id="bookmarks" type="checkbox" /></td>
<td>Bookmarks</td>
</tr>
<tr>
<td class="itemlist"><input id="history" type="checkbox" /></td>
<td>History</td>
</tr>
<tr>
<td class="itemlist"><input id="tabs" type="checkbox" /></td>
<td>Tabs</td>
</tr>
</table>
</fieldset>
<div id="buttons">
<button id="connect-button">Connect</button>
<button id="reset-button">Reset</button>
<button id="clear-button">Clear Cache</button>
<button id="unlink-button">Unlink device</button>
<button id="sync-button"
disabled="disabled">Sync</button>
</div>
</div>
</body>
</html>