From 0d63554a1f5f888dafec2c16d6829b52178c7c9a Mon Sep 17 00:00:00 2001 From: Hamza-Ayed Date: Wed, 26 Aug 2026 23:21:28 +0300 Subject: [PATCH] fix: 100% immune to native form reloads with pure Vanilla JS and instant OTP transition --- backend/app/Views/StudentPortal.php | 599 +++++++++++++++------------- backend/app/Views/TeacherPortal.php | 570 ++++++++++++++------------ 2 files changed, 638 insertions(+), 531 deletions(-) diff --git a/backend/app/Views/StudentPortal.php b/backend/app/Views/StudentPortal.php index 6137957..26fb45c 100644 --- a/backend/app/Views/StudentPortal.php +++ b/backend/app/Views/StudentPortal.php @@ -18,7 +18,7 @@ class StudentPortal - + - - - - - +
@@ -723,21 +546,17 @@ class StudentPortal -
- - +
+ + أنت معلم؟ + بوابة المعلمين ← + +
@@ -750,7 +569,7 @@ class StudentPortal -
+
@@ -764,77 +583,61 @@ class StudentPortal
- - - - - - -
-
-
- - -
- -
- -
-
🇯🇴 +962
- -
- يصلك رمز التحقق مباشرة على الواتساب المعتمد. -
- - -
+ + - -
-
- تم إرسال رمز التحقق إلى: -
+ + + +
+
+ +
-
-
- - +
+ +
+
🇯🇴 +962
+
+ يصلك رمز التحقق مباشرة على الواتساب المعتمد. +
- + +
-
- - - -
-
+ +