-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
171 lines (150 loc) · 6.59 KB
/
index.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
<html manifest="canvasserx.mf">
<head>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="res/jquery-ui-1.10.4.custom.min.css"/>
<link rel="stylesheet" href="res/jqm142/jquery.mobile-1.4.2.min.css" />
<link rel="stylesheet" href="canvasser.css" />
<script src="res/jquery-1.9.1.min.js"></script>
<script src="res/jqm142/jquery.mobile-1.4.2.min.js"></script>
<script src="res/jquery-ui-1.10.4.custom.min.js"></script>
<script src="http://use.edgefonts.net/source-sans-pro.js"></script>
<style>
body * {
font-family: source-sans-pro, sans-serif !important;
font-style: normal;
font-weight: 400 ;
}
</style>
</head>
<body id="body">
<div data-role="page" id="newrecord">
<div data-role="content">
<div class="container">
<form id="myForm">First name:
<input type="text" id="first_name">Last name:
<input type="text" id="last_name">Email:
<input type="email" id="email">ZIP
<input type="tel" id="postal_code">Phone:
<input type="tel" id="phone_number">
<label><input class="tags" type="checkbox" name="checkbox-0" id="volunteer" value="volunteer">Volunteer?</label>
Address
<input type="text" id="address1">Address2
<input type="text" id="address2">City
<input type="text" id="city">State
<input type="text" id="state">
<a id='btnSave' href="#" data-role="button">Save
<span id='store-info'></span></a>
<a id="btnReset" data-role="button">Clear Form</a>
</form>
</div>
</div>
<div data-role="footer" data-position="fixed">
<p style="display:none" id='warning'>OSDI Canvasser requires Chrome</p>
<div class="mynav" data-role="navbar">
<ul>
<li><a href="#newrecord" class="ui-link">New Record</a>
</li>
<li><a href="#localstore" class="local-refresh ui-link">Store
<span class='store-count'></span></a>
</li>
<li><a href="#upload" class="ui-link">Upload</a>
</li>
</ul>
</div>
<!-- /navbar -->
</div>
<!-- /footer -->
</div>
<div data-role="page" id="localstore">
<div data-role="content">
<div >
<ul id="record-list" data-role="listview">
</ul>
</div>
</div>
<div data-role="footer" data-position="fixed">
<div class="mynav" data-role="navbar">
<ul>
<li><a href="#newrecord" class="ui-link">New Record</a>
</li>
<li><a href="#localstore" class="local-refresh ui-link">Store
<span class='store-count'></span></a>
</li>
<li><a href="#upload" class="ui-link">Upload</a>
</li>
</ul>
</div>
<!-- /navbar -->
</div>
<!-- /footer -->
</div>
<div data-role="page" id="upload">
<div data-role="content">
<p><img id="logo"></p>
<a id='btnUpload' href="#" data-role="button">Upload</a>
<h3> <span id='status'>Ready...</span><span id='counter'></span></h3>
<p>OSDI Server AEP URL</p>
<form>
<input type="text" id="osdi_server">
<label>Canvasser Email<input type="text" id="canvasser_email"></label>
<label>API Key<input type="text" id="api_key" placeholder="optional"></label>
</form>
<a id='btnUpdateServer' href="#" data-role="button">Save Settings</a>
<a id='btnDefaultAEP' href="#" data-role="button">Reset Default AEP</a>
<a id='btnSupport' href="mailto:joshco@gmail.com?subject=canvasser support" data-role="button">Contact Support</a>
<br/>
<a id='btnGoNerds' href="#nerds" data-role="button">Nerd Settings</a>
</div>
<div data-role="footer" data-position="fixed">
<div class="mynav" data-role="navbar">
<ul>
<li><a href="#newrecord" class="ui-link">New Record</a>
</li>
<li><a href="#localstore" class="ui-link">Store
<span class='store-count'></span></a>
</li>
<li><a href="#upload" class="ui-link">Upload</a>
</li>
</ul>
</div>
<!-- /navbar -->
</div>
<!-- /footer -->
</div>
<div data-role="page" id="logger">
<div data-role="content">
<b>Logging</b><br/>
<img src="canvasser-hero.png"><br/>
<a id='btnCloseLog' href="#upload" data-role="button">Close</a>
<span id='log-messages'></span>
</div>
</div>
<div data-role="page" id="saved">
<div data-role="content">
<h1>Saved!</h1>
<img src="canvasser-hero.png">
</div>
</div>
<div data-role="page" id="nerds">
<div data-role="content">
<h1>Nerdy Settings</h1>
<p >people_uri: <span id='people_uri'></span></p>
<p >person_signup_uri: <span id='person_signup_uri'></span> </p>
<p>brand_logo: <span id='logo_uri'></span></p>
<p>loggger_uri: <span id='logger_uri'></span></p>
<label><input type="checkbox" name="checkbox-0" id="auto_clean" value="auto_clean" checked="true">Clean on Upload</label>
<label><input type="checkbox" name="checkbox-0" id="always_log" value="always_log" checked="true">Always Log</label>
<label><input type="checkbox" name="checkbox-0" id="save_confirmation" value="save_confirmation" checked="true">Show Save Conf</label>
<a id='btnClearLocal' href="#" data-role="button">Clear Local Store</a>
<a id='btnShowLogs' href="#" data-role="button">Show Logs</a>
<a id='btnExitNerds' href="#upload" data-role="button"><- Back to Uploads</a>
<a id='btnClearHTML5' href="#" data-role="button">Clear HTML5 store</a>
<img src="canvasser-hero.png">
</div>
</div>
<div data-role="page" id="browser-warning">
<h1>Please switch to Chrome</h1>
</div>
<script type='text/javascript' src='osdi.js'></script>
</body>
</html>