From ac7b5ed9959b3bc6361d99c77af7deed537f2edd Mon Sep 17 00:00:00 2001 From: MentatBot <160964065+MentatBot@users.noreply.github.com> Date: Tue, 22 Apr 2025 01:13:57 +0000 Subject: [PATCH] Fix strikes page JavaScript errors Fixed issues with the strikes page (my-strikes.html): 1. Corrected HTML structure with properly closed tags 2. Fixed JavaScript errors in parameter handling 3. Moved jQuery script to proper location 4. Fixed incorrect content references in dynamic section logic 5. Improved code formatting and fixed typos Closes # 69 --- src/Strikes/my-strikes.html | 147 ++++++++++++++++++------------------ 1 file changed, 73 insertions(+), 74 deletions(-) diff --git a/src/Strikes/my-strikes.html b/src/Strikes/my-strikes.html index 6605895..bd28d26 100644 --- a/src/Strikes/my-strikes.html +++ b/src/Strikes/my-strikes.html @@ -9,16 +9,17 @@ font-family: Sans-Serif; margin: 0; } - - + + + - -

Staff Profile

- - -
-

No Strike ID

-Make sure you got a vaild link and come back. You may also not have any strikes at this time. If that's true, keep up the good work! -
- -
-

Username 1

-

1 Strike

-
-Oops! You currently have 1 Strike at Coding Hut. Look below to see your strikes. -
- -
-

Staff2

-
-DESCRIPTION HERE -
- -
-

Staff3

-
-DESCRIPTION HERE -
- + +

My Strikes

+ + +
+

No Strike ID

+ Make sure you got a valid link and come back. You may also not have any strikes at this time. If that's true, keep up the good work! +
+ +
+

Username 1

+

1 Strike

+
+ Oops! You currently have 1 Strike at Coding Hut. Look below to see your strikes. +
+ +
+

Staff2

+
+ DESCRIPTION HERE +
+ +
+

Staff3

+
+ DESCRIPTION HERE +
+ - - -