-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasklist.html
177 lines (171 loc) · 8.24 KB
/
tasklist.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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<title>HiLife</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-title" content="HiLife">
<meta name="mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-slider.min.css">
<style>
body {
padding-top: 10px;
}
.glyphicon {
position: relative;
top: 2px;
}
.nav-tabs > li, .nav-pills > li {
float:none;
display:inline-block;
}
.nav-tabs, .nav-pills {
text-align:center;
}
.slider {
position: relative;
left: 13px;
}
.goalAmount {
position: relative;
right: 25px;
top: 25px;
font-size: 48px;
}
</style>
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
</head>
<body>
<a href="dashboard.html" class="btn btn-link" role="button">
<span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span> Dashboard
</a>
<div role="tabpanel" role="tablist">
<ul class="nav nav-tabs">
<li role="presentation" class="active"><a href="#inprogress" aria-controls="In Progress" role="tab" data-toggle="tab">In Progress</a></li>
<li role="presentation"><a href="#complete" aria-controls="Complete" role="tab" data-toggle="tab">Complete</a></li>
</ul>
</div>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="inprogress">
<div class="container-fluid">
<div class="row">
<div class="col-xs-10">
<h4>
Read 50 Pages 
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
<span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
</h4>
<input id="slider1" type="text" data-slider-value="37" data-slider-ticks="[0, 50]" data-slider-ticks-snap-bounds="0" data-slider-ticks-labels="['0', '50']"/>
</div>
<div class="col-xs-2">
<span class="goalAmount" id="slider1data">37</span>
</div>
</div>
<hr>
<div class="row">
<div class="col-xs-10">
<h4>
Run 50 Miles  
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
<span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
<input id="slider2" type="text" data-slider-value="17" data-slider-tooltip="hide" data-slider-ticks="[0, 10, 20, 30, 40, 50]" data-slider-ticks-snap-bounds="0" data-slider-ticks-labels="['0', '10', '20', '30', '40', '50']"/>
</div>
<div class="col-xs-2">
<span class="goalAmount" id="slider2data">17</span>
</div>
</div>
<hr>
<div class="row">
<div class="col-xs-10">
<h4>
Study 2 Hours 
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
<span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
<input id="slider3" type="text" data-slider-value="1" data-slider-tooltip="hide" data-slider-ticks="[0, 1, 2]" data-slider-ticks-snap-bounds="0" data-slider-ticks-labels="['0', '1', '2']"/>
</div>
<div class="col-xs-2">
<span class="goalAmount" id="slider3data">1</span>
</div>
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="complete">
<div class="panel panel-default">
<div class="panel-heading">2015 - 3 goals</div>
<ul class="list-group">
<li class="list-group-item">Learned how to lift.</li>
<li class="list-group-item">Finished a program in C++.</li>
<li class="list-group-item">Learned to be a badass.</li>
</ul>
</div>
<div class="panel panel-default">
<div class="panel-heading">2014 - 3 goals</div>
<ul class="list-group">
<li class="list-group-item">Spent more time with parents.</li>
<li class="list-group-item">Finished a quarter above a 3.5 GPA.</li>
<li class="list-group-item">Ran 1 mile.</li>
</ul>
</div>
<div class="panel panel-default">
<div class="panel-heading">2013 - 1 goal</div>
<ul class="list-group">
<li class="list-group-item">Read a book.</li>
</ul>
</div>
</div>
</div>
<script>
$('#inprogress a').click(function (e) {
e.preventDefault()
$(this).tab('show')
});
$('#complete a').click(function (e) {
e.preventDefault()
$(this).tab('show')
});
</script>
<script src="js/vendor/jquery-1.11.2.min.js"></script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/bootstrap-slider.min.js"></script>
<script>
var mySlider1 = $("#slider1").slider({
ticks: [0, 50],
ticks_labels: ['0', '50']
});
var mySlider2 = $("#slider2").slider({
ticks: [0, 10, 20, 30, 40, 50],
ticks_labels: ['0', '10', '20', '30', '40', '50']
});
var mySlider3 = $("#slider3").slider({
ticks: [0, 1, 2],
ticks_labels: ['0', '1', '2']
});
$("#slider1").on("slide", function(slideEvt) {
$("#slider1data").text(slideEvt.value);
});
$("#slider2").on("slide", function(slideEvt) {
$("#slider2data").text(slideEvt.value);
});
$("#slider3").on("slide", function(slideEvt) {
$("#slider3data").text(slideEvt.value);
});
</script>
<script src="js/inobounce.min.js"></script>
<script src="js/links.js"></script>
<script src="js/main.js"></script>
</body>
</html>