diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..44a8789 --- /dev/null +++ b/.htaccess @@ -0,0 +1,34 @@ + + + Options -MultiViews -Indexes + + + # Disable index view + Options -Indexes + + # block files which needs to be hidden, specify .example extension of the file + + Order allow,deny + Deny from all + + + RewriteEngine On + + # https request + # RewriteCond %{HTTPS} !=on + # RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] + + # Handle Authorization Header + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + + # Redirect Trailing Slashes If Not A Folder... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_URI} (.+)/$ + RewriteRule ^ %1 [L,R=301] + + # Send Requests To Front Controller... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php [L] + diff --git a/index.php b/index.php new file mode 100644 index 0000000..ee63ace --- /dev/null +++ b/index.php @@ -0,0 +1,21 @@ + + */ + +$uri = urldecode( + parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) +); + +// This file allows us to emulate Apache's "mod_rewrite" functionality from the +// built-in PHP web server. This provides a convenient way to test a Laravel +// application without having installed a "real" web server software here. +if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { + return false; +} + +require_once __DIR__.'/public/index.php'; diff --git a/resources/views/Admin/footer.blade.php b/resources/views/Admin/footer.blade.php index 163a1a7..f7a8683 100644 --- a/resources/views/Admin/footer.blade.php +++ b/resources/views/Admin/footer.blade.php @@ -12,28 +12,28 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -42,9 +42,9 @@ - + - + @yield('section_script') @@ -69,9 +69,9 @@ - + - \ No newline at end of file + diff --git a/resources/views/Admin/header.blade.php b/resources/views/Admin/header.blade.php index f9d02df..429f089 100644 --- a/resources/views/Admin/header.blade.php +++ b/resources/views/Admin/header.blade.php @@ -14,25 +14,25 @@ - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -42,4 +42,4 @@ - \ No newline at end of file + diff --git a/resources/views/Admin/layouts/app_login.blade.php b/resources/views/Admin/layouts/app_login.blade.php index 986faa8..b624eb3 100644 --- a/resources/views/Admin/layouts/app_login.blade.php +++ b/resources/views/Admin/layouts/app_login.blade.php @@ -8,31 +8,31 @@ @yield('title') - + - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -72,28 +72,28 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/views/Admin/layouts/master.blade.php b/resources/views/Admin/layouts/master.blade.php index 631c4c5..a65c768 100644 --- a/resources/views/Admin/layouts/master.blade.php +++ b/resources/views/Admin/layouts/master.blade.php @@ -9,7 +9,7 @@ --> diff --git a/resources/views/Admin/pages/auth/forgot_password.blade.php b/resources/views/Admin/pages/auth/forgot_password.blade.php index c2c8968..de41304 100644 --- a/resources/views/Admin/pages/auth/forgot_password.blade.php +++ b/resources/views/Admin/pages/auth/forgot_password.blade.php @@ -5,11 +5,11 @@
- +
+ style="background-image: url(public/assets/img/login_screen_background.png);">

FORGOT PASSWORD

diff --git a/resources/views/Admin/pages/auth/login.blade.php b/resources/views/Admin/pages/auth/login.blade.php index c57ff64..de1fe0c 100644 --- a/resources/views/Admin/pages/auth/login.blade.php +++ b/resources/views/Admin/pages/auth/login.blade.php @@ -5,11 +5,11 @@
- +