-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstats.html
More file actions
174 lines (136 loc) · 6.23 KB
/
stats.html
File metadata and controls
174 lines (136 loc) · 6.23 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>TWORKER</title>
<script type="application/x-javascript">
addEventListener("load", function() {
setTimeout(hideURLbar, 0);
}, false);
function hideURLbar() {
window.scrollTo(0, 1);
}
</script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<!-- Custom Theme files -->
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/font-awesome.css" rel="stylesheet">
<script src="js/jquery.min.js"> </script>
<script src="js/Chart.js"></script>
<link rel="stylesheet" href="Styles/style.css">
<link rel="stylesheet" href="Styles/ColorContainers.css">
</head>
<body>
<!-- Top White bar for login and notifies-->
<nav class="navbar">
<!-- This list should be centered -->
<ul class="nav mx-auto justify-content-center">
<!--
<li class="nav-item">
<a class="nav-link" data-click="prev-week"><span class="fa fa-arrow-circle-left "></span></a>
</li>
<li class="nav-item">
<a id="currentWeek" data-click="current-week" class="nav-link">Weekday Text</a>
</li>
<li class="nav-item">
<a class="nav-link" data-click="next-week"><span class="fa fa-arrow-circle-right"></span></a>
</li>
-->
</ul>
<!-- User login icon and notification-->
<div class="nav justify-content-right">
<!-- Notification Icons for important stuff, will be paired with some update routine maybe-->
<button type="button" data-click="notification" class="btn btn-outline-secondary btn-sm">
<span class="fa fa-comment badge badge-danger"> 9</span>
</button>
<!-- User Icon which toggles a dropdown for generic user options-->
<a class="nav-item dropdown-toggle" id="userIconDrop" role="button" data-toggle="dropdown">
<img alt="account button" src="http://lorempixel.com/40/40/abstract">
</a>
<!--Dropdown menu for use with the user icon-->
<div class="dropdown-menu dropdown-menu-right" id="userDropdownMenu" aria-labelledby="userIconDrop">
<a class="dropdown-item" href="stats.html">Personal Stats</a>
<a class="dropdown-item" data-toggle="modal" href="#settingModal">Settings</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" data-toggle="modal" href="#logoutModal">Logout</a>
</div>
</div>
</nav>
<div class="content">
<div class="graph">
<div class="graph-grid">
<div class="col-md-6 graph-1">
<div class="grid-1">
<h4>Tasks</h4>
<canvas id="bar1" height="300" width="500" style="width: 500px; height: 300px;"></canvas>
<script>
var barChartData = {
labels: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
datasets: [{
fillColor: "blue",
strokeColor: "blue",
data: [25, 40, 50, 65, 55, 30, 20]
},
{
fillColor: "red",
strokeColor: "red",
data: [30, 45, 55, 70, 40, 25, 15]
}
]
};
new Chart(document.getElementById("bar1").getContext("2d")).Bar(barChartData);
</script>
</div>
</div>
<div class="col-md-6 graph-2">
<div class="grid-1">
<h4>Tasks</h4>
<canvas id="line1" height="300" width="500" style="width: 500px; height: 300px;"></canvas>
<script>
var lineChartData = {
labels: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
datasets: [{
fillColor: "#fff",
strokeColor: "#1ABC9C",
pointColor: "#1ABC9C",
pointStrokeColor: "#1ABC9C",
data: [40, 35, 45, 30, 50, 30, 40]
}]
};
new Chart(document.getElementById("line1").getContext("2d")).Line(lineChartData);
</script>
</div>
</div>
<div class="clearfix"> </div>
</div>
</div>
<!------------------------------------->
<div class="clearfix"> </div>
</div>
<script src="js/bootstrap.min.js"> </script>
<!-- Mainly scripts -->
<script src="js/jquery.metisMenu.js"></script>
<script src="js/jquery.slimscroll.min.js"></script>
<!-- Custom and plugin javascript -->
<link href="css/custom.css" rel="stylesheet">
<script src="js/custom.js"></script>
<script src="js/screenfull.js"></script>
<script>
$(function() {
$('#supported').text('Supported/allowed: ' + !!screenfull.enabled);
if (!screenfull.enabled) {
return false;
}
$('#toggle').click(function() {
screenfull.toggle($('#container')[0]);
});
});
</script>
<!----->
<!--scrolling js-->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<!--//scrolling js-->
</body>
</html>