-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
301 lines (287 loc) · 13.5 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
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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link href="assets/ratchet/css/ratchet.css" rel="stylesheet">
<link href="assets/css/styles.css" rel="stylesheet">
<link href="assets/css/pageslider.css" rel="stylesheet">
<link href="assets/css/animate.css" rel="stylesheet">
<link href="assets/css/clouds.css" rel="stylesheet">
</head>
<body>
<script id="settings-tpl" type="text/template">
<header class="bar bar-nav">
<h1 class="title">Settings</h1>
</header>
<div class="content">
<ul class="table-view">
<li class="table-view-cell">
<p>
{{#if isNewUserMode }}
Welcome. Please enter your name and the time you wish to be reminded everyday.
{{else}}
Change the settings on this page.
{{/if}}
</p>
</li>
<li class="table-view-cell">
<b>Name: </b>
<input class="input_name" type="text" placeholder="ex: Mary"/>
</li>
<li class="table-view-cell">
<b>Alarm time: </b>
<select class="input_remindertime" style="width: 50%;" >
<option value="9">Default (9 am) - Tap here to change</option>
<option value="0">12 midnight</option>
<option value="1">1 am</option>
<option value="2">2 am</option>
<option value="3">3 am</option>
<option value="4">4 am</option>
<option value="5">5 am</option>
<option value="6">6 am</option>
<option value="7">7 am</option>
<option value="8">8 am</option>
<option value="9">9 am</option>
<option value="10">10 am</option>
<option value="11">11 am</option>
<option value="12">12 noon</option>
<option value="13">1 pm</option>
<option value="14">2 pm</option>
<option value="15">3 pm</option>
<option value="16">4 pm</option>
<option value="17">5 pm</option>
<option value="18">6 pm</option>
<option value="19">7 pm</option>
<option value="20">8 pm</option>
<option value="21">9 pm</option>
<option value="22">10 pm</option>
<option value="23">11 pm</option>
</select>
</li>
<li class="table-view-cell" style="display: none;">
<input style="display: none;" type="text" value="" class="input_remindertime_minute" placeholder="minutes"/>
</li>
<li class="table-view-cell">
<input type="checkbox" id="dont_show_reminder">Don't show reminders any more
</li>
</ul>
</div>
</div>
<nav class="bar bar-tab">
<a class="tab-item active settingsdone" href="#settings/{{ href }}/1">
<span class="tab-label">Done</span>
</a>
</nav>
</script>
<script id="clouds-tpl" type="text/template">
<div class="content">
<div style="position: absolute; left:0; top: 0; width: 100%; height: 100%; background-image: url(assets/pics/clouds/pasture.svg); background-repeat: no-repeat; background-size: cover;"/>
<div style="width: 100%; height: 100%; overflow: hidden; position: relative;">
<img src="assets/pics/clouds/sun.svg" class="sun"/>
<img src="assets/pics/clouds/cloud.svg" class="cloud1" />
<img src="assets/pics/clouds/cloud.svg" class="cloud2" />
<div class="cloud_text" style="text-align: center;">
<span style="color: black; font-size: 1.1em;">
{{ message }}
</span>
<br/><br/><br/>
<span class="badge badge-positive" style="font-size: 1.0em; -webkit-transform: translateY(-50%); transform: translateY(-50%)">Crosses earned so far</span>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 404 564"
style="max-height: 100px; width: 32px; height: 32px;"
>
<path transform="translate(2,2)scale(2,2)" fill="white" d="M0,80H80V0H120V80H200V120H120V280H80V120H0V80Z"/>
</svg>
<span class="numcrosses nummycrosses" style="font-family: fantasy; font-size: 2em; color: red;"></span>
<br/>
<span class="badge badge-positive" style="font-size: 1.0em; -webkit-transform: translateY(-50%); transform: translateY(-50%)">Class's total contribution</span>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 404 564"
style="max-height: 100px; width: 32px; height: 32px;"
>
<path transform="translate(2,2)scale(2,2)" fill="white" d="M0,80H80V0H120V80H200V120H120V280H80V120H0V80Z"/>
</svg>
<span class="numcrosses numclasscrosses" style="font-family: fantasy; font-size: 2em; color: blue;"></span>
</div>
</div>
</div>
<nav class="bar bar-tab" style="visibility: hidden;">
<a class="tab-item active" href="#">
<span class="icon icon-close"></span>
<span class="tab-label">Back</span>
</a>
</nav>
</script>
<script id="mylent-tpl" type="text/template">
<header class="bar bar-nav">
{{#if isDisplayPrevWeekButton}}
<a href="#mylent/{{ weekNumber }}-1/slideFromLeft">
<button class="btn btn-link btn-nav pull-left">
<span class="icon icon-left-nav"></span>
</button>
</a>
{{/if}}
{{#if isDisplayNextWeekButton}}
<a href="#mylent/{{ weekNumber }}+1/slideFromRight">
<button class="btn btn-link btn-nav pull-right">
<span class="icon icon-right-nav"></span>
</button>
</a>
{{/if}}
<h class="title">
<a href="#">Week <b>{{ weekNumber }}</b> of 7</a>
</h>
</header>
<!--<div class="bar bar-standard bar-header-secondary">
<input class='search-key' type="search"/>
</div>-->
<div class="content">
{{#if isDisplayEncouragement}}
<div style="text-align:center; font-size: 2.0em; line-height: 40px;">
<a href="#addmycross" >
What are you doing for Jesus today ?
</a>
</div>
{{/if}}
<ul class="table-view">
{{#each cards}}
<li class="table-view-cell media {{style_class}}_box">
<div style="position: absolute; right:0; top: 0; height: 100%;">
<span style="visibility: hidden; font-size: 1.5em;">23 Feb</span>
<div style="border: 1px solid lightgray; position: absolute; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); right:0; border-radius: 5px; text-align: center; margin-right:4px; opacity: 0.8; ">
<div style="background: lightgray; color: black; font-size: 0.8em;"> Day {{ day_seq }} </div>
<div style="background: white; color: red; font-size: 1.2em; font-family: fantasy; line-height: 150%;"> {{ cal_date }} </div>
<div style="background: lightgray; color: black; font-size: 0.8em;"> {{ cal_day }} </div>
</div>
</div>
<ul class="table-view">
<li class="pull-left" style="width: 20%">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 404 564"
style="max-height: 100px;"
>
<path transform="translate(2,2)scale(2,2)" fill="{{cross_pic}}" d="M0,80H80V0H120V80H200V120H120V280H80V120H0V80Z"/>
</svg>
</li>
<li class="pull-left" style="width: 70%; padding: 5px;">
<div>
<span class="{{style_class}}_userName" >{{userName}}</span>
<span class="{{style_class}}_is" > is </span>
<span class="{{style_class}}_virtue" style="color: {{cross_pic}}">{{virtue}}</span>
</div>
</li>
</ul>
</li>
{{/each}}
</ul>
<br/><br/><br/><br/><br/>
</div>
<nav class="bar bar-tab">
<a class="tab-item active" href="">
<span class="icon icon-person"></span>
<span class="tab-label">My lent</span>
</a>
{{#if isTodayHasCross}}
<a class="tab-item">
<span class="icon icon-check" style="color: green"></span>
<span class="tab-label">Today's cross added</span>
</a>
{{else}}
<a class="tab-item" href="#addmycross">
<span class="icon icon-plus"></span>
<span class="tab-label">Add my cross</span>
</a>
{{/if}}
<a class="tab-item" href="#show_settings">
<span class="icon icon-gear"></span>
<span class="tab-label">Settings</span>
</a>
<!--
<a class="tab-item onlinestatusIndicator">
{{#if isOnline}}
<span class="icon icon-info" style="color: green"></span>
<span class="tab-label" style="color: green">Online</span>
{{else}}
<span class="icon icon-info" style="color: red"></span>
<span class="tab-label" style="color: red">Offline</span>
{{/if}}
</a>
-->
</nav>
</script>
<script id="crosses-tpl" type="text/template">
<header class="bar bar-nav">
<h1 class="title">Lenten crosses</h1>
</header>
<div class="content">
<p class="content-padded">By selecting a cross, you mark it as done</p>
<ul class="table-view">
{{#each cards}}
<li class="table-view-cell media simple_box">
<div style="position: absolute; right:2px; top: 2px"><span class="badge">{{ crosses_so_far }} so far</span></div>
<ul class="table-view">
<li class="pull-left" style="width: 20%;">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 404 564"
style="max-height: 100px;"
>
<path transform="translate(2,2)scale(2,2)" fill="{{pic}}" d="M0,80H80V0H120V80H200V120H120V280H80V120H0V80Z"/>
</svg>
</li>
<li class="pull-left" style="width: 70%; padding: 5px;">
<ul class="table-view">
<li><span style="color: {{pic}}">{{ cross_heading }}</span><br/>
{{ cross_text }}
<br/>
</li>
<li>
<a href="#ididit/{{cross_idx}}"><span class="badge badge-positive" style="border-radius: 2px;">
<span class="icon icon-check"></span>I did it</span></a>
</li>
</ul>
</li>
</ul>
</li>
{{/each}}
</ul>
<br/><br/><br/><br/><br/>
</div>
<nav class="bar bar-tab">
<a class="tab-item active" href="#crosses_close">
<span class="icon icon-close"></span>
<span class="tab-label">Cancel</span>
</a>
</nav>
</script>
<script id="splashscreen-tpl" type="text/template">
<div class="content">
<div style="position: absolute; left: 50%; top: 50%; -webkit-transform: translateX(-50%); transform: translateY(-50%);">
Loading ...
</div>
</div>
</script>
<script src="cordova.js"></script>
<script src="lib/fastclick.js"></script>
<script src="lib/handlebars.js"></script>
<script src="lib/jquery.js"></script>
<script src="lib/pageslider.js"></script>
<script src="lib/router.js"></script>
<script src="lib/animate.js"></script>
<script src="js/services/DataService.js"></script>
<script src="js/services/UserService.js"></script>
<script src="js/services/file/EmployeeService.js"></script>
<script src="js/services/file/VoteService.js"></script>
<script src="js/services/CardService.js"></script>
<script src="js/EmployeeListView.js"></script>
<script src="js/HomeView.js"></script>
<script src="js/EmployeeView.js"></script>
<script src="js/CrossesView.js"></script>
<script src="js/MylentView.js"></script>
<script src="js/CloudsView.js"></script>
<script src="js/NewUserView.js"></script>
<script src="js/SplashScreenView.js"></script>
<script src="js/AppState.js"></script>
<script src="js/app.js"></script>
</body>
</html>