|
29 | 29 | <div id='block'> |
30 | 30 | <div id='settingsBlock'> |
31 | 31 | <label> |
32 | | - <input type="checkbox" class="filled-in" id="viewTimeInBadge" checked="checked" /> |
33 | | - <span>Display time tracker in icon</span> |
34 | | - </label> |
| 32 | + <input type="checkbox" class="filled-in" id="viewTimeInBadge" checked="checked" /> |
| 33 | + <span>Display time tracker in icon</span> |
| 34 | + </label> |
35 | 35 | <div class="margin-top-10"> |
36 | 36 | <label>Stop tracking if no activity detected for: </label> |
37 | 37 | <div class="tooltip"><img src="/icons/information.svg" height="18" /> |
38 | 38 | <span class="tooltiptext">An activity is an action with a mouse or keyboard</span> |
39 | 39 | </div> |
40 | 40 | <div class="margin-top-10"> |
41 | 41 | <select id='intervalInactivity' class="option"> |
42 | | - <option value="30">30 seconds</option> |
43 | | - <option value="45">45 seconds</option> |
44 | | - <option value="60">1 min</option> |
45 | | - <option value="120">2 min</option> |
46 | | - <option value="300">5 mins</option> |
47 | | - <option value="600">10 mins</option> |
48 | | - <option value="1200">20 mins</option> |
49 | | - <option value="1800">30 mins</option> |
50 | | - </select> |
| 42 | + <option value="30">30 seconds</option> |
| 43 | + <option value="45">45 seconds</option> |
| 44 | + <option value="60">1 min</option> |
| 45 | + <option value="120">2 min</option> |
| 46 | + <option value="300">5 mins</option> |
| 47 | + <option value="600">10 mins</option> |
| 48 | + <option value="1200">20 mins</option> |
| 49 | + <option value="1800">30 mins</option> |
| 50 | + </select> |
51 | 51 | </div> |
52 | 52 | <div class="margin-top-10"><label>Default range for days:</label></div> |
53 | 53 | <div class="margin-top-10"> |
54 | 54 | <select id='rangeToDays' class="option"> |
55 | | - <option value="days2">2 days</option> |
56 | | - <option value="days3">3 days</option> |
57 | | - <option value="days4">4 days</option> |
58 | | - <option value="days5">5 days</option> |
59 | | - <option value="days6">6 days</option> |
60 | | - <option value="days7">7 days</option> |
61 | | - <option value="month1">1 month</option> |
62 | | - <option value="month2">2 month</option> |
63 | | - <option value="month3">3 month</option> |
64 | | - </select> |
| 55 | + <option value="days2">2 days</option> |
| 56 | + <option value="days3">3 days</option> |
| 57 | + <option value="days4">4 days</option> |
| 58 | + <option value="days5">5 days</option> |
| 59 | + <option value="days6">6 days</option> |
| 60 | + <option value="days7">7 days</option> |
| 61 | + <option value="month1">1 month</option> |
| 62 | + <option value="month2">2 month</option> |
| 63 | + <option value="month3">3 month</option> |
| 64 | + </select> |
65 | 65 | </div> |
66 | 66 | <div class="margin-top-10"> |
67 | 67 | <label>Ignored list of domain: </label> |
|
84 | 84 | </div> |
85 | 85 | <!-- YouTube --> |
86 | 86 | <div class="margin-top-10"> |
87 | | - <label class="block">Web Activity Time Tracker tracks your activity, if you active in browser (mouse |
88 | | - or keyboard). |
89 | | - In order for the extension to also track when you watch a video on YouTube / Netflix, you need grant |
90 | | - permission to |
91 | | - access the sites. |
92 | | - It is necessary that extension will get access to DOM (Document Object Model).</label> |
| 87 | + <label class="block">Web Activity Time Tracker tracks your activity, if you active in browser |
| 88 | + (mouse |
| 89 | + or keyboard). |
| 90 | + In order for the extension to also track when you watch <span class="bold">a video on |
| 91 | + YouTube / Netflix</span>, you need grant |
| 92 | + permission to |
| 93 | + access the sites. |
| 94 | + It is necessary that extension will get access to DOM (Document Object Model).</label> |
93 | 95 | </div> |
94 | 96 | <div class="margin-top-10"> |
95 | | - <label class="block">YouTube</label> |
96 | | - <input class="margin-top-10" type="button" value="Grant permission" id='grantPermissionForYT'> |
97 | | - <div class="inline-block"> |
98 | | - <div id='permissionSuccessedBlockForYT' hidden> |
99 | | - <img src="/icons/success.png" height="18" /> |
100 | | - <label>Permissions have been granted</label> |
101 | | - </div> |
| 97 | + <label class="bold site-name">YouTube</label> |
| 98 | + <input class="margin-top-10 permission-btn" type="button" value="Grant permission" |
| 99 | + id='grantPermissionForYT'> |
| 100 | + <div id='permissionSuccessedBlockForYT' hidden> |
| 101 | + <img src="/icons/success.png" height="18" /> |
| 102 | + <label>Permissions have been granted</label> |
102 | 103 | </div> |
103 | 104 | </div> |
104 | 105 | <!-- Netflix --> |
105 | 106 | <div class="margin-top-10"> |
106 | | - <label class="block">Netflix</label> |
107 | | - <input class="margin-top-10" type="button" value="Grant permission" id='grantPermissionForNetflix'> |
108 | | - <div class="inline-block"> |
109 | | - <div id='permissionSuccessedBlockForNetflix' hidden> |
110 | | - <img src="/icons/success.png" height="18" /> |
111 | | - <label>Permissions have been granted</label> |
112 | | - </div> |
| 107 | + <label class="bold site-name">Netflix</label> |
| 108 | + <input class="margin-top-10 permission-btn" type="button" value="Grant permission" |
| 109 | + id='grantPermissionForNetflix'> |
| 110 | + <div id='permissionSuccessedBlockForNetflix' hidden> |
| 111 | + <img src="/icons/success.png" height="18" /> |
| 112 | + <label>Permissions have been granted</label> |
113 | 113 | </div> |
114 | 114 | </div> |
115 | 115 | <div class="margin-top-10"> |
|
124 | 124 | <div id='restrictionsBlock' hidden> |
125 | 125 | <label>Access daily restrictions for websites: </label> |
126 | 126 | <div class="tooltip"><img src="/icons/information.svg" height="18" /> |
127 | | - <span class="tooltiptext">Set the time you can spend on the site during the day. After this time, access |
128 | | - to the site will be blocked.</span> |
| 127 | + <span class="tooltiptext">Set the time you can spend on the site during the day. After this time, |
| 128 | + access |
| 129 | + to the site will be blocked.</span> |
129 | 130 | </div> |
130 | 131 | <div class="margin-top-10"> |
131 | | - <input type="text" class="label-with-list" placeholder="Enter site name..." id='addRestrictionSiteLbl' /> |
| 132 | + <input type="text" class="label-with-list" placeholder="Enter site name..." |
| 133 | + id='addRestrictionSiteLbl' /> |
132 | 134 | <div class="inline-block clockpicker" data-placement="left" data-align="top" data-autoclose="true"> |
133 | 135 | <input type="text" class="clock" placeholder="Time..." readonly id="addRestrictionTimeLbl"> |
134 | 136 | </div> |
|
145 | 147 | <label>List of sites with notifications: </label> |
146 | 148 | <div class="tooltip"><img src="/icons/information.svg" height="18" /> |
147 | 149 | <span class="tooltiptext">Show notifications every time you spend a specified time interval on the |
148 | | - site</span> |
| 150 | + site</span> |
149 | 151 | </div> |
150 | 152 | <div class="margin-top-10"> |
151 | 153 | <input type="text" class="label-with-list" placeholder="Enter site name..." id='addNotifySiteLbl' /> |
|
168 | 170 | </div> |
169 | 171 | </div> |
170 | 172 | <div class="margin-top-10"> |
171 | | - <label class="block">In order to Web Activity Time Tracker showed notifications every time you spend a specified time interval on the site, you need grant permission to access for notifications. |
172 | | - </label> |
173 | | - <input class="margin-top-10" type="button" value="Grant permission" id='grantPermissionForNotifications'> |
174 | | - <div class="inline-block"> |
175 | | - <div id='permissionSuccessedBlockForNotifications' hidden> |
176 | | - <img src="/icons/success.png" height="18" /> |
177 | | - <label>Permissions have been granted</label> |
178 | | - </div> |
| 173 | + <label class="block">In order to Web Activity Time Tracker showed notifications every time you spend |
| 174 | + a specified time interval on the site, you need grant permission to access for notifications. |
| 175 | + </label> |
| 176 | + <input class="margin-top-10 permission-btn" type="button" value="Grant permission" |
| 177 | + id='grantPermissionForNotifications'> |
| 178 | + <div id='permissionSuccessedBlockForNotifications' hidden> |
| 179 | + <img src="/icons/success.png" height="18" /> |
| 180 | + <label>Permissions have been granted</label> |
179 | 181 | </div> |
180 | 182 | </div> |
181 | 183 | <div class="notify warning notify-width-300" id='notifyForNotifyList' hidden> |
|
184 | 186 | </div> |
185 | 187 | <div id='aboutBlock' hidden> |
186 | 188 | <div><label id='version'></label></div> |
187 | | - <div class="margin-top-20"><label>GitHub: <a href="https://github.com/Stigmatoz/web-activity-time-tracker" |
188 | | - target="_blank">github.com/Stigmatoz/web-activity-time-tracker</a></label> |
| 189 | + <div class="margin-top-20"><label>GitHub: <a |
| 190 | + href="https://github.com/Stigmatoz/web-activity-time-tracker" |
| 191 | + target="_blank">github.com/Stigmatoz/web-activity-time-tracker</a></label> |
189 | 192 | </div> |
190 | | - <div class="margin-top-20"><label>If you have feedback or would like to report an issue, you can do so on |
191 | | - the <a href="https://github.com/Stigmatoz/web-activity-time-tracker/issues" target="_blank">GitHub |
192 | | - issues page</a></label> |
| 193 | + <div class="margin-top-20"><label>If you have feedback or would like to report an issue, you can do so |
| 194 | + on |
| 195 | + the <a href="https://github.com/Stigmatoz/web-activity-time-tracker/issues" |
| 196 | + target="_blank">GitHub |
| 197 | + issues page</a></label> |
193 | 198 | </div> |
194 | 199 | <div class="margin-top-20"> |
195 | 200 | <label>If experiencing problems, having questions or suggestions, please fill out <a |
196 | | - href="https://chrome.google.com/webstore/detail/web-activity-time-tracker/hhfnghjdeddcfegfekjeihfmbjenlomm/support" |
197 | | - target="_blank">support |
198 | | - form</a>.</label> |
| 201 | + href="https://chrome.google.com/webstore/detail/web-activity-time-tracker/hhfnghjdeddcfegfekjeihfmbjenlomm/support" |
| 202 | + target="_blank">support |
| 203 | + form</a>.</label> |
199 | 204 | </div> |
200 | 205 | <div class="margin-top-20"> |
201 | 206 | <label>Do you enjoy using Web Activity Time Tracker? <a |
202 | | - href="https://chrome.google.com/webstore/detail/web-activity-time-tracker/hhfnghjdeddcfegfekjeihfmbjenlomm/reviews" |
203 | | - target="_blank">Let me know!</a></label> |
| 207 | + href="https://chrome.google.com/webstore/detail/web-activity-time-tracker/hhfnghjdeddcfegfekjeihfmbjenlomm/reviews" |
| 208 | + target="_blank">Let me know!</a></label> |
204 | 209 | </div> |
205 | 210 | <hr class="margin-top-20"> |
206 | 211 | <div class="margin-top-20"> |
207 | 212 | <label>You can support Web Activity Time Tracker by donating:</label> |
208 | 213 | <div class="margin-top-20"> |
209 | 214 | <div class="inline-block"> |
210 | | - <a class="bmc-button" target="_blank" href="https://www.buymeacoffee.com/webtracker"><img src="/icons/bmc-new-btn-logo.svg" alt="Buy me a coffee"><span>Buy me a coffee</span></a> |
211 | | - </div> |
212 | | - <div class="inline-block"> |
213 | | - <a class="button" target="_blank" href="https://www.patreon.com/bePatron?u=19558753" data-patreon-widget-type="become-patron-button">Become a Patron!</a> |
| 215 | + <a class="bmc-button" target="_blank" href="https://www.buymeacoffee.com/webtracker"><img |
| 216 | + src="/icons/bmc-new-btn-logo.svg" alt="Buy me a coffee"><span>Buy me a |
| 217 | + coffee</span></a> |
214 | 218 | </div> |
215 | 219 | </div> |
216 | 220 | </div> |
|
0 commit comments