From 153df56a89d2b900752b3389d1de25b4bc0df7fc Mon Sep 17 00:00:00 2001 From: Andrew Lalis Date: Wed, 29 May 2019 11:48:02 +0200 Subject: [PATCH] Split the registration form into three sections based on the type of user. --- src/main/resources/templates/register.html | 63 ++++--------------- .../templates/register/administrator.html | 10 +++ .../resources/templates/register/student.html | 10 +++ .../register/teaching_assistant.html | 10 +++ 4 files changed, 42 insertions(+), 51 deletions(-) create mode 100644 src/main/resources/templates/register/administrator.html create mode 100644 src/main/resources/templates/register/student.html create mode 100644 src/main/resources/templates/register/teaching_assistant.html diff --git a/src/main/resources/templates/register.html b/src/main/resources/templates/register.html index 141b26b..89b4906 100644 --- a/src/main/resources/templates/register.html +++ b/src/main/resources/templates/register.html @@ -12,58 +12,19 @@
-
-
-
- - -
-
- - -
-
+

I am a ...

+
-
-
- - -
-
- -
-
- - -
-
- -
-
- - -
-
- -
-
- - -
-
- - -
-
- -
-
- -
-
- +
+
+ Student +
+ +
diff --git a/src/main/resources/templates/register/administrator.html b/src/main/resources/templates/register/administrator.html new file mode 100644 index 0000000..566549b --- /dev/null +++ b/src/main/resources/templates/register/administrator.html @@ -0,0 +1,10 @@ + + + + + Title + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/register/student.html b/src/main/resources/templates/register/student.html new file mode 100644 index 0000000..566549b --- /dev/null +++ b/src/main/resources/templates/register/student.html @@ -0,0 +1,10 @@ + + + + + Title + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/register/teaching_assistant.html b/src/main/resources/templates/register/teaching_assistant.html new file mode 100644 index 0000000..566549b --- /dev/null +++ b/src/main/resources/templates/register/teaching_assistant.html @@ -0,0 +1,10 @@ + + + + + Title + + + + + \ No newline at end of file