111111 <!-- 添加新建题目的弹窗 -->
112112 < div id ="addProblemDialog " class ="modal " style ="display: none; ">
113113 < 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 >
119131 </ 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+
120155 < div class ="button-group ">
121156 < button id ="confirmAdd " class ="btn btn-outline-warning custom-btn "> Add</ button >
122157 < button id ="cancelAdd " class ="btn btn-outline-secondary custom-btn "> Cancel</ button >
@@ -131,9 +166,18 @@ <h3>Add New Problem</h3>
131166 <!-- GitHub Star -->
132167 <!-- 先放一个占位符 -->
133168 < 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 >
137181 </ div >
138182
139183 <!-- 将 GitHub iframe 加载逻辑放在单独的脚本文件中 -->
@@ -326,7 +370,7 @@ <h3>Add New Problem</h3>
326370 box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
327371 ">
328372 <!-- GitHub Star 按钮 -->
329- < iframe
373+ <!-- < iframe
330374 src="https://ghbtns.com/github-btn.html?user=xiaohajiayou&repo=Leetcode-Mastery-Scheduler&type=star&count=true"
331375 frameborder="0"
332376 scrolling="0"
@@ -337,7 +381,21 @@ <h3>Add New Problem</h3>
337381 data-bs-placement="top"
338382 data-bs-title="A star from you would make our day! ✨"
339383 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 >
341399
342400 <!-- 反馈按钮 -->
343401 < a href ="https://github.com/xiaohajiayou/Leetcode-Mastery-Scheduler/issues "
@@ -349,7 +407,6 @@ <h3>Add New Problem</h3>
349407 style ="
350408 font-size: 0.875rem;
351409 font-family: 'Courier Prime', monospace;
352- padding: 0.5rem 1.2rem;
353410 background: #1d2e3d;
354411 border: 1px solid rgba(97, 218, 251, 0.3);
355412 color: #61dafb;
0 commit comments