From f2a56c2abc6af09614d88cb428f9fece0f6038e2 Mon Sep 17 00:00:00 2001 From: Bryan Pedini Date: Wed, 17 Jul 2019 10:37:44 +0200 Subject: [PATCH] Ran the formatter on all PHP files, added userbar.css --- lib/css/dashboard.css | 4 + lib/css/userbar.css | 4 + lib/php/dashboard.php | 6 ++ lib/php/forgot.php | 3 + lib/php/go.php | 27 ++++--- lib/php/install.php | 170 ++++++++++++++++++++++-------------------- lib/php/login.php | 55 +++++++------- lib/php/manage.php | 9 ++- 8 files changed, 159 insertions(+), 119 deletions(-) create mode 100644 lib/css/userbar.css diff --git a/lib/css/dashboard.css b/lib/css/dashboard.css index e69de29..9a27179 100644 --- a/lib/css/dashboard.css +++ b/lib/css/dashboard.css @@ -0,0 +1,4 @@ +html,body { + height: 100%; + width: 100%; +} diff --git a/lib/css/userbar.css b/lib/css/userbar.css new file mode 100644 index 0000000..1ca098b --- /dev/null +++ b/lib/css/userbar.css @@ -0,0 +1,4 @@ +.userbar { + width: 100%; + height: 50px; +} \ No newline at end of file diff --git a/lib/php/dashboard.php b/lib/php/dashboard.php index 58b7ca3..3c6e3f9 100644 --- a/lib/php/dashboard.php +++ b/lib/php/dashboard.php @@ -24,14 +24,20 @@ ?> + + Dashboard Home | <?=$GLOBALS['config']['website_name']?> + +
+
Open Management Console + + Password Reset | <?=$GLOBALS['config']['website_name']?> +

Reset your password here - Placeholder

+ diff --git a/lib/php/go.php b/lib/php/go.php index 120af06..cf014ec 100644 --- a/lib/php/go.php +++ b/lib/php/go.php @@ -21,30 +21,37 @@ ?> + Redirect in 5 seconds | <?=$GLOBALS['config']['website_name']?> +

You will be redirected to in 5

+ - - - - Installer | OpenShorte - - - - - -
-
-
-

- Welcome to the OpenShorte installer.
- Since it seems that there are no installation found for this website, we'll proceed now with creating one.
- Please click 'Next' and provide all the necessary informations for the database and the site name in order to let this website work correctly. -

- -
-
-
-
-
- Website Name: + + + + + +
+
+
+

+ Welcome to the OpenShorte installer.
+ Since it seems that there are no installation found for this website, we'll proceed now with creating one.
+ Please click 'Next' and provide all the necessary informations for the database and the site name in order to let this website work correctly. +

+ +
+
+ +
+
+ Website Name: +
+
- -
- - -
-
-
-
-
- Host: + + +
+
+
+
+
+ Host: +
+
- -
-
-
- Port: +
+
+ Port: +
+
- -
- -
-
-
- Username: + +
+
+
+ Username: +
+
- -
-
-
- Password: +
+
+ Password: +
+
- -
-
-
- Repeat Password: +
+
+ Repeat Password: +
+
- -
-
-
- Database Name: +
+
+ Database Name: +
+
- -
- - - -
-
-
-
-
- - + - - - + + + + + Login | <?=$GLOBALS['config']['website_name']?> + -