-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathhistory.html
144 lines (116 loc) · 5.58 KB
/
history.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Records | Productivity Meter</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<!--Font Awesome -->
<script src="https://kit.fontawesome.com/9a8e0f426e.js" crossorigin="anonymous"></script>
<!-- <link href="./style.css" rel="stylesheet"> -->
<link href="./style.css" rel="stylesheet">
<link href="./history.css" rel="stylesheet">
</head>
<body>
<div id="backDrop"></div>
<div id="confirmation">
<div id="confirmMatter">Matter goes here:</div>
<button class="feature btn" id="confirmYes">Button Info goes here</button>
<button class="feature btn" id="confirmNo">Button Info goes here</button>
</div>
<div class="navigation">
<!-- Nav Bar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="index.html">Productivity Meter</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link"
href="https://github.com/Raghwendra-Dey/productivity_meter/blob/master/README.md#usage"><i
class="fas fa-info-circle nav-icon"></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/Raghwendra-Dey/productivity_meter"><i
class="fab fa-github nav-icon"></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="./index.html"><i class="fas fa-home nav-icon"></i></a>
</li>
</ul>
</div>
</nav>
</div>
<div id="selection">
<button class="feature btn">Select</button>
</div>
<div class="selectionCtrls" id="selectBar">
<input type="checkbox" class="selectAll" id="selectAll">
<label for="selectAll"></label>
<button class="feature btn selectAll">Select All</button>
<button class="feature btn closeSelect">Close</button>
</div>
<div id="records">
No Records Found. Please make sure that you have used this app in this device before tracking for records.
</div>
<div class="selectionCtrls">
<button id="delete" class="feature btn btn-danger">Delete</button>
</div>
<script type="text/html" id="recordTemplate">
<div class="record" id="record@record_id@" unique_key="@unique_key@">
<div class="clickable">
<div class="selected"></div>
</div>
<div class="recordDetails">
<input type="checkbox" id="recordTickBox_@record_id@" class="recordTickBox" />
<label for="recordTickBox_@record_id@" class="recordTickLabel"></label>
<button class="toggler" pos=0>V</button>
<h2 class="recordName">@name@</h2>
<a href="./index.html?timer=@record_id@">
<button class="feature btn">
Load into Timer
</button>
</a>
<div class="timesData">
Date First Saved: @first_save_time@ <br/>
Date Last Saved: @last_save_time@ <br/>
Time Devoted: @devoted_time@ <br/>
Actual Time Used : @used_time@ <br/>
Time Wasted : @wasted_time@ <br/>
No. of Problems solved : @prob_count@ <br/>
Average time per problem : @avg_prob_time@
</div>
</div>
<div class="tasksBlock">
Tasks analysis:
<div class="tasks">
Unable to find any tasks.
</div>
</div>
</div>
</script>
<script type="text/html" id="taskTemplate">
<div class="task" id="task@record_id@_@task_enum@">
<input type="checkbox" disabled @completed@ id="taskCheckBox@record_id@_@task_enum@" class="taskCheckBox">
<label for="taskCheckBox@record_id@_@task_enum@" class="taskTickLabel"></label>
<div class="taskName">
@task_enum@. @task_name@
</div>
</div>
</script>
<!-- jQuery and Bootstrap Bundle -->
<script src="https://code.jquery.com/jquery-3.5.1.js"
integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous">
</script>
<!--Internal Script.js-->
<script src="./script.js"></script>
<script src="./history.js"></script>
</body>
</html>