/
index.html
143 lines (126 loc) · 4.7 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
<!DOCTYPE html>
<html manifest="/cache.manifest" itemscope itemtype="http://schema.org/Article">
<head>
<meta charset=utf-8>
<!-- Header tags for iPhone -->
<meta name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<title>TimeBend</title>
<meta property="og:title" content="TimeBend" />
<meta property="og:description" content="Today, do everything and more. A productivity technique." />
<meta property="og:image" content="http://timebend.me/apple-touch-icon.png" />
<meta itemprop="name" content="TimeBend" />
<meta itemprop="description" content="Today, do everything and more. A productivity technique." />
<meta itemprop="image" content="http://timebend.me/apple-touch-icon.png" />
<link href="stylesheets/site.css" media="screen" rel="stylesheet" type="text/css" />
<style>
#clear-tasks, .task {
touch-action: pan-y;
}
</style>
<script src="javascripts/lib/jquery-1.7.1.js" type="text/javascript"></script>
<script src="https://ricostacruz.com/jquery.transit/jquery.transit.min.js" type="text/javascript"></script>
<script src="javascripts/lib/jquery.fingers/lib/jquery.fingers.js" type="text/javascript"></script>
<script src="javascripts/lib/underscore-min.js" type="text/javascript"></script>
<script src="javascripts/lib/moment.js" type="text/javascript"></script>
<script src="javascripts/app.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
$('document').ready(function(){
window.app = new App({el: $(document)});
});
</script>
<script src="javascripts/lib/phantom-limb.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
$('document').ready(function(){
// For testing on the desktop
if (!!('ontouchstart' in window) ? 0 : 1) {
phantom(true);
}
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-31015929-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body class="index">
<div id="wrapper" data-role="page" style="padding-bottom: 120px;">
<div id="status">
<div class="content">
<div id="day-start">
<div class="display">
<span class="time">00:00</span>
<span class="suffix">am</span>
</div>
<input type="time" />
<div class="label">day start</div>
</div>
<div id="reserve-left">
<div class="display">
<span class="time">00:00</span>
</div>
<div class="label">reserve left</div>
</div>
<div id="day-end">
<div class="display">
<span class="time">00:00</span>
<span class="suffix">am</span>
</div>
<input type="time" />
<div class="label">day end</div>
</div>
</div>
<div class="behind">
<img class="clock start" src="images/clock.png"/>
<img class="clock end" src="images/clock.png"/>
</div>
</div>
<div id="until-day-start">
<span class="display">
<span class="time">00:00</span>
</span>
<span class="label">until day start</span>
</div>
<div id="tasks">
<div id="todo"></div>
<div id="new-task" style="touch-action: none;">
<div class="content">
↓ new task
</div>
</div>
<div id="done"></div>
<div id="clear-tasks">
<div class="content">
← clear all done
</div>
<div class="behind">
<img class="cross" src="images/cross.png"/>
</div>
</div>
</div>
</div>
<div id="templates">
<div id="task-template">
<div class="content{{ if(task.done) print(' done'); }}">
<div class="name">
<div class="display">{{= task.name }}</div>
<input type="text" value="{{= task.name }}">
</div>
<div class="duration">{{= formatMinutesIntoCounter(task.duration) }}</div>
</div>
<div class="behind">
<img class="check" src="images/check.png"/>
<img class="cross" src="images/cross.png"/>
</div>
</div>
</div>
</body>
</html>