-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
209 lines (144 loc) · 7.05 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title data-msg-text="op_title"> </title>
<link rel="stylesheet" href="styles/options.css" type="text/css" />
<link href="styles/skin/ui.dynatree.css" rel="stylesheet" type="text/css" id="skinSheet">
<link rel="stylesheet" href="styles/jquery.qtip.min.css" type="text/css" />
</head>
<body>
<div id="cntMain">
<h1 data-msg-text="op_h1"></h1>
<form>
<div class="btnSave">
<br />
<button id="btn-save-top" data-msg-text="op_save" data-msg-title="op_save_title" data-msg-title-op='{"position":{"at":"top center", "my":"bottom center"}}'></button>
<br />
<br />
</div>
<div id="cntFilters">
<fieldset>
<legend class="big" data-msg-text="op_filters"> </legend>
<div id="cntLocal">
<fieldset>
<legend data-msg-text="op_local"> </legend>
<div>
<div id="cntTree" class="cntControl">
<div class="filterControl">
<label data-msg-text="op_porprov" for="opLocalProv"> </label>
<input type="radio" id="opLocalProv" name="locationType" value="prov" data-bind-val="locationMode" data-show-hide-filter=""/>
<div class="explica" data-msg-text="op_expprov"> </div>
</div>
<div>
<div id="tree">
</div>
</div>
</div>
<div id="cntZoom" class="cntControl">
<div class="filterControl">
<label data-msg-text="op_porzoom" for="opLocalZoom"> </label>
<input type="radio" id="opLocalZoom" name="locationType" value="zoom" data-bind-val="locationMode" data-show-hide-filter=""/>
<div class="explica" data-msg-text="op_expzoom"> </div>
</div>
<div>
<div id="zoom">
</div>
</div>
</div>
<div id="cntGeo" class="cntControl">
<div class="filterControl">
<label data-msg-text="op_porip" for="opLocalIp"> </label>
<input type="radio" id="opLocalIp" name="locationType" value="ip" data-bind-val="locationMode" data-show-hide-filter=""/>
<div class="explica" data-msg-text="op_expip"> </div>
</div>
<div>
<div id="geo">
<input type="number" id="numDistance" min="5" max="100" step="1" size="3" maxlength="3" required="" data-bind-val="locationIpDistance" data-bind-elm-prop="value">
<label data-msg-text="op_distance" for="numDistance"> </label>
</div>
</div>
</div>
</div>
</fieldset>
</div>
<div>
<fieldset>
<legend data-msg-text="op_level"> </legend>
<div id="levels" class="cntList">
</div>
</fieldset>
<fieldset>
<legend data-msg-text="op_type"> </legend>
<div id="types" class="cntList">
</div>
</fieldset>
<label data-msg-text="op_discart" for="numDiscartDays"> </label>
<input type="number" id="numDiscartDays" min="0" max="20" step="1" size="2" maxlength="2" required="" data-bind-val="discartDays" data-bind-elm-prop="value">
<label data-msg-text="op_days" for="numDiscartDays"> </label>
</div>
</fieldset>
</div>
<div id="cntOptions">
<fieldset>
<legend class="big" data-msg-text="op_opc"> </legend>
<label data-msg-text="op_refresh" for="numMinutesRefresh"> </label>
<input type="number" id="numMinutesRefresh" min="1" max="30" step="1" size="2" maxlength="2" required="" data-bind-val="minutesRefresh" data-bind-elm-prop="value">
<label data-msg-text="op_min" for="numMinutesRefresh"> </label>
<br />
<input type="checkbox" id="chkUseNotifications" value="1" data-bind-val="useNotifications" data-disable-nested=""/>
<label data-msg-text="op_shownot" for="chkUseNotifications"> </label>
<div class="nested">
<label data-msg-text="op_notdisplay" for="numNotificationsSecondsDisplay"> </label>
<input type="number" id="numNotificationsSecondsDisplay" min="5" max="200" step="5" value="10" size="2" maxlength="2" required="" data-bind-val="notificationsSecondsDisplay" data-bind-elm-prop="value"/>
<label data-msg-text="op_ss" for="numNotificationsSecondsDisplay"> </label>
<div class="usesound">
<input type="checkbox" id="chkUseNotificationsWithSound" value="1" data-bind-val="useNotificationsWithSound" data-disable-nested=""/>
<label data-msg-text="op_usesound" for="chkUseNotificationsWithSound"> </label>
<div class="nested">
<div id="sounds" class="cntList">
</div>
<div id="speech">
<span data-msg-text="op_speech"></span>
</div>
<div id="speechMore">
<span data-msg-text="op_speechMore"></span>
<a target="_blank" data-msg-text="op_speechMore_a" href="https://chrome.google.com/webstore/detail/speakit/pgeolalilifpodheeocdmbhehgnkkbak">SpeakIt!</a>
</div>
</div>
<div class="clear"></div>
<div class="nested volume">
<label data-msg-text="op_volume" for="rngNotificationsSoundVolume"> </label>
<input type="range" id="rngNotificationsSoundVolume" min="0" max="1" value="0.5" step="0.1" data-bind-val="notificationsSoundVolume" data-bind-elm-prop="value">
<input type="text" id="txtNotificationsSoundVolume" readonly value="0.5" maxlength="3" size="2" data-bind-val="notificationsSoundVolume" data-bind-elm-prop="value">
</div>
</div>
</div>
</fieldset>
</div>
<div class="btnSave">
<button id="btn-save-bottom" data-msg-text="op_save" data-msg-title="op_save_title" data-msg-title-op='{"position":{"at":"top center", "my":"bottom center"}}'></button>
</div>
</form>
<div style="display:none;">
<audio id="audioNotifTest" src="audio/claxon.ogg" data-bind-val="notificationsSoundVolume" data-bind-elm-prop="volume"></audio>
</div>
<div id="load">
</div>
<div id="mask">
</div>
</div>
<script type="text/javascript" src="js/jquery-1.8.2.min.js" ></script>
<script type="text/javascript" src="js/jquery.qtip.min.js" ></script>
<script type="text/javascript" src="js/jquery-ui-1.8.23.custom.min.js" ></script>
<script type="text/javascript" src="js/jquery.dynatree.min.js" ></script>
<script type="text/javascript" src="js/openlayers.js" ></script>
<script type="text/javascript" src="js/underscore-min.js" ></script>
<script type="text/javascript" src="js/underscore.string.min.js" ></script>
<script type="text/javascript" src="js/underscore-mixin.js" ></script>
<script type="text/javascript" src="js/common.js" ></script>
<script type="text/javascript" src="js/options-app.js" ></script>
<script type="text/javascript" src="js/init-options.js" ></script>
</body>
</html>