-
Notifications
You must be signed in to change notification settings - Fork 1
/
campaign.html
277 lines (260 loc) · 9.9 KB
/
campaign.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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Anonymous+Pro:700|Open+Sans:400,600" rel="stylesheet">
<link rel="stylesheet" href="css/bootstrap.min.css" >
<link rel="stylesheet" href="css/main.css" >
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Admin Panel Navigation -->
<nav class="navbar navbar-fixed-left">
<div class="logo">
<a href="/">
<img src="assets/moonsheep-admin-logo.png" alt="Moonsheep Logo">
</a>
<button type="button" class="menu-toggle" data-target="#main-nav" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div id="main-nav" class="clearfix">
<ul>
<li>
<a href="" class="active">Campaigns</a>
<ul>
<li><a href="">First campaign</a></li>
<li><a href="">Second campaign</a></li>
<li><a href="">Third campaign</a></li>
<li><a href="">Fourth campaign</a></li>
</ul>
</li>
<li><a href="">Users</a></li>
<li><a href="">Documents</a></li>
<li><a href="">Volunteers <img src="assets/admin_out-link.svg"></a></li>
</ul>
</div>
</nav>
<!-- EOF Navigation -->
<main class="container-fluid">
<!-- Main Header Section -->
<header class="row full-width campaign-header" id="hero">
<div class="col-md-6">
<h1>First Campaign</h1>
<ul>
<li>48% documents liberated</li>
<li>Time elapsed 27 hours</li>
<li>2 / 8 documents waiting verification</li>
<li>1 / 8 documents finished</li>
</ul>
</div>
<div class="col-md-2">
<button class="btn btn-small btn-purple">Active <img src="assets/admin_active.svg" alt="Active Icon"></button>
</div>
<div class="col-md-4 relbox">
<div class="row">
<div class="col-md-6">
<button class="btn btn-block btn-transparent" type="button">Pause</button>
</div>
<div class="col-md-6">
<div class="dropdown">
<button class="btn btn-purple btn-block dropdown-toggle" type="button" id="export-main" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">Export <img src="assets/admin_dropdown.svg" alt="chevron down, opens a dropdown menu"></button>
<ul class="dropdown-menu" aria-labelledby="export-main">
<li><a href="#">Download XLSX</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Download CSV</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Download JSON</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Export via API</a></li>
</ul>
</div>
<p class="small-text">Download all data from this campaign.</p>
</div>
</div>
<div class="bottom-box">
<span>Number of same inputs verify: <input type="text" class="badge" value="2"> </span>
</div>
</div>
</header>
<!-- EOF Header -->
<section id="campaign" class="row">
<div class="col-md-12" id="volunteers">
<table class="table">
<thead>
<tr>
<th>Volunteer</th>
<th>Liberation Progress</th>
<th>Time Liberating</th>
</tr>
</thead>
<tbody>
<tr>
<td>John McLane</td>
<td>
<!--
**** HOW DOES THE PROGRESS BAR WORK ****
The progress bar data-width attribute should carry the percentage
of completion of the liberation/verification process.
That number is then read and manipulated in the Moonsheep.progressBar()
javascript function that is ran on document.ready.
Please take a look at /src/js/moonsheep.js
--->
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="82"></div>
<div class="progress-number"></div>
</div>
</td>
<td>36 min</td>
</tr>
<tr>
<td>Marcellus Wallace</td>
<td>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="38"></div>
<div class="progress-number"></div>
</div>
</td>
<td>95 min</td>
</tr>
<tr>
<td>Vincent Vega</td>
<td>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="19"></div>
<div class="progress-number"></div>
</div>
</td>
<td>21 min</td>
</tr>
<tr>
<td>Mia Wallace</td>
<td>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="61"></div>
<div class="progress-number"></div>
</div>
</td>
<td>63 min</td>
</tr>
<tr>
<td>Selina Kyle</td>
<td>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="52"></div>
<div class="progress-number"></div>
</div>
</td>
<td>48 min</td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-12" id="documents">
<table class="table">
<thead>
<tr>
<th>Document</th>
<th>Liberation Progress</th>
<th>Verified Fields</th>
</tr>
</thead>
<tbody>
<tr>
<td>Plane Ticket</td>
<td>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="82"></div>
<div class="progress-number"></div>
</div>
</td>
<td>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="19"></div>
<div class="progress-number"></div>
</div>
</td>
</tr>
<tr>
<td>Restaurant</td>
<td>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="65"></div>
<div class="progress-number"></div>
</div>
</td>
<td>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="42"></div>
<div class="progress-number"></div>
</div>
</td>
</tr>
<tr>
<td>5 Star Hotel Resort in Jamaica</td>
<td>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="89"></div>
<div class="progress-number"></div>
</div>
</td>
<td>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="98"></div>
<div class="progress-number"></div>
</div>
</td>
</tr>
<tr>
<td>Big Mercedes</td>
<td>
<button class="verify">Verify</button>
</td>
<td>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="0"></div>
<div class="progress-number"></div>
</div>
</td>
</tr>
<tr>
<td>Some weird hardware store receipt</td>
<td>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="49"></div>
<div class="progress-number"></div>
</div>
</td>
<td>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-width="94"></div>
<div class="progress-number"></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</section>
<footer class="row">
<div class="col-md-12">
<img src="assets/licences.svg" alt="License Icons">
</div>
</footer>
</main>
<!-- Javascript -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/moonsheep_admin.min.js"></script>
</body>
</html>