From 5a689abc599378c6e6eb5e36917a5955f50660b8 Mon Sep 17 00:00:00 2001 From: Minik Gaarde Lambrecht Date: Tue, 6 Apr 2021 20:12:10 +0200 Subject: [PATCH 1/5] Frontend update --- Backend/test.php | 4 +- Frontend/Html/FirstTimeSetup.html | 138 ++++++++++++----- Frontend/Index.html | 4 +- Frontend/Javascript/LoginFunctionality.js | 11 +- Frontend/Javascript/SetupForm.js | 178 ++++++++++++++++++++++ Frontend/Styles/FirstTimeSetup.css | 85 +++++++++++ bootstrap.php | 1 - config/database.json | 7 + 8 files changed, 376 insertions(+), 52 deletions(-) create mode 100644 Frontend/Javascript/SetupForm.js create mode 100644 Frontend/Styles/FirstTimeSetup.css diff --git a/Backend/test.php b/Backend/test.php index a466263..faa2bef 100644 --- a/Backend/test.php +++ b/Backend/test.php @@ -4,5 +4,5 @@ use Backend\Models\AdminUser; require_once ('Database/databaseMigration.php'); AdminUser::firstOrCreate([ - 'user_name' => '', 'password' => password_hash('',PASSWORD_DEFAULT) -]); \ No newline at end of file + 'user_name' => 'admin', 'password' => password_hash('admin123',PASSWORD_DEFAULT) +]); diff --git a/Frontend/Html/FirstTimeSetup.html b/Frontend/Html/FirstTimeSetup.html index 2aef370..aa364d9 100644 --- a/Frontend/Html/FirstTimeSetup.html +++ b/Frontend/Html/FirstTimeSetup.html @@ -3,70 +3,126 @@ - Setup - - + Opsætning + - + - + + + - - + + -
-
- - - - - - - - -
+
+
+ Første Gangs Opsætning +
- + + + + +
+ + + +
+ + + + + +
+ + + + + + + - \ No newline at end of file diff --git a/Frontend/Index.html b/Frontend/Index.html index 0e39053..07c510f 100755 --- a/Frontend/Index.html +++ b/Frontend/Index.html @@ -72,7 +72,7 @@ -