111
111
<!-- 添加新建题目的弹窗 -->
112
112
< div id ="addProblemDialog " class ="modal " style ="display: none; ">
113
113
< div class ="modal-content ">
114
- < h3 > Add New Problem</ h3 >
115
- < div class ="form-group ">
116
- < label for ="problemUrl "> Problem URL:</ label >
117
- < input type ="text " id ="problemUrl " class ="form-control "
118
- placeholder ="https://leetcode.com/problems/... " />
114
+ < h3 > Add Review Card</ h3 >
115
+
116
+ <!-- 选项卡切换 -->
117
+ < div class ="tab-container ">
118
+ < div class ="tab-buttons ">
119
+ < button id ="urlTabButton " class ="tab-button active "> LeetCode Card</ button >
120
+ < button id ="manualTabButton " class ="tab-button "> Blank card</ button >
121
+ </ div >
122
+ </ div >
123
+
124
+ <!-- URL 输入表单 -->
125
+ < div id ="urlTab " class ="tab-content active ">
126
+ < div class ="form-group ">
127
+ < label for ="problemUrl "> Leetcode URL:</ label >
128
+ < input type ="text " id ="problemUrl " class ="form-control "
129
+ placeholder ="https://leetcode.com/problems/... " />
130
+ </ div >
119
131
</ div >
132
+
133
+ <!-- 手动输入表单 -->
134
+ < div id ="manualTab " class ="tab-content ">
135
+ < div class ="form-group ">
136
+ < label for ="problemName "> Problem Name:</ label >
137
+ < input type ="text " id ="problemName " class ="form-control "
138
+ placeholder ="例如: Two Sum " />
139
+ </ div >
140
+ < div class ="form-group ">
141
+ < label for ="problemLevel "> Level:</ label >
142
+ < select id ="problemLevel " class ="form-control ">
143
+ < option value ="Easy "> Easy</ option >
144
+ < option value ="Medium "> Medium</ option >
145
+ < option value ="Hard "> Hard</ option >
146
+ </ select >
147
+ </ div >
148
+ < div class ="form-group ">
149
+ < label for ="customUrl "> Custom URL (Optional):</ label >
150
+ < input type ="text " id ="customUrl " class ="form-control "
151
+ placeholder ="https://... " />
152
+ </ div >
153
+ </ div >
154
+
120
155
< div class ="button-group ">
121
156
< button id ="confirmAdd " class ="btn btn-outline-warning custom-btn "> Add</ button >
122
157
< button id ="cancelAdd " class ="btn btn-outline-secondary custom-btn "> Cancel</ button >
@@ -131,9 +166,18 @@ <h3>Add New Problem</h3>
131
166
<!-- GitHub Star -->
132
167
<!-- 先放一个占位符 -->
133
168
< div id ="github-star-container "
134
- data-bs-toggle ="tooltip "
135
- data-bs-placement ="top "
136
- title ="A star from you would make our day! 🌟 ">
169
+ data-bs-toggle ="tooltip "
170
+ data-bs-placement ="top "
171
+ title ="A star from you would make our day! 🌟 ">
172
+ < a href ="https://github.com/xiaohajiayou/Leetcode-Mastery-Scheduler "
173
+ target ="_blank "
174
+ style ="text-decoration: none; display: inline-block; margin-right: 15px; ">
175
+ < img alt ="GitHub "
176
+ src ="https://img.shields.io/badge/GitHub-%20Star%20Us-color%3D%2523%234a9d9c?style=flat&color=%234a9d9c
177
+ "
178
+ height ="20 "
179
+ style ="margin: 0; vertical-align: middle; ">
180
+ </ a >
137
181
</ div >
138
182
139
183
<!-- 将 GitHub iframe 加载逻辑放在单独的脚本文件中 -->
@@ -296,11 +340,11 @@ <h3>Add New Problem</h3>
296
340
< small >
297
341
< div >
298
342
< span class ="update-badge "> NEW!</ span >
299
- 新增评分按钮位置自定义 / Adjustable rating button position
343
+ 新增添加空白卡片功能(洛谷、原创笔试题) / Added blank card feature for Luogu and original interview questions.
300
344
</ div >
301
345
< div >
302
346
< a target ="_blank " href ="https://github.com/xiaohajiayou/Leetcode-Mastery-Scheduler/blob/main/changelog.md ">
303
- View full changelog now(V0.0.10 )
347
+ View full changelog now(V0.1.0 )
304
348
</ a >
305
349
</ div >
306
350
</ small >
@@ -326,7 +370,7 @@ <h3>Add New Problem</h3>
326
370
box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
327
371
">
328
372
<!-- GitHub Star 按钮 -->
329
- < iframe
373
+ <!-- < iframe
330
374
src="https://ghbtns.com/github-btn.html?user=xiaohajiayou&repo=Leetcode-Mastery-Scheduler&type=star&count=true"
331
375
frameborder="0"
332
376
scrolling="0"
@@ -337,7 +381,21 @@ <h3>Add New Problem</h3>
337
381
data-bs-placement="top"
338
382
data-bs-title="A star from you would make our day! ✨"
339
383
style="opacity: 0.9;"
340
- > </ iframe >
384
+ ></iframe> -->
385
+ < div id ="github-problems "
386
+ data-bs-toggle ="tooltip "
387
+ data-bs-placement ="top "
388
+ title ="A star from you would make our day! 🌟 ">
389
+ < a href ="https://github.com/xiaohajiayou/Leetcode-Mastery-Scheduler "
390
+ target ="_blank "
391
+ style ="text-decoration: none; display: inline-block; margin-right: 15px; ">
392
+ < img alt ="GitHub "
393
+ src ="https://img.shields.io/badge/GitHub-%20Star%20Us-color%3D%2523%234a9d9c?style=flat&color=%234a9d9c
394
+ "
395
+ height ="20 "
396
+ style ="margin: 0; vertical-align: middle; ">
397
+ </ a >
398
+ </ div >
341
399
342
400
<!-- 反馈按钮 -->
343
401
< a href ="https://github.com/xiaohajiayou/Leetcode-Mastery-Scheduler/issues "
@@ -349,7 +407,6 @@ <h3>Add New Problem</h3>
349
407
style ="
350
408
font-size: 0.875rem;
351
409
font-family: 'Courier Prime', monospace;
352
- padding: 0.5rem 1.2rem;
353
410
background: #1d2e3d;
354
411
border: 1px solid rgba(97, 218, 251, 0.3);
355
412
color: #61dafb;
0 commit comments