-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpopup.html
327 lines (312 loc) · 8.61 KB
/
popup.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
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
<html>
<head>
<title>BFE.DEV Tracker (PMCA)</title>
<meta charset="utf-8" />
<link href="lib/bootstrap.min.css" rel="stylesheet" />
</head>
<style type="text/css">
table,
tbody,
tr,
th,
td {
background-color: rgba(255, 255, 255, 0.2) !important;
}
.custom-switch:focus {
border-color: rgba(255, 255, 255, 0.2);
box-shadow: 0 0 5px 2px bisque;
}
.custom-switch:checked {
border-color: rgba(255, 255, 255, 0.2);
background-color: chocolate;
box-shadow: 0 0 5px 2px bisque;
}
iframe {
overflow: hidden;
border: 0;
}
.custom-btn {
border-color: chocolate;
color: chocolate;
}
.custom-btn:hover {
border-color: rgba(235, 173, 129, 1);
background-color: rgba(235, 173, 129, 1);
}
.custom-btn:disabled {
border-color: rgba(70, 70, 70, 0.5);
color: rgb(70, 70, 70, 0.5);
}
.multifont {
font-family: monospace, sans-serif;
}
a {
color: chocolate;
}
.custom-tooltip {
--bs-tooltip-bg: var(--bd-violet-bg);
--bs-tooltip-color: var(--bs-white);
}
</style>
<body style="width: 500px; height: 600px; background-color: bisque" class="mb-3">
<div class="container-sm m-0">
<!-- header -->
<div style="display: flex">
<div class="my-3 mx-0 px-0 text-center" style="flex: 1">
<img src="assets/logo2.png" style="width: 100px" />
<br />
<a
class="col-6 mb-0 ms-0 mt-2"
href="https://www.buymeacoffee.com/vetrivelcsamy"
target="_blank"
>
<button type="button" class="btn btn-outline-primary mt-2">
❤️ Donate
</button>
</a>
</div>
<div class="mt-3 py-1" style="flex: 2">
<h5 id="message">Practice Makes Code Accepted</h5>
<small
><i
>Review bfe.dev problems based on
<b>Ebbinghaus's Forgetting Curve!</b></i
></small
>
<br />
<div class="mt-2 mb-2">
<a
class="col-6 mb-0 ms-0"
href="https://github.com/vetrivelcsamy/bfe-dev-tracker/issues/new"
target="_blank"
>
<button type="button" class="btn btn-outline-warning custom-btn">
Request new features/Report bugs
</button>
</a>
</div>
</div>
</div>
<!-- site switcher -->
<div id="switch-area" class="d-none">
<div>
<input type="checkbox" role="switch" id="switchButton" />
<label for="flexSwitchCheckDefault" id="siteLabel"></label>
</div>
</div>
<!-- navbar -->
<ul
class="nav nav-tabs text-center justify-content-center"
id="myTab"
role="tablist"
>
<li class="nav-item" role="presentation">
<button
class="nav-link active"
id="need-review-tab"
data-bs-toggle="tab"
data-bs-target="#need-review-pane"
type="button"
role="tab"
aria-controls="need-review-pane"
aria-selected="true"
style="color: black"
>
Review Due
</button>
</li>
<li class="nav-item" role="presentation">
<button
class="nav-link"
id="no-review-tab"
data-bs-toggle="tab"
data-bs-target="#no-review-pane"
type="button"
role="tab"
aria-controls="no-review-pane"
aria-selected="false"
style="color: black"
>
Review Scheduled
</button>
</li>
<li class="nav-item" role="presentation">
<button
class="nav-link"
id="completed-tab"
data-bs-toggle="tab"
data-bs-target="#completed-pane"
type="button"
role="tab"
aria-controls="completed-pane"
aria-selected="false"
style="color: black"
>
Mastered
</button>
</li>
</ul>
<!-- tab-content -->
<div
class="tab-content multifont"
id="myTabContent"
style="background-color: bisque"
>
<div
class="tab-pane fade show active"
id="need-review-pane"
role="tabpanel"
aria-labelledby="need-review-tab"
tabindex="0"
>
<table
id="need-review-table"
class="table table-striped table-hover table-sm"
></table>
<!-- pagination -->
<nav
aria-label="Page navigation example row"
style="
font-size: smaller;
display: flex;
text-align: center;
justify-content: center;
"
>
<button
type="button"
class="btn btn-outline-warning custom-btn"
id="prevButton0"
>
<
</button>
<input
type="text"
class="form-control-sm input ms-2"
id="pageInput0"
style="width: 7.5%"
placeholder="1"
/>
<label
for="pageInput0"
class="form-label mt-2 me-2"
id="pageInputLabel0"
>/1</label
>
<button
type="button"
class="btn btn-outline-warning custom-btn"
id="nextButton0"
>
>
</button>
</nav>
</div>
<div
class="tab-pane fade"
id="no-review-pane"
role="tabpanel"
aria-labelledby="no-review-tab"
tabindex="0"
>
<table
id="no-review-table"
class="table table-striped table-hover table-sm"
></table>
<!-- pagination -->
<nav
aria-label="Page navigation example row"
style="
font-size: smaller;
display: flex;
text-align: center;
justify-content: center;
"
>
<button
type="button"
class="btn btn-outline-warning custom-btn"
id="prevButton1"
>
<
</button>
<input
type="text"
class="form-control-sm input ms-2"
id="pageInput1"
style="width: 7.5%"
placeholder="1"
/>
<label
for="pageInput1"
class="form-label mt-2 me-2"
id="pageInputLabel1"
>/1</label
>
<button
type="button"
class="btn btn-outline-warning custom-btn"
id="nextButton1"
>
>
</button>
</nav>
</div>
<div
class="tab-pane fade"
id="completed-pane"
role="tabpanel"
aria-labelledby="completed-tab"
tabindex="0"
>
<table
id="completed-table"
class="table table-striped table-hover table-sm"
></table>
<!-- pagination -->
<nav
aria-label="Page navigation example row"
style="
font-size: smaller;
display: flex;
text-align: center;
justify-content: center;
"
>
<button
type="button"
class="btn btn-outline-warning custom-btn"
id="prevButton2"
>
<
</button>
<input
type="text"
class="form-control-sm input ms-2"
id="pageInput2"
style="width: 7.5%"
placeholder="1"
/>
<label
for="pageInput2"
class="form-label mt-2 me-2"
id="pageInputLabel2"
>/1</label
>
<button
type="button"
class="btn btn-outline-warning custom-btn"
id="nextButton2"
>
>
</button>
</nav>
</div>
</div>
</div>
<script type="text/javascript" src="lib/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="lib/fontawesome.js"></script>
<script type="text/javascript" src="scripts/popup.js"></script>
</body>
</html>