-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
75 lines (63 loc) · 1.59 KB
/
options.html
File metadata and controls
75 lines (63 loc) · 1.59 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/chartist.js/latest/chartist.min.css">
<script src="https://cdn.jsdelivr.net/chartist.js/latest/chartist.min.js"></script>
</head>
<style>
.tableContainer {
float: left;
width: 45%;
margin: 30px;
}
.centeredDiv {
text-align: center;
}
table,
th,
td {
border: 1px solid black;
}
.module {
margin:
}
</style>
<body>
<div class="centeredDiv">
<h style="font-size: 40px;">Distraction Destruction</h>
</div>
<div class="centeredDiv">
<button type="button" id="import">Import data</button>
<button type="button" id="export">Export data</button>
<button type="button" id="analyze">Analyze</button>
<input type="checkbox" id="debugBox">Debug</input>
</div>
<div class="centeredDiv">
<div style=" display: inline-block">
<table id="activity">
<thead>
<tr>
<th id="site_header">Site</th>
<th id="time_header">Duration</th>
<th># of visits</th>
</tr>
</thead>
<tbody id="activityBody">
</tbody>
</table>
</div>
</div>
<div class="centeredDiv">
<div class="tableContainer">
<h1 align="center">Time Distribution</h1>
<div class="ct-chart ct-golden-section" id="chart1"></div>
</div>
<div class="tableContainer">
<h1 align="center">Time spent on each site</h1>
<div class="ct-chart ct-golden-section" id="chart2"></div>
</div>
</div>
</body>
<script src="options.js"></script>
<script src="utils.js"></script>
</html>