This repository has been archived by the owner on Nov 5, 2021. It is now read-only.
/
app.html
612 lines (540 loc) · 23.4 KB
/
app.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
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
<!DOCTYPE html>
<html manifest="manifest.appcache">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no"/>
<title>Fire Tasks</title>
<!-- Building blocks -->
<link rel="stylesheet" href="style/action_menu.css">
<link rel="stylesheet" href="style/buttons.css">
<link rel="stylesheet" href="style/confirm.css">
<link rel="stylesheet" href="style/edit_mode.css">
<link rel="stylesheet" href="style/headers.css">
<link rel="stylesheet" href="style/input_areas.css">
<link rel="stylesheet" href="style/status.css">
<link rel="stylesheet" href="style/switches.css">
<link rel="stylesheet" href="style_unstable/drawer.css">
<link rel="stylesheet" href="style_unstable/lists.css">
<link rel="stylesheet" href="style_unstable/progress_activity.css">
<!--<link rel="stylesheet" href="style_unstable/scrolling.css">-->
<!--<link rel="stylesheet" href="style_unstable/seekbars.css">-->
<!--<link rel="stylesheet" href="style_unstable/tabs.css">-->
<link rel="stylesheet" href="style_unstable/toolbars.css">
<!-- Icons -->
<link rel="stylesheet" href="icons/styles/action_icons.css">
<!--<link rel="stylesheet" href="icons/styles/media_icons.css">-->
<!--<link rel="stylesheet" href="icons/styles/comms_icons.css">-->
<!--<link rel="stylesheet" href="icons/styles/settings_icons.css">-->
<!-- Transitions -->
<link rel="stylesheet" href="transitions.css">
<!-- Util CSS: some extra tricks -->
<link rel="stylesheet" href="util.css">
<link rel="stylesheet" href="fonts.css">
<!-- Additional markup to make Building Blocks kind of cross browser -->
<link rel="stylesheet" href="cross_browser.css">
<!-- TODO: move -->
<link rel="stylesheet" type="text/css" href="css/from_main.css">
<!-- Finally mine -->
<link rel="stylesheet" type="text/css" href="css/base.css">
</head>
<body>
<!-- INDEX -->
<section id="index" data-position="current">
<!-- SIDEBAR -->
<section data-type="sidebar">
<header>
<menu type="toolbar">
<button id="btn-new-list" class="icon icon-add">Create List</button>
</menu>
<h1>Lists</h1>
<progress class="pack-activity" value="0" max="100" id="progress-lists" style="display: none;"></progress>
</header>
<nav>
<ul id="lists"></ul>
</nav>
<div role="toolbar">
<ul>
<li><button id="btn-settings" class="action-icon settings">Settings</button></li>
</ul>
<ul>
<li><button id="btn-sync-lists" class="action-icon email-sync">Sync</button></li>
</ul>
</div>
</section>
<!-- MAIN LAYOUT -->
<section id="drawer" role="region">
<header class="fixed">
<a id="btn-close-sidebar" href="#"><span class="icon icon-menu">hide sidebar</span></a>
<a href="#drawer"><span class="icon icon-menu">show sidebar</span></a>
<menu type="toolbar">
<button id="btn-tasks-actions"><span class="icon icon-options">Tasks Actions</span></button>
<button id="btn-new-task"><span class="icon icon-add">Add Task</span></button>
</menu>
<h1>Fire Tasks<em style="font-size: 0.9rem;"> beta</em></h1>
<progress class="pack-activity light" value="0" max="100" id="progress-tasks" style="display: none;"></progress>
</header>
<header>
<h2>Initializing...</h2>
</header>
<article class="content scrollable header">
<div data-type="list" id="tasks">
<ol></ol>
</div>
</article>
</section>
<!-- EDIT MODE -->
<section>
<form id="edit-mode" role="dialog" data-type="edit">
<section>
<header>
<menu type="toolbar">
<button id="btn-edit-mode-close" class="prevent-default">done</button>
</menu>
<h1><span class="selected_num">0</span> selected</h1>
</header>
</section>
<div role="toolbar">
<ul>
<li><button id="btn-unindent-tasks" data-action="unindent" class="action-icon back prevent-default">Unindent</button></li>
<li><button id="btn-indent-tasks" data-action="indent" class="action-icon forward prevent-default">Indent</button></li>
<li><button id="btn-move-tasks" class="action-icon move prevent-default">Move</button></li>
</ul>
<ul>
<li><button id="btn-delete-tasks" class="action-icon delete prevent-default">Delete</button></li>
</ul>
</div>
</form>
</section>
</section>
<!-- SETTINGS -->
<section id="settings" data-position="back">
<section role="region">
<header class="fixed">
<a id="btn-settings-back" href="#" class="prevent-default"><span class="icon icon-back">back</span></a>
<h1>Settings</h1>
</header>
<article class="content scrollable header">
<section data-type="list">
<header>Accounts</header>
<ol>
<li>
<a href="#" id="settings-logout" class="prevent-default">
<p>Log Out</p>
<p class="profile-email"></p>
</a>
</li>
</ol>
<header>Synchronization</header>
<ol>
<li>
<a href="#" class="prevent-default">
<label class="pack-switch">
<input type="checkbox" id="settings-sync-on-start">
<span></span>
</label>
<p>Automatic Synchronization</p>
<p>When Fire Tasks starts and when a task gets changed</p>
</a>
</li>
<li class="select">
<label for="settings-sync-interval">
<span>Periodically synchronize</span>
<span>Refresh offline data when app is running</span>
<span class="button icon icon-dialog">
<select id="settings-sync-interval">
<option value="0">Never</option>
<!--<option value="30"> Every 30 seconds</option>-->
<option value="60">Once a minute</option>
<option value="300">Every 5 minutes</option>
</select>
</span>
</label>
</li>
</ol>
<header>Device interaction</header>
<ol>
<li>
<a href="#" class="prevent-default">
<label class="pack-switch">
<input type="checkbox" id="settings-vibrate-on-long-press">
<span></span>
</label>
<p>Vibrate on long press</p>
</a>
</li>
<!--<li>
<a href="#" class="prevent-default">
<label class="pack-switch">
<input type="checkbox" id="settings-animations">
<span></span>
</label>
<p>Suppress animations</p>
<p>May increase performance</p>
</a>
</li>-->
</ol>
<header>Miscellaneous</header>
<ol>
<li>
<a href="#" class="prevent-default">
<label class="pack-switch">
<input type="checkbox" id="settings-ignore-completed-when-sharing">
<span></span>
</label>
<p>Ignore completed tasks</p>
<p>When sharing task list</p>
</a>
</li>
</ol>
<header>About</header>
<ol>
<!--<li>
<a href="#" id="settings-install" onclick="FT.install(true);">
<p>Install Fire Tasks</p>
</a>
</li>-->
<li>
<a href="https://github.com/koliada/FireTasks/wiki" target="_blank">
<p>Help</p>
<p>Wiki on GitHub</p>
</a>
</li>
<li>
<a href="https://github.com/koliada/FireTasks/issues" target="_blank">
<p>Feedback</p>
<p>Issues on GitHub</p>
</a>
</li>
<li>
<a href="#" id="settings-donate" class="prevent-default">
<p>Donate</p>
</a>
</li>
<li>
<a href="https://marketplace.firefox.com/app/fire-tasks/" target="_blank">
<p>Please rate</p>
<p>Go to Marketplace</p>
</a>
</li>
<li>
<a href="#" id="settings-about" class="prevent-default">
<p>About</p>
</a>
</li>
</ol>
</section>
</article>
</section>
</section>
<!-- DONATE -->
<section id="donate" data-position="back">
<section role="region">
<header class="fixed">
<menu type="toolbar"><button id="btn-donate-back" class="prevent-default">done</button></menu>
<h1>Donate</h1>
</header>
<article class="content scrollable header">
<p>
You can donate with PayPal
</p>
<!--<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank" style="text-align: center;">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----">
<input style="max-width: 147px; margin-top: 2rem;" type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>-->
</article>
</section>
</section>
<!-- ABOUT -->
<section id="about" data-position="back">
<section role="region">
<header class="fixed">
<menu type="toolbar"><button id="btn-about-back" class="prevent-default">done</button></menu>
<h1>About</h1>
</header>
<article class="content scrollable header" style="text-align: justify;">
<header style="text-align: center;">
<img src="images/logo.png" alt="Logo" />
<h1>Fire Tasks</h1>
<label>Version <span class="app-version">0.7.1</span> (<time>2014-07-10</time>)</label>
</header>
<header><h2>About Fire Tasks</h2></header>
<p>Fire Tasks is a Google Tasks client for Firefox OS. For details, please refer to <a href="https://github.com/koliada/FireTasks" target="_blank">GitHub page</a>.</p>
<header><h2>Created by</h2></header>
<p>Alexei Koliada
<br />
<a href="http://alex-koliada.com" target="_blank">alex-koliada.com</a>
<br />
<a href="http://twitter.com/alex_koliada" target="_blank">@alex_koliada</a>
<br />
<a href="mailto:alex.fiator@gmail.com?subject=Fire Tasks Request (from app)" target="_blank">alex.fiator@gmail.com</a>
</p>
<header><h2>Credits</h2></header>
<p>Technology and assets used in the making of Fire Tasks</p>
<ul>
<li>Special thanks go to <a href="https://twitter.com/justguitarman" target="_blank">Andrey Prepiyalo</a> for the gorgeous Fire Tasks logo</li>
<li>The <a href="http://buildingfirefoxos.com/" target="_blank">Firefox OS Building Blocks</a> are immensely helpful when you want to create an application that blends in with the stock system interface</li>
<li><a href="https://github.com/mozilla/localForage" target="_blank">localForage</a>, a Mozilla's library for simple access to asynchronous storage</li>
<li>The <a href="http://timc.idv.tw/wordcloud/" target="_blank">HTML5 Word Cloud</a> for sharing Google OAuth class</li>
<li>The <a href="https://github.com/flaki/checkinfox" target="_blank">Check-in Fox</a>, a FourSquare client for Firefox OS, for inspiration and sharing some ideas</li>
<li><a href="https://play.google.com/store/apps/details?id=ch.teamtasks.tasks" target="_blank">Tasks Android App</a> for inspiration and some great ideas</li>
<li>The <a href="https://github.com/dmitryf/elements" target="_blank">LESS Elements</a>, a set of useful mixins for <a href="http://lesscss.org/">LESS</a>, the CSS pre-processor</li>
</ul>
<header><h2>Privacy</h2></header>
<p>
Fire Tasks uses the <a href="https://developers.google.com/google-apps/tasks" target="_blank">Google Tasks API</a>.
To interact with the API, the user needs to be authenticated and request an "API KEY" for the app.
The app stores this API key in the device's local storage — no one could access your API key,
without firstly somehow accessing your device and/or your login and password.
Developers do not use, distribute or in other ways publish these or any other sensitive data of the authenticated user.
</p>
<p>
Google Analytics is used to collect anonymous stats about app usage.
</p>
<p>
Anything you do while using Fire Tasks is absolutely up to you.
Fire Tasks is completely open-source,
so feel free to inspect source code if you meet any unusual behaviour and do not blame the developers.
</p>
<header><h2>Licence</h2></header>
<p style="font-family: monospace; text-align: justify;">
<small>
Copyright © 2013-2014, Alexei Koliada
<br />
All rights reserved.
<br />
<br />
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:<br />
<br />
1. Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.
<br />
2. Redistributions in binary form must reproduce the above copyright notice, this list
of conditions and the following disclaimer in the documentation and/or other materials
provided with the distribution.
<br />
<br />
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</small>
</p>
</article>
</section>
</section>
<!-- LIST ACTIONS -->
<section id="list-actions" data-position="back" class="fullscreen">
<form role="dialog" data-type="action">
<header>Task List</header>
<menu>
<button id="btn-rename-list" class="prevent-default">Rename task list</button>
<button id="btn-delete-list" class="prevent-default">Delete task list</button>
<button class="prevent-default">Cancel</button>
</menu>
</form>
</section>
<!-- TASKS ACTIONS -->
<section id="tasks-actions" data-position="back" class="fullscreen">
<form role="dialog" data-type="action">
<header>Tasks Actions</header>
<menu>
<button id="btn-sort-tasks" class="prevent-default">Sort mode</button>
<button id="btn-share-tasks" class="prevent-default">Export task list</button>
<button class="prevent-default">Cancel</button>
</menu>
</form>
</section>
<!-- TASKS SORT MODE -->
<section id="tasks-sort-mode" data-position="back" class="fullscreen">
<form role="dialog" data-type="action">
<header>Set sort mode</header>
<menu>
<button id="btn-sort-tasks-my-order" class="prevent-default">My order</button>
<button id="btn-sort-tasks-alphabetical" class="prevent-default">Alphabetical</button>
<button id="btn-sort-tasks-due-date" class="prevent-default" disabled="disabled">Due date</button>
<button class="prevent-default">Cancel</button>
</menu>
</form>
</section>
<!-- MOVE TASKS DIALOG -->
<section id="tasks-move-to" data-position="back" class="fullscreen">
<form role="dialog" data-type="action">
<header>Move to</header>
<menu>
<button class="prevent-default">Cancel</button>
</menu>
</form>
</section>
<!-- LIST FORM -->
<section id="list-form" data-position="back">
<section role="region">
<header class="fixed">
<a id="btn-list-form-back" href="#" class="prevent-default"><span class="icon icon-back">back</span></a>
<menu type="toolbar">
<button id="btn-list-form-ok">Create</button>
</menu>
<h1>Create Task List</h1>
</header>
<article class="content scrollable header">
<header><h2>Set list name</h2></header>
<form>
<p>
<input type="text" name="list_name" placeholder="New List" autocomplete="off">
<button type="reset">Clear</button>
</p>
</form>
</article>
</section>
</section>
<!-- TASK FORM -->
<section id="task-form" data-position="back">
<section role="region">
<header class="fixed">
<a id="btn-task-form-back" href="#" class="prevent-default"><span class="icon icon-back">back</span></a>
<menu type="toolbar">
<button id="btn-task-form-delete">Delete</button>
<button id="btn-task-form-ok">Error</button>
</menu>
<h1>Create Task</h1>
</header>
<article class="content scrollable header">
<form>
<p class="has-margin">
<input type="text" name="title" placeholder="New Task" autocomplete="off">
<button type="reset">Clear</button>
</p>
<a href="#" class="prevent-default">
<label class="pack-checkbox">
<input type="checkbox" name="completed">
<span></span>
</label>
<p>Completed</p>
</a>
</form>
<header><h2>Notes</h2></header>
<form>
<label>
<textarea name="notes"></textarea>
</label>
</form>
<header><h2>Due date</h2></header>
<form>
<ol>
<li>
<label>
<span class="button icon icon-dialog">
<input name="due" placeholder="Due date" type="date" class="hidden-input" disabled="disabled" />
<!-- TODO: clear button -->
<span class="datetime" id="start-date-locale"></span>
</span>
</label>
</li>
</ol>
</form>
<header><h2>Task list</h2></header>
<form>
<ol>
<li>
<label>
<span class="button icon icon-dialog">
<select name="listId">
<option value="">Error loading task lists</option>
</select>
</span>
</label>
</li>
</ol>
</form>
</article>
</section>
</section>
<!-- SETUP -->
<section id="setup" data-position="back">
<form role="dialog" data-type="confirm">
<section>
<h1>Work offline</h1>
<p>Fire Tasks needs your tasks to be downloaded and stored on your device. Press Start to begin.</p>
<span class="description"></span><span role="status"><span>0</span>%</span>
<progress value="0" max="100"></progress>
</section>
<menu><button id="btn-start-import" class="full prevent-default">Start</button></menu>
</form>
</section>
<!-- CONFIRM -->
<section id="confirm" data-position="back" class="fullscreen">
<form role="dialog" data-type="confirm">
<section>
<h1>Confirmation</h1>
<p>Text</p>
</section>
<menu>
<button id="btn-confirm-cancel" class="prevent-default">Cancel</button>
<button class="danger prevent-default" id="btn-confirm-ok">Delete</button>
</menu>
</form>
</section>
<!-- INSTRUCTIONAL OVERLAY -->
<section id="instructional-overlay" data-position="back">
<canvas width="640" height="480">Browser doesn't support canvas. Tap anywhere to start using Fire Tasks!</canvas>
</section>
<!-- AUTHENTICATION WAITING DIALOG -->
<section id="auth-waiting-dialog" data-position="back" class="fullscreen">
<form role="dialog" data-type="confirm">
<section>
<h1>Waiting for authentication</h1>
<p>
Fire Tasks needs Google authentication.<br/>
Please login with your Google account by pressing the button bellow.
</p>
<p style="text-align: center;"><progress></progress></p>
</section>
<menu>
<button class="recommend prevent-default" id="btn-auth-waiting-reopen-dialog">Open Authentication Dialog</button>
</menu>
</form>
</section>
<script type="text/javascript" src="js/lib/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="js/lib/jquery-ui-1.10.3.custom.min.js"></script>
<script type="text/javascript" src="js/lib/jquery.ui.touch-punch.min.js"></script>
<script type="text/javascript" src="js/lib/localforage.min.js"></script>
<script type="text/javascript" src="js/status.min.js"></script>
<script type="text/javascript" defer src="js/lib/google-oauth2.min.js"></script>
<script type="text/javascript" defer src="js/lib/event-processor.min.js"></script>
<script type="text/javascript" defer src="js/lib/sync.min.js"></script>
<script type="text/javascript" defer src="js/lib/longpress.min.js"></script>
<script type="text/javascript" defer src="js/auth.min.js"></script>
<script type="text/javascript" defer src="js/settings.min.js"></script>
<script type="text/javascript" defer src="js/list.min.js"></script>
<script type="text/javascript" defer src="js/list.view.min.js"></script>
<script type="text/javascript" defer src="js/task.min.js"></script>
<script type="text/javascript" defer src="js/task.view.min.js"></script>
<script type="text/javascript" defer src="js/edit-mode.min.js"></script>
<script type="text/javascript" defer src="js/app.min.js"></script>
<!-- DEBUG -->
<!--<script type="text/javascript" src="js/lib/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="js/lib/jquery-ui-1.10.3.custom.min.js"></script>
<script type="text/javascript" src="js/lib/jquery.ui.touch-punch.js"></script>
<script type="text/javascript" src="js/lib/localforage.min.js"></script>
<script type="text/javascript" src="js/status.js"></script>
<script type="text/javascript" defer src="js/lib/google-oauth2.js"></script>
<script type="text/javascript" defer src="js/lib/event-processor.js"></script>
<script type="text/javascript" defer src="js/lib/sync.js"></script>
<script type="text/javascript" defer src="js/lib/longpress.js"></script>
<script type="text/javascript" defer src="js/auth.js"></script>
<script type="text/javascript" defer src="js/settings.js"></script>
<script type="text/javascript" defer src="js/list.js"></script>
<script type="text/javascript" defer src="js/list.view.js"></script>
<script type="text/javascript" defer src="js/task.js"></script>
<script type="text/javascript" defer src="js/task.view.js"></script>
<script type="text/javascript" defer src="js/edit-mode.js"></script>
<script type="text/javascript" defer src="js/app.js"></script>-->
</body>
</html>