-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
75 lines (58 loc) · 2.02 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
<!DOCTYPE html>
<html>
<head>
<!-- CSS -->
<link href="style/style.css" rel="stylesheet" />
<link href="style/picker/standalone.min.css" rel="stylesheet" />
<link href="style/picker/clockpicker.min.css" rel="stylesheet" />
<!-- External Sctipts -->
<script src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0"></script>
<script src="scripts/picker/jquery-3.3.1.min.js"></script>
<script src="scripts/picker/clockpicker.min.js"></script>
</head>
<body>
<div id="extensionTitle">
<p class="title">Web Activity Time Tracker</p>
</div>
<div id="buttons" class="btn-block">
<a class="active" id="btnToday">Today</a>
<!-- <a id="btnAll">All-time</a> -->
<a id="btnSettings">Settings</a>
</div>
<div id="today">
<canvas id="chart"></canvas>
<table id="timeTable"></table>
</div>
<div id="no-data">
<p> No Data </p>
</div>
<div id="settings">
<div class="margin-top-10">
<label class="setting-heading">List of sites with notifications </label>
</div>
<div class="margin-top-10">
<input type="text" class="label-with-list" placeholder="Enter site name..." id='addNotifySiteLbl' />
<div class="inline-block clockpicker" data-placement="left" data-align="top" data-autoclose="true">
<input type="text" class="clock" placeholder="Time..." readonly id="addNotifyTimeLbl" />
</div>
<input type="button" class="btn-with-list" value="+" id='addNotifySiteBtn' />
</div>
<div class="margin-top-10">
<ul id='notifyList' class="listbox list" size="10"></ul>
</div>
<div class="margin-top-10">
<label class='font-size-15'>Data in memory use </label>
<label id='memoryUse' class='font-size-15'></label>
<button id="btnClear"> Clear All Data </button>
</div>
</div>
<div id="errorMessage"></div>
<!-- Project Sctipts -->
<script src="scripts/storage.js"></script>
<script src="scripts/ui.js"></script>
<script src="scripts/settings.js"></script>
<script src="scripts/common.js"></script>
<script src="scripts/chart.js"></script>
<script src="scripts/activity.js"></script>
</body>
</html>