From 2b4ed611e7e001ad8ea93ef3e8cdce35bc56dc07 Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Mon, 1 May 2023 04:33:06 +0300 Subject: form designer; setup main forms of the application --- public/app/views/templates/penalty.php | 127 ++++++++++++++++++++ public/app/views/user/registration.php | 67 +++++------ public/app/views/welcome.php | 211 +++------------------------------ 3 files changed, 178 insertions(+), 227 deletions(-) create mode 100644 public/app/views/templates/penalty.php (limited to 'public/app/views') diff --git a/public/app/views/templates/penalty.php b/public/app/views/templates/penalty.php new file mode 100644 index 0000000..6a8f563 --- /dev/null +++ b/public/app/views/templates/penalty.php @@ -0,0 +1,127 @@ + + + + + <?=SITE_TITLE?> - Εγγραφή + + + + + + +
+
+
+ +
+
+
+
+

1o Γυμνάσιο Ραφήνας /
+ Πλατφόρμα ηλεκτρονικών αιτήσεων και δημιουργίας διαδικαστικών εγγράφων

+ +

Πρόσκληση #

+ + + + + +
+ + +
+
+
+ +
+

Απαιτείται η συμπλήρωση όλων των στοιχείων προκειμένου να γίνεται γρήγορα η σύνταξη των εγγράφων. Τα στοιχεία σας δεν πρόκειται να δημοσιοποιηθούν και προστατεύονται κατά την εισαγωγή τους με κρυπτογράφιση AES. Παράλληλα η σύνδεση στο site γίνεται με χρήση πιστοποιητικού SSL (RSA 2048 bits).

+

Αν έχετε ενεργοποιήσει ήδη το λογαρισμό σας μπορείτε να συνδεθείτε.

+ +
+
+ + + + + diff --git a/public/app/views/user/registration.php b/public/app/views/user/registration.php index 57fbb8f..9eb0ea3 100644 --- a/public/app/views/user/registration.php +++ b/public/app/views/user/registration.php @@ -13,7 +13,7 @@ html,body{ padding:0; margin:0; font-size:1.25em; - color: #037; background: #eee; + color: #037; background: #f6f6f6; line-height:1.2em; } h3 { @@ -26,60 +26,55 @@ } .container { display: flex; height: 100vh; align-items:center; } .content { position: relative; - max-width:480px; width: 100%; + max-width: 540px; width: 100%; margin: auto auto; padding: .5em; justify-center: center; - font-size: .9em; + font-size: .78em; } .content-form { padding: 1.5em; - background: #e3e3e3; + background: #eee; border-radius: 8px; box-shadow: 1px 5px 7px #7777; } .content .info { padding: 1.5em; font-size: .92em; } - .content .info p { padding: .5em; } + .content .info p { padding: .5em; color: #444; font-size: .82em } .form-label { margin-bottom: .25rem; } + label { font-size: 14px; }
-

Classroom: Εγγραφή

+
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- +

1o Γυμνάσιο Ραφήνας /
+ Πλατφόρμα ηλεκτρονικών αιτήσεων και δημιουργίας διαδικαστικών εγγράφων

+ +

Πρόσκληση #

+ + + + + +
+ +
+
-

Αν έχετε ήδη λογαρισμό συνδεθείτε.

-

Σε κάθε περίπτωση μπορείτε να επιστρέψετε στην αρχική σελίδα.

-
+

Απαιτείται η συμπλήρωση όλων των στοιχείων προκειμένου να γίνεται γρήγορα η σύνταξη των εγγράφων. Τα στοιχεία σας δεν πρόκειται να δημοσιοποιηθούν και προστατεύονται κατά την εισαγωγή τους με κρυπτογράφιση AES. Παράλληλα η σύνδεση στο site γίνεται με χρήση πιστοποιητικού SSL (RSA 2048 bits).

+

Αν έχετε ενεργοποιήσει ήδη το λογαρισμό σας μπορείτε να συνδεθείτε.

+
@@ -98,9 +93,15 @@ // prepare data to POST var data = { - name: $('input[name=name]').val(), - surname: $('input[name=surname]').val(), + first_name: $('input[name=first_name]').val(), + last_name: $('input[name=last_name]').val(), email: $('input[name=email]').val(), + registration_number: $('input[name=registration_number]').val(), + sector: $('input[name=sector]').val(), + belonging_school: $('input[name=belonging_school]').val(), + working_shcool: $('input[name=working_shcool]').val(), + position_type_id: $('input[name=position_type_id]').val(), + phone: $('input[name=phone]').val(), password: $('input[name=password]').val() }; diff --git a/public/app/views/welcome.php b/public/app/views/welcome.php index ae260c6..e97f748 100644 --- a/public/app/views/welcome.php +++ b/public/app/views/welcome.php @@ -13,208 +13,29 @@ + + -
+
+
+ $form = JsonToForm::make_a_form(REGISTRATION_FORM); + ?>
+
@@ -453,4 +274,6 @@ $('#post-form').on('submit', function(e){ - \ No newline at end of file + + + -- cgit v1.2.3