-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
92 lines (84 loc) · 2.68 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
<html>
<head>
<title>Google Mail Checker - Options</title>
<style>
body {
font-family:helvetica, arial, sans-serif;
font-size:80%;
margin:10px;
}
#header {
padding-bottom:1.5em;
padding-top:1.5em;
}
#header h1 {
font-size: 156%;
display:inline;
padding-bottom:43px;
padding-left:75px;
padding-top:40px;
background:url(icon_128.png) no-repeat;
background-size:67px;
background-position:1px 18px;
}
.section-header {
background:#ebeff9;
border-top:1px solid #b5c7de;
font-size:99%;
padding:3px 0 2px 5px;
font-weight:bold;
margin-bottom:1em;
margin-top:4em;
}
.section-header.first {
margin-top:1em;
}
#custom-domain {
width:300px;
margin-left:2px;
}
#footer {
margin-top:4em;
}
</style>
</head>
<body>
<div id="sad-inbox-options"></div>
<script type="text/template" id="options-template">
<form id="options-form">
<div id="header"><h1>Sad Inbox Options</h1></div>
<div class="section-header first">Custom Domain</div>
<p>
https://mail.google.com/<input type="text"
id="customDomain" value="<%= customDomain %>"/>
<em>(eg a/mydomain.com)</em>
</p>
<div class="section-header">Positive Reinforcement Sound</div>
<p>
<input type="text"
id="newMessageSound" value="<%= newMessageSound %>" />
</p>
<div class="section-header">Negative Reinforcement Sound</div>
<p>
<input type="text"
id="noMessagesSound" value="<%= noMessagesSound %>" />
</p>
<div id="footer">
<input type="submit" id="save-button"
style="font-weight:bold" value="Save" />
</div>
</form>
</script>
<script src="json2.js"></script>
<script src="jquery.js"></script>
<script src="underscore.js"></script>
<script src="backbone.js"></script>
<script src="backbone-localstorage.js"></script>
<script src="sadinbox.js"></script>
<script>
$(function(){
window.AppOptions = new window.SadInboxOptions();
});
</script>
</body>
</html>