From 7c885aa39dc781dccc3a9a1dbdf662e9b57c267b Mon Sep 17 00:00:00 2001 From: KanishkaSingh-18 Date: Sun, 24 May 2026 01:14:33 +0530 Subject: [PATCH 1/2] Improve submit achievements UI --- templates/submit_achievements.html | 129 ++++++++++++++++++++++++++++- 1 file changed, 128 insertions(+), 1 deletion(-) diff --git a/templates/submit_achievements.html b/templates/submit_achievements.html index acc2a917..61333dc0 100644 --- a/templates/submit_achievements.html +++ b/templates/submit_achievements.html @@ -41,13 +41,140 @@ -
+
+ +
+ + + {% endif %}
+ + + + \ No newline at end of file From 495c35ae46449926c43a6ff10ebc09935e561c7d Mon Sep 17 00:00:00 2001 From: KanishkaSingh-18 Date: Sun, 24 May 2026 11:04:47 +0530 Subject: [PATCH 2/2] fix: modal visibility and form null crash in submit achievements --- templates/submit_achievements.html | 302 ++++++++++++++--------------- 1 file changed, 147 insertions(+), 155 deletions(-) diff --git a/templates/submit_achievements.html b/templates/submit_achievements.html index 61333dc0..c5b8ae83 100644 --- a/templates/submit_achievements.html +++ b/templates/submit_achievements.html @@ -1,180 +1,172 @@ + - + Submit Achievements - - + + +
{% if error %} -
- ⚠️ {{ error }} -
- {% endif %} +
+ ⚠️ {{ error }} +
+ {% endif %} + + {% if success %} +
+

+ Congratulations!
{{ success }} +

+
+ + {% else %} + +
+ - {% if success %} -
-

Congratulations!
{{ success }}

+
+
+ Student ID +
-
- Back to Dashboard + +
+ Certificate File +
- {% else %} - - - - -
-
- Student ID - -
-
- Certificate File - -
-
+
+ +
+ + +
+ + +