-
Notifications
You must be signed in to change notification settings - Fork 188
Expand file tree
/
Copy pathpopup.html
More file actions
626 lines (566 loc) · 25.3 KB
/
popup.html
File metadata and controls
626 lines (566 loc) · 25.3 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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
<!DOCTYPE html>
<html lang="en" class="mode-sidepanel">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="tailwindcss.css">
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" href="fontawesome/css/all.min.css">
<style type="text/css">
html,
body {
margin: 0;
background: #eae4e4;
width: 100%;
height: 100%;
overflow: hidden;
}
body {
display: flex;
}
html.mode-sidepanel,
body.mode-sidepanel {
width: 100% !important;
height: 100% !important;
max-width: 100% !important;
max-height: 100% !important;
min-width: 360px;
min-height: 100% !important;
}
html.mode-popup,
body.mode-popup {
width: 360px !important;
height: 600px !important;
min-width: 360px;
max-width: 420px;
min-height: 600px !important;
max-height: 600px !important;
overflow: hidden !important;
}
#popupRoot {
flex: 1;
min-width: 360px;
flex-shrink: 0;
height: 100%;
overflow-y: auto;
overflow-x: hidden;
scrollbar-width: auto;
-ms-overflow-style: auto;
}
#platformSelect option {
font-family: 'FontAwesome', 'Arial', sans-serif;
}
#customPlatformDropdown {
position: relative;
}
#platformDropdownList {
display: none;
}
#customPlatformDropdown.open #platformDropdownList {
display: block;
}
#platformDropdownBtn:focus {
outline: 2px solid #2563eb;
}
/* Firefox Sidebar Fixes ONLY */
html.firefox-sidebar,
body.firefox-sidebar {
background: transparent !important;
min-width: 100% !important;
}
body.firefox-sidebar #popupRoot {
min-width: 100% !important;
}
</style>
</head>
<body class="mode-sidepanel text-gray-800 bg-gray-50 flex flex-col font-sans">
<div id="popupRoot" class="pl-1 py-2 rounded-2xl">
<div class="bg-white px-4 py-4 mx-2 mb-2 rounded-3xl">
<div class="flex justify-between py-2">
<h3 id="scrumHelperHeading" class="text-3xl font-semibold cursor-pointer">Scrum Helper</h3>
<img src="icons/night-mode.png" alt="Night Mode" class="w-7 h-7 mx-3 cursor-pointer"
id="darkModeToggle">
</div>
<div>
<p class="" data-i18n="appDescription">Report your development progress by auto-fetching your Git
activity for a selected period
</p>
</div>
<div class="center mt-2 flex justify-end">
<div class="flex">
<button id="homeButton"
class="ml-1 p-2 rounded hover:bg-gray-200 dark:hover:bg-gray-700 transition">
<i class="fa fa-home text-2xl text-gray-600 dark:text-gray-300"></i>
</button>
<button id="settingsToggle">
<img id="settingsIcon" src="icons/settings-light.png" alt="Settings"
class="w-6 h-6 mx-3 cursor-pointer">
</button>
</div>
</div>
</div>
<div class="rounded-2xl">
<div class=" border-gray-100 border-2 bg-white rounded-3xl px-4 py-4 mx-2 my-2">
<div id="reportSection" class="tab-content">
<div>
<p data-i18n="platformLabel" class="font-medium text-sm" style="margin-bottom: 0.3rem;">Platform
</p>
<div class="relative mb-4" id="customPlatformDropdown" style="margin-bottom: 0.8rem;">
<input type="hidden" id="platformSelect" value="github">
<button type="button" id="platformDropdownBtn"
class="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 pr-8 flex items-center justify-between focus:outline-none focus:ring-2 focus:ring-blue-500">
<span id="platformDropdownSelected" class="flex items-center gap-2">
<i class="fab fa-github" style="margin-right:8px;"></i> GitHub
</span>
<i class="fa fa-chevron-down text-gray-500"></i>
</button>
<ul id="platformDropdownList"
class="absolute left-0 right-0 bg-white border-2 border-gray-200 rounded-xl mt-1 shadow-lg z-10 hidden">
<li style="padding-left: 8px; padding-right: 16px; padding-top: 8px; padding-bottom: 8px; display: flex; align-items: center; cursor: pointer;"
class="hover:bg-gray-100" data-value="github">
<i class="fab fa-github" style="margin-right: 12px; font-size: 18px;"></i> GitHub
</li>
<li style="padding-left: 8px; padding-right: 16px; padding-top: 8px; padding-bottom: 8px; display: flex; align-items: center; cursor: pointer;"
class="hover:bg-gray-100" data-value="gitlab">
<i class="fab fa-gitlab" style="margin-right: 12px; font-size: 18px;"></i> GitLab
</li>
</ul>
</div>
</div>
<div>
<div class="flex">
<p class=" font-medium text-sm" data-i18n="projectNameLabel">Project Name (used in email
subject)</p><span class="tooltip-container ml-2">
<i class="fa fa-question-circle question-icon"></i>
<span class="tooltip-bubble" data-i18n="projectNameTooltip">
This project name will appear in the subject line of your email as part of:
"[Scrum] Project Name - Date”. Leave blank to skip.
</span>
</span>
</div>
<input id="projectName" type="text"
class="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2"
data-i18n-placeholder="projectNamePlaceholder" style="margin-top: 0.3rem; margin-bottom: 0.8rem;">
</div>
<div>
<p id="usernameLabel" class="font-medium text-sm" data-i18n="usernameLabel">Your Username</p>
<input id="platformUsername" type="text"
class="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2"
data-i18n-placeholder="githubUsernamePlaceholder"
style="margin-top: 0.3rem; margin-bottom: 0.8rem;">
</div>
<div>
<p class="text-lg mb-1 font-medium text-sm" data-i18n="contributionsLabel">Fetch your
contributions between:</p>
<div class="flex gap-[3px] justify-between items-center mt-2" style="gap: 8px">
<div id="customDateContainer" class="flex gap-2">
<div>
<label for="startingDate" class="flex items-center font-medium text-xs"
data-i18n="startDateLabel">From:</label>
<input type="date" id="startingDate"
class="border-2 border-gray-200 bg-gray-200 rounded-xl p-1"
style="width: 96px;">
</div>
<div>
<label for="endingDate" class="flex items-center font-medium text-xs"
data-i18n="endDateLabel">To:</label>
<input type="date" id="endingDate"
class="border-2 border-gray-200 bg-gray-200 rounded-xl p-1"
style="width: 96px;">
</div>
</div>
<div class="flex items-center gap-1">
<input type="radio" id="yesterdayContribution" name="timeframe" class="form-radio"
style="margin-right: 4px;">
<label for="yesterdayContribution" class="font-medium text-xs"
data-i18n="last1DayLabel">Previous Day</label>
</div>
</div>
</div>
<details class="group mb-4" style="margin-top: 1rem;">
<summary class="flex items-center justify-between cursor-pointer list-none font-medium text-sm text-gray-800 outline-none select-none pr-1">
<span data-i18n="advancedFiltersLabel">Advanced Filters</span>
<i class="fa fa-chevron-down text-gray-500 w-4 text-center transition-transform duration-200 group-open:-rotate-180"></i>
</summary>
<div class="mt-4 border-l-2 border-gray-200" style="margin-left: 0.25rem; padding-left: 1rem;">
<div class="my-2 flex items-center">
<input type="checkbox" id="showOpenLabel" class="form-checkbox text-blue-600">
<label id="checkboxLabel" for="showOpenLabel" class="font-medium text-sm"
style="margin-left: 4px;" data-i18n="showOpenClosedLabel">Show
PRs Labels</label>
</div>
<div class="my-4">
<div class="flex items-center">
<input type="checkbox" id="onlyIssues" class="form-checkbox text-blue-600">
<label for="onlyIssues" class="font-medium text-sm flex items-center"
style="margin-left: 4px;" data-i18n="onlyIssuesLabel">
Include only issues in the report
</label>
<span class="tooltip-container">
<i class="fa fa-question-circle question-icon"></i>
<span class="tooltip-bubble" data-i18n="onlyIssuesTooltip">
If checked, the report will only include issues created or assigned to the user.
</span>
</span>
</div>
</div>
<div class="my-4">
<div class="flex items-center">
<input type="checkbox" id="onlyPRs" class="form-checkbox text-blue-600">
<label for="onlyPRs" class="font-medium text-sm flex items-center" style="margin-left: 4px;"
data-i18n="onlyPRsLabel">
Include only PRs in the report
</label>
<span class="tooltip-container">
<i class="fa fa-question-circle question-icon"></i>
<span class="tooltip-bubble" data-i18n="onlyPRsTooltip">
If checked, the report will only include PRs created by you.
</span>
</span>
</div>
</div>
<div class="my-4">
<div class="flex items-center">
<input type="checkbox" id="onlyRevPRs" class="form-checkbox text-blue-600">
<label for="onlyRevPRs" class="font-medium text-sm flex items-center"
style="margin-left: 4px;" data-i18n="onlyRevPRsLabel">
Include only Reviewed PRs in the report
</label>
<span class="tooltip-container">
<i class="fa fa-question-circle question-icon"></i>
<span class="tooltip-bubble" data-i18n="onlyPRsTooltip">
If checked, the report will only include PRs reviewed by you.
</span>
</span>
</div>
</div>
<div class="my-4 githubOnlySection">
<div class="flex items-center">
<input type="checkbox" id="onlyMergedPRs" class="form-checkbox text-blue-600">
<label for="onlyMergedPRs" class="font-medium text-sm flex items-center"
style="margin-left: 4px;" data-i18n="onlyMergedPRsLabel">
Include only Merged PRs in the report
</label>
<span class="tooltip-container">
<i class="fa fa-question-circle question-icon"></i>
<span class="tooltip-bubble" data-i18n="onlyMergedPRsTooltip">
If checked, the report will only include merged PRs. A GitHub token is required.
</span>
</span>
</div>
<div id="tokenWarningForMergedPRs"
class="hidden text-xs text-red-600 p-2 bg-red-50 border border-red-200 rounded-xl mt-2">
<span data-i18n="tokenRequiredMergedPRsWarning">A GitHub token is required to filter by merged PRs. Please add one in the settings.</span>
</div>
</div>
<div class="my-4 githubOnlySection">
<div class="flex items-center">
<input type="checkbox" id="showCommits" checked class="form-checkbox text-blue-600 ">
<label id="showCommitsLabel" for="showCommits"
class="font-medium text-sm flex items-center pl-5 ml-4" style="margin-left: 4px;"
data-i18n="showCommitsLabel">Show commits on open PRs/ draft PRs</label><span
class="tooltip-container">
<i class="fa fa-question-circle question-icon"></i>
<span class="tooltip-bubble" data-i18n="showCommitsTooltip">
Github Token required, add it in the settings.
</span>
</span>
</div>
<div id="tokenWarningForShowCommits"
class="hidden text-xs text-red-600 p-2 bg-red-50 border border-red-200 rounded-xl mt-2">
<span data-i18n="tokenRequiredShowCommitsWarning">A GitHub token is required to show commits
on open or draft PRs. Please add one in the settings.</span>
</div>
</div>
</div>
</details>
<div>
<div>
<h6 class="text-base font-semibold mt-2" data-i18n="scrumReportLabel">Scrum Report</h6>
<div id="scrumReport" contenteditable="true"
class="min-h-[200px] overflow-y-auto whitespace-pre-wrap border-2 border-gray-200 bg-gray-100 rounded-xl text-gray-800 p-2 my-2">
</div>
</div>
<div class="scrum-actions my-2">
<div class="tooltip-container">
<button id="generateReport"
class="flex items-center justify-center gap-2 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 rounded"
style="padding-left: 0.875rem; padding-right: 0.875rem;">
<i class="fa fa-refresh"></i> <span data-i18n="generateReportButton">Generate</span>
</button>
<span class="shortcut-tooltip" id="generateReportTooltipText">Ctrl+G</span>
</div>
<div class="tooltip-container">
<button id="insertInEmail"
class="flex items-center justify-center gap-2 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 rounded"
style="padding-left: 0.875rem; padding-right: 0.875rem;">
<i class="fa fa-envelope"></i> <span data-i18n="insertInEmailButton">Insert in
Email</span>
</button>
<span class="shortcut-tooltip" id="insertInEmailTooltipText">Ctrl+Shift+M</span>
</div>
<div class="tooltip-container">
<button id="copyReport"
class="flex items-center justify-center gap-2 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded">
<i class="fa fa-copy"></i> <span data-i18n="copyReportButton">Copy</span>
</button>
<span class="shortcut-tooltip" id="copyReportTooltipText">Ctrl+Shift+Y</span>
</div>
</div>
</div>
<div class="border-gray-100 border-2 bg-white rounded-3xl px-4 py-2 mx-2 my-2">
<div>
<h4 class="font-semibold text-xl" data-i18n="noteTitle">Note:</h4>
<ul class="text-xs list-disc list-inside">
<p data-i18n="notePoint1">Pull requests are fetched based on the most recent review
activity by any contributor, not just your own. Please review and adjust the
generated SCRUM report to ensure it accurately reflects your work before sharing.
</p>
</ul>
</div>
</div>
</div>
<div id="settingsSection" class="tab-content hidden">
<div class="orgSection">
<div>
<div class="flex items-center justify-between">
<div class="flex">
<p class="text-sm font-medium" data-i18n="githubTokenLabel">Your GitHub Token</p>
<span class="tooltip-container">
<i class="fa fa-question-circle question-icon"></i>
<span class="tooltip-bubble" data-i18n="githubTokenTooltip">
<b>Why is it recommended to add a GitHub token?</b><br>
Scrum Helper works without a GitHub token, but adding a personal access
token is recommended for a
better experience. It raises your API limits, allows access to private
repos
(if permitted), and
improves accuracy and speed. Tokens are stored locally and never sent to
us
and used only to fetch
your git data. You can add one anytime in the extension
settings.<br><br>
<b>How to obtain:</b><br>
1. Go to <a href="https://github.com/settings/tokens" target="_blank"
rel="noopener noreferrer"
style="color:#2563eb;text-decoration:underline;">GitHub Developer
Settings</a>.<br>
3. Click "Generate new token", select classic token<br>
4. Paste it here.<br>
<i>Keep your token secret!</i>
</span>
</span>
</div>
<button id="toggleTokenVisibility" type="button" class="focus:outline-none">
<i id="tokenEyeIcon" class="fa fa-eye text-gray-600"></i>
</button>
</div>
<input id="githubToken" type="password"
class="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 pr-10"
data-i18n-placeholder="githubTokenPlaceholder">
</div>
<div class="githubOnlySection">
<div class="flex items-center mt-4">
<p class="text-sm font-semibold" data-i18n="settingsOrgNameLabel">Your Organization Name
</p>
<span class="tooltip-container ml-2">
<i class="fa fa-question-circle question-icon"></i>
<span class="tooltip-bubble" data-i18n="orgNameTooltip">
<b>Which organization's GitHub activity?</b><br>
Enter the GitHub organization name to fetch activities for. Leave empty to fetch
all
your GitHub
activities across all organizations.
Organization name is not case-sensitive.
</span>
</span>
</div>
<input id="orgInput" type="text"
class="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2"
data-i18n-placeholder="settingsOrgNamePlaceholder"
style="margin-top: 0.3rem; margin-bottom: 0.8rem;">
<!-- Organization validation feedback -->
<div id="orgValidationMessage" class="hidden text-xs mt-1 mb-2 px-3 py-2 rounded-lg">
<span id="orgValidationText"></span>
</div>
</div>
<div class="mb-4">
<div class="flex items-center justify-between mb-2">
<p class="text-sm font-medium">
<span data-i18n="repoFilterLabel">Filter by repositories</span><span
class="tooltip-container">
<i class="fa fa-question-circle question-icon"></i>
<span class="tooltip-bubble" data-i18n="repoFilterTooltip">
Github Token required.<br>
To force a repo list update, <br>
click the Refresh Data button.
</span>
</span>
</p>
<div class="flex items-center">
<input type="checkbox" id="useRepoFilter" class="mr-2" style="margin-right: 4px;">
<label for="useRepoFilter" class="text-xs text-gray-600"><span
data-i18n="enableFilteringLabel">Enable
filtering</span></label>
</div>
</div>
<div id="tokenWarningForFilter"
class="hidden text-xs text-red-600 p-2 bg-red-50 border border-red-200 rounded-xl mt-2">
<span data-i18n="tokenRequiredWarning">A GitHub token is required for repository
filtering. Please add one in the settings.</span>
</div>
<div id="repoFilterContainer" class="hidden">
<input id="repoSearch" type="text" data-i18n-placeholder="repoSearchPlaceholder"
class="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 pr-10"
autocomplete="off">
<!-- Typeahead Input -->
<div class="relative">
<!-- Dropdown -->
<div id="repoDropdown"
class="absolute w-full bg-white border border-gray-300 rounded-xl shadow-lg hidden max-h-48 overflow-y-auto"
style="z-index: 1000; margin-top: -10px;">
</div>
</div>
<!-- Selected Tags Container -->
<div id="selectedRepos"
class="mt-3 min-h-[32px] max-h-[120px] overflow-y-auto p-2 border-2 border-gray-200 bg-gray-50 rounded-xl">
<div class="flex flex-wrap gap-2" id="repoTags">
<span class="text-xs text-gray-500 select-none" id="repoPlaceholder"
data-i18n="repoPlaceholder">
No repositories selected (all will be included)
</span>
</div>
</div>
<!-- Status/Info -->
<div class="mt-2 text-xs text-gray-600 flex justify-between">
<span id="repoCount" data-i18n="repoCountNone">0 repositories selected</span>
<span id="repoStatus" class="text-blue-600"></span>
</div>
</div>
</div>
</div>
<div class="gitlabOnlySection hidden mt-3">
<div class="flex items-center justify-between">
<div class="flex">
<p class="text-sm font-medium" data-i18n="gitlabTokenLabel">Your GitLab Token</p>
<span class="tooltip-container">
<i class="fa fa-question-circle question-icon"></i>
<span class="tooltip-bubble" data-i18n="gitlabTokenTooltip">
<b>Why add a GitLab token?</b><br>
Scrum Helper works without a token for public projects, but a personal access token enables
private repos and better rate limits. Your token stays local and is only used to
fetch your GitLab data.<br><br>
<b>How to get one:</b><br>
1. Go to <a href="https://gitlab.com/-/profile/personal_access_tokens"
target="_blank" rel="noopener noreferrer"
style="color:#2563eb;text-decoration:underline;">GitLab Access
Tokens</a><br>
2. Click "Add new token"<br>
3. Select "read_api" scope<br>
4. Paste it here<br>
<i>Keep it secret!</i>
</span>
</span>
</div>
<button id="toggleGitlabTokenVisibility" type="button" class="focus:outline-none">
<i id="gitlabTokenEyeIcon" class="fa fa-eye text-gray-600"></i>
</button>
</div>
<input id="gitlabToken" type="password"
class="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 pr-10"
data-i18n-placeholder="gitlabTokenPlaceholder">
</div>
<div class="cacheSection mt-3">
<div class="flex items-center justify-between mb-2">
<div class="flex items-center">
<p class="text-sm font-medium" data-i18n="displayModeLabel">Display Mode</p>
<span class="tooltip-container ml-2">
<i class="fa fa-question-circle question-icon"></i>
<span class="tooltip-bubble" data-i18n="displayModeTooltip">
Choose how Scrum Helper opens when you click its icon.
<b>Side Panel</b> keeps it docked alongside your page.
<b>Popup</b> opens a floating window.
</span>
</span>
</div>
</div>
<select id="displayModeSelect"
class="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 mb-2">
<option value="sidePanel">Side Panel</option>
<option value="popup">Popup</option>
</select>
<div id="displayModeNotice"
class="hidden text-xs text-blue-700 bg-blue-50 border border-blue-200 rounded-xl p-2 mt-1 mb-2 flex items-center gap-2">
<i class="fa fa-info-circle"></i>
<span id="displayModeNoticeText"></span>
</div>
</div>
<div class="cacheSection mt-3">
<p class="text-sm font-medium"><span data-i18n="cacheTTLLabel">Enter cache TTL</span> <span
class="text-sm font-normal" data-i18n="cacheTTLUnit">(in
minutes)</span>
<span class="tooltip-container">
<i class="fa fa-question-circle question-icon"></i>
<span class="tooltip-bubble" data-i18n="cacheTTLTooltip">
We are caching the data to avoid redundant calls. By default the cache expires after
10 minutes, you
can change it here to your desired time. We have given a refresh cache button in
case you want to
fetch fresh data right now.
</span>
</span>
</p>
<input type="text" id="cacheInput"
class="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2"
data-i18n-placeholder="cacheTTLPlaceholder">
</div>
<div class="">
<button id="refreshCache"
class="w-full mt-3 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded flex items-center justify-center gap-2 transition-colors duration-200">
<i class="fa fa-refresh"></i>
<span data-i18n="refreshDataButton">Refresh Data (bypass cache)</span>
</button>
<p class="cache-info">
<i class="fa fa-info-circle"></i>
<span data-i18n="refreshDataInfo">Use this button to fetch fresh data immediately.</span>
</p>
</div>
</div>
</div>
<div class="mt-6 border-t border-gray-300">
<div class="bg-white rounded-3xl mx-2 mt-4 mb-2 p-4 border border-gray-100 shadow-sm">
<div class="flex items-center justify-center space-x-3">
<a target="_blank" rel="noopener noreferrer" href="https://github.com/fossasia/scrum_helper"
class="bg-blue-50 hover:bg-blue-100 text-blue-600 transition-all duration-200 rounded-lg px-4 py-2 flex items-center space-x-2 gap-2">
<i class="fa fa-code text-sm pl-1"></i>
<span class="text-sm font-medium" data-i18n="viewCodeButton">View Code</span>
</a>
<a target="_blank" rel="noopener noreferrer"
href="https://github.com/fossasia/scrum_helper/issues"
class="bg-blue-50 hover:bg-blue-100 text-blue-600 transition-all duration-200 rounded-lg px-4 py-2 flex items-center space-x-2 gap-2">
<i class="fa fa-bug text-sm"></i>
<span class="text-sm font-medium" data-i18n="reportIssueButton">Report Issue</span>
</a>
</div>
</div>
<div class="mt-3 pt-3 border-t border-gray-200 flex justify-center items-center py-">
<p class="text-xs text-gray-600 text-center">
Made with ❤️ by <strong>FOSSASIA</strong> •
<span class="text-gray-500 dark:text-gray-300">v2.1.4</span>
</p>
</div>
</div>
</div>
</div>
<!-- WebExtensions Polyfill for Cross-Browser compatibility (Chrome, Firefox, Edge, etc.) -->
<script src="scripts/browser-polyfill.min.js"></script>
<script src="scripts/jquery-3.2.1.min.js"></script>
<script type="text/javascript" type="text/javascript" src="materialize/js/materialize.min.js"></script>
<script src="scripts/emailClientAdapter.js"></script>
<script src="scripts/main.js"></script>
<script src="scripts/gitlabHelper.js"></script>
<script src="scripts/scrumHelper.js"></script>
<script src="scripts/popup.js"></script>
</body>
</html>