-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
46 lines (40 loc) · 1.02 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
<html>
<head>
<title>Opções do Notificador de Pacotes (Correios)</title>
<style>
body {
font-family: Arial;
font-size: 11px;
}
h1{
font-size: 14px;
}
</style>
<script type="text/javascript" src="jquery-1.6.min.js"></script>
<script type="text/javascript">
var packs = chrome.extension.getBackgroundPage().packs;
function save(){
var time = $("#waitTime").val();
packs.setWaitTime(time);
}
function load_options(){
$("#waitTime").val(packs.getWaitTime());
}
</script>
</head>
<body onload="load_options()">
<h1>
<img src="package.png" width="48" height="48" valign="middle" />
Opções do Notificador de Pacotes (Correios)
</h1>
Tempo de espera entre verificações:
<select id="waitTime" onchange="save()">
<option value="5">5 minutos</option>
<option value="15">15 minutos</option>
<option value="30">30 minutos</option>
<option value="60">1 hora</option>
<option value="120">2 horas</option>
<option value="240">4 horas</option>
</select>
</body>
</html>