forked from Stigmatoz/web-activity-time-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
185 lines (180 loc) · 9.11 KB
/
options.html
File metadata and controls
185 lines (180 loc) · 9.11 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
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Web Activity Time Tracker</title>
<link href="style/picker/standalone.min.css" rel="stylesheet" />
<link href="style/picker/clockpicker.min.css" rel="stylesheet" />
<link href="style/settings.css" rel="stylesheet" />
<script src="scripts/common.js"></script>
<script src="scripts/storage.js"></script>
<script src="scripts/settings.js"></script>
<script src="scripts/restriction.js"></script>
<script src="scripts/picker/jquery-3.3.1.min.js"></script>
<script src="scripts/picker/clockpicker.min.js"></script>
</head>
<body>
<div class="content">
<div class="header">
<p class="title">Web Activity Time Tracker</p>
</div>
<div id='nav' class="nav">
<a id='settingsBtn' class="active">Settings</a>
<a id='restrictionsBtn'>Limits</a>
<a id='aboutBtn'>About</a>
</div>
<div id='block'>
<div id='settingsBlock'>
<label>
<input type="checkbox" class="filled-in" id="viewTimeInBadge" checked="checked" />
<span>Display time tracker in icon</span>
</label>
<div class="margin-top-10">
<label>Stop tracking if no activity detected for: </label>
<div class="tooltip"><img src="/icons/information.svg" height="18" />
<span class="tooltiptext">An activity is an action with a mouse or keyboard</span>
</div>
<div class="margin-top-10">
<select id='intervalInactivity' class="option">
<option value="30">30 seconds</option>
<option value="45">45 seconds</option>
<option value="60">1 min</option>
<option value="120">2 min</option>
<option value="300">5 mins</option>
<option value="600">10 mins</option>
<option value="1200">20 mins</option>
<option value="1800">30 mins</option>
</select>
</div>
<div class="margin-top-10"><label>Default range for days:</label></div>
<div class="margin-top-10">
<select id='rangeToDays' class="option">
<option value="days2">2 days</option>
<option value="days3">3 days</option>
<option value="days4">4 days</option>
<option value="days5">5 days</option>
<option value="days6">6 days</option>
<option value="days7">7 days</option>
<option value="month1">1 month</option>
<option value="month2">2 month</option>
<option value="month3">3 month</option>
</select>
</div>
<div class="margin-top-10">
<label>Ignored list of domain: </label>
<div class="tooltip"><img src="/icons/information.svg" height="18" />
<span class="tooltiptext">Activity for these domains not will tracked</span>
</div>
<div class="margin-top-10">
<ul id='blackList' class="listbox" size="7"></ul>
</div>
<div class="margin-top-10">
<input type="text" placeholder="Enter site name..." id='addBlackSiteLbl' />
<input type="button" value="+" id='addBlackSiteBtn' />
</div>
<div class="notify warning" id='notifyForBlackList' hidden>
The site is already in the list
</div>
</div>
<div class="margin-top-10">
<input type="button" value="Export to CSV" id='exportToCsv'>
</div>
<div class="margin-top-10">
<label>Data in memory use </label><label id='memoryUse'></label>
</div>
<div class="margin-top-10"><input type="button" value="Clear all data" id='clearAllData'></div>
<div class="notify" id='notify' hidden>
Data succeed deleted
</div>
</div>
</div>
<div id='restrictionsBlock' hidden>
<label>Access daily restrictions for websites: </label>
<div class="tooltip"><img src="/icons/information.svg" height="18" />
<span class="tooltiptext">Set the time you can spend on the site during the day. After this time, access
to the site will be blocked.</span>
</div>
<div class="margin-top-10">
<input type="text" placeholder="Enter site name..." id='addRestrictionSiteLbl' />
<div class="inline-block clockpicker" data-placement="left" data-align="top" data-autoclose="true">
<input type="text" class="clock" placeholder="Time..." readonly id="addRestrictionTimeLbl">
</div>
<input type="button" value="+" id='addRestrictionSiteBtn' />
</div>
<div class="margin-top-10">
<ul id='restrictionsList' class="listbox" size="10"></ul>
</div>
<div class="notify warning" id='notifyForRestrictionList' hidden>
The site is already in the list
</div>
</div>
<div id='aboutBlock' hidden>
<div><label id='version'></label></div>
<div class="margin-top-20">
<label>If experiencing problems, having questions or suggestions, please fill out <a
href="https://chrome.google.com/webstore/detail/web-activity-time-tracker/hhfnghjdeddcfegfekjeihfmbjenlomm/support"
target="_blank">support
form</a>.</label>
</div>
<div class="margin-top-20">
<label>Do you enjoy using Web Activity Time Tracker? <a
href="https://chrome.google.com/webstore/detail/web-activity-time-tracker/hhfnghjdeddcfegfekjeihfmbjenlomm/reviews"
target="_blank">Let me know!</a></label>
</div>
<div class="margin-top-10">
<label>If you like what I'm accomplishing, feel free to buy me a coffee ☕️ Thank you for your
support!</label>
<div class="margin-top-10">
<style>
.bmc-button img {
width: 27px !important;
margin-bottom: 1px !important;
box-shadow: none !important;
border: none !important;
vertical-align: middle !important;
}
.bmc-button {
line-height: 36px !important;
height: 37px !important;
text-decoration: none !important;
display: inline-flex !important;
color: #FFFFFF !important;
background-color: #FF813F !important;
border-radius: 3px !important;
border: 1px solid transparent !important;
padding: 1px 9px !important;
font-size: 22px !important;
letter-spacing: 0.6px !important;
box-shadow: 0px 1px 2px rgba(190, 190, 190, 0.5) !important;
-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
margin: 0 auto !important;
font-family: 'Cookie', cursive !important;
-webkit-box-sizing: border-box !important;
box-sizing: border-box !important;
-o-transition: 0.3s all linear !important;
-webkit-transition: 0.3s all linear !important;
-moz-transition: 0.3s all linear !important;
-ms-transition: 0.3s all linear !important;
transition: 0.3s all linear !important;
}
.bmc-button:hover,
.bmc-button:active,
.bmc-button:focus {
-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
text-decoration: none !important;
box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
opacity: 0.85 !important;
color: #FFFFFF !important;
}
</style>
<link href="https://fonts.googleapis.com/css?family=Cookie" rel="stylesheet"><a class="bmc-button"
target="_blank" href="https://www.buymeacoffee.com/webactivitytime"><img
src="https://www.buymeacoffee.com/assets/img/BMC-btn-logo.svg" alt="Buy me a coffee"><span
style="margin-left:5px">Buy me a coffee</span></a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>