This repository was archived by the owner on May 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
121 lines (111 loc) · 4.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Discipline Score</title>
<meta name="description" content="Discipline Score Project">
<meta name="author" content="Senthil Kumaran">
<!-- Google font api -->
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Handlee">
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le styles -->
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="/">Discipline Score</a>
<div class="nav-collapse">
<ul class="nav">
<li class="active"><a href="/">Home</a></li>
<li><a href="/graph">Graph</a></li>
<li><a href="/future">Future Tasks</a></li>
<li><a href="/archives">Archives</a></li>
<li><a href='http://3.discipline-score.appspot.com' target="_blank">Older Version</a></li>
<li class="divider-vertical"/>
<li><a class="pull-right" href={{logout}}>Logout</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<center>
<table border="1" summary="discipline score of the day" class="table table-striped">
<caption>Discipline Score</caption>
<thead rowspan="2">
<tr colspan="5">
<th colspan="5">{{displaydate}}</th>
</tr>
<tr>
<th>Task</th>
<th>Start-Time</th>
<th>End-Time</th>
<th>Rating</th>
<th>Score</th>
</tr>
</thead>
<tfoot>
<tr><td colspan="5">
<center>
<a href="/new" class="btn btn-primary">new task</a>
</center>
</tr>
</tfoot>
<tbody>
{% for todo in filtered_todoitem %}
<tr><td>{{todo.description}}<td>{{todo.start_time|removesecs}}<td>{{todo.end_time|removesecs}}<td>{{todo.rating}}<td><a href="/edit?key={{todo.key}}">{{todo.score}}</a>
{% endfor %}
</tbody>
</table>
</br>
<table border="1" summary="discipline score summary" class="table">
<tbody>
<tr><td>Score of the day<td>{{score}}
<tr><td>Discipline Score<td>{{total_score}}
</tbody>
<table>
</br>
You are playing at {{total_score}}% of your potential.
</center>
</br>
</br>
</div> <!-- /container -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="bootstrap/js/jquery.js"></script>
<script src="bootstrap/js/bootstrap-transition.js"></script>
<script src="bootstrap/js/bootstrap-alert.js"></script>
<script src="bootstrap/js/bootstrap-modal.js"></script>
<script src="bootstrap/js/bootstrap-dropdown.js"></script>
<script src="bootstrap/js/bootstrap-scrollspy.js"></script>
<script src="bootstrap/js/bootstrap-tab.js"></script>
<script src="bootstrap/js/bootstrap-tooltip.js"></script>
<script src="bootstrap/js/bootstrap-popover.js"></script>
<script src="bootstrap/js/bootstrap-button.js"></script>
<script src="bootstrap/js/bootstrap-collapse.js"></script>
<script src="bootstrap/js/bootstrap-carousel.js"></script>
<script src="bootstrap/js/bootstrap-typeahead.js"></script>
</body>
</html>