From 7f3e301b7d4e0e2f3134af3849b237dec6578203 Mon Sep 17 00:00:00 2001 From: tokslaw Date: Fri, 24 Jan 2020 17:51:59 -0500 Subject: [PATCH] fix --- www/application/controllers/Auth.php | 14 ++- www/application/views/auth/view_foot.php | 22 +++++ www/application/views/auth/view_head.php | 43 +++++++++ www/application/views/auth/view_login.php | 87 +++++++++++++++++++ www/application/views/auth/view_register.php | 74 ++++++++++++++++ .../views/auth/view_reset_password.php | 70 +++++++++++++++ 6 files changed, 307 insertions(+), 3 deletions(-) create mode 100644 www/application/views/auth/view_foot.php create mode 100644 www/application/views/auth/view_head.php create mode 100644 www/application/views/auth/view_login.php create mode 100644 www/application/views/auth/view_register.php create mode 100644 www/application/views/auth/view_reset_password.php diff --git a/www/application/controllers/Auth.php b/www/application/controllers/Auth.php index 10945bb..347d033 100644 --- a/www/application/controllers/Auth.php +++ b/www/application/controllers/Auth.php @@ -6,17 +6,25 @@ class Auth extends CI_Controller { public function index() { //$this->load->view('home/home'); - echo "START LOGIN"; + // echo "START LOGIN"; + $this->load->view('auth/view_head'); + $this->load->view('auth/view_login'); + $this->load->view('auth/view_foot'); } public function newuser() { //$this->load->view('home/home'); - echo "START NEW USER"; + $this->load->view('auth/view_head'); + $this->load->view('auth/view_register'); + $this->load->view('auth/view_foot'); } public function resetpass() { //$this->load->view('home/home'); - echo "START RESET 1"; + //echo "START RESET 1"; + $this->load->view('auth/view_head'); + $this->load->view('auth/view_reset_password'); + $this->load->view('auth/view_foot'); } } diff --git a/www/application/views/auth/view_foot.php b/www/application/views/auth/view_foot.php new file mode 100644 index 0000000..fbad63e --- /dev/null +++ b/www/application/views/auth/view_foot.php @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/www/application/views/auth/view_head.php b/www/application/views/auth/view_head.php new file mode 100644 index 0000000..8697696 --- /dev/null +++ b/www/application/views/auth/view_head.php @@ -0,0 +1,43 @@ + + + + + + + + + + + + Login Page - Coregrade + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/www/application/views/auth/view_login.php b/www/application/views/auth/view_login.php new file mode 100644 index 0000000..1612b90 --- /dev/null +++ b/www/application/views/auth/view_login.php @@ -0,0 +1,87 @@ + + + +
+
+
+
+
+
+
+
+
+
+
+
+ branding logo +
+
+
+
+
+

Login

+
+
+

Welcome back, please login to your account.

+
+
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+
+
+ + + + + + + Remember me +
+
+
+ +
+ Register + +
+
+
+ +
+
+
+
+
+
+ +
+
+
+ + diff --git a/www/application/views/auth/view_register.php b/www/application/views/auth/view_register.php new file mode 100644 index 0000000..b0443ad --- /dev/null +++ b/www/application/views/auth/view_register.php @@ -0,0 +1,74 @@ + +
+
+
+
+
+
+
+
+
+
+
+
+ branding logo +
+
+
+
+
+

Create Account

+
+
+

Fill the below form to create a new account.

+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
+ + + + + + + I accept the terms & conditions. +
+
+
+
+ Login +
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/www/application/views/auth/view_reset_password.php b/www/application/views/auth/view_reset_password.php new file mode 100644 index 0000000..4b8aba4 --- /dev/null +++ b/www/application/views/auth/view_reset_password.php @@ -0,0 +1,70 @@ + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ branding logo +
+
+
+
+
+

Reset Password

+
+
+

Please enter your new password.

+
+
+
+
+ + +
+ +
+ + +
+ +
+ + +
+
+ +
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + + \ No newline at end of file