first commit
This commit is contained in:
36
resources/views/auth/confirm-password.blade.php
Normal file
36
resources/views/auth/confirm-password.blade.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<x-guest-layout>
|
||||
<x-auth-card>
|
||||
<x-slot name="logo">
|
||||
<a href="/">
|
||||
<x-application-logo class="w-20 h-20 fill-current text-gray-500" />
|
||||
</a>
|
||||
</x-slot>
|
||||
|
||||
<div class="mb-4 text-sm text-gray-600">
|
||||
{{ __('This is a secure area of the application. Please confirm your password before continuing.') }}
|
||||
</div>
|
||||
|
||||
<!-- Validation Errors -->
|
||||
<x-auth-validation-errors class="mb-4" :errors="$errors" />
|
||||
|
||||
<form method="POST" action="{{ route('password.confirm') }}">
|
||||
@csrf
|
||||
|
||||
<!-- Password -->
|
||||
<div>
|
||||
<x-label for="password" :value="__('Password')" />
|
||||
|
||||
<x-input id="password" class="block mt-1 w-full"
|
||||
type="password"
|
||||
name="password"
|
||||
required autocomplete="current-password" />
|
||||
</div>
|
||||
|
||||
<div class="flex justify-end mt-4">
|
||||
<x-button>
|
||||
{{ __('Confirm') }}
|
||||
</x-button>
|
||||
</div>
|
||||
</form>
|
||||
</x-auth-card>
|
||||
</x-guest-layout>
|
||||
36
resources/views/auth/forgot-password.blade.php
Normal file
36
resources/views/auth/forgot-password.blade.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<x-guest-layout>
|
||||
<x-auth-card>
|
||||
<x-slot name="logo">
|
||||
<a href="/">
|
||||
<x-application-logo class="w-20 h-20 fill-current text-gray-500" />
|
||||
</a>
|
||||
</x-slot>
|
||||
|
||||
<div class="mb-4 text-sm text-gray-600">
|
||||
{{ __('Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.') }}
|
||||
</div>
|
||||
|
||||
<!-- Session Status -->
|
||||
<x-auth-session-status class="mb-4" :status="session('status')" />
|
||||
|
||||
<!-- Validation Errors -->
|
||||
<x-auth-validation-errors class="mb-4" :errors="$errors" />
|
||||
|
||||
<form method="POST" action="{{ route('password.email') }}">
|
||||
@csrf
|
||||
|
||||
<!-- Email Address -->
|
||||
<div>
|
||||
<x-label for="email" :value="__('Email')" />
|
||||
|
||||
<x-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus />
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-end mt-4">
|
||||
<x-button>
|
||||
{{ __('Email Password Reset Link') }}
|
||||
</x-button>
|
||||
</div>
|
||||
</form>
|
||||
</x-auth-card>
|
||||
</x-guest-layout>
|
||||
66
resources/views/auth/login.blade.php
Normal file
66
resources/views/auth/login.blade.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Inventory-Management-System</title>
|
||||
|
||||
<!-- Font Icon -->
|
||||
<link rel="stylesheet" href="{{ asset('frontend') }}/fonts/material-icon/css/material-design-iconic-font.min.css">
|
||||
|
||||
<!-- Main css -->
|
||||
<link rel="stylesheet" href="{{ asset('frontend') }}/css/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="main">
|
||||
<!-- Sing in Form -->
|
||||
<section class="sign-in">
|
||||
<div class="container">
|
||||
<div class="signin-content">
|
||||
<div class="signin-image">
|
||||
<figure><img src="{{ asset('frontend') }}/images/signin-image.jpg" alt="sing up image"></figure>
|
||||
<a href="{{ route('register') }}" class="signup-image-link">Create an account</a>
|
||||
</div>
|
||||
|
||||
<div class="signin-form">
|
||||
<h2 class="form-title">Sign In</h2>
|
||||
<form method="POST" action="{{ route('login') }}" class="register-form" id="login-form">
|
||||
@csrf
|
||||
<div class="form-group">
|
||||
<label for="email"><i class="zmdi zmdi-account material-icons-name"></i></label>
|
||||
<input type="email" name="email" id="email" placeholder="Email" required="" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password"><i class="zmdi zmdi-lock"></i></label>
|
||||
<input type="password" name="password" id="password" placeholder="Password" required=""/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="checkbox" name="remember-me" id="remember-me" class="agree-term" />
|
||||
<label for="remember-me" class="label-agree-term"><span><span></span></span>Remember me</label>
|
||||
</div>
|
||||
<div class="form-group form-button">
|
||||
<input type="submit" name="signin" id="signin" class="form-submit" value="Log in"/>
|
||||
</div>
|
||||
</form>
|
||||
<div class="social-login">
|
||||
<span class="social-label">Or login with</span>
|
||||
<ul class="socials">
|
||||
<li><a href="#"><i class="display-flex-center zmdi zmdi-facebook"></i></a></li>
|
||||
<li><a href="#"><i class="display-flex-center zmdi zmdi-twitter"></i></a></li>
|
||||
<li><a href="#"><i class="display-flex-center zmdi zmdi-google"></i></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- JS -->
|
||||
<script src="{{ asset('frontend') }}/vendor/jquery/jquery.min.js"></script>
|
||||
<script src="{{ asset('frontend') }}/js/main.js"></script>
|
||||
</body><!-- This templates was made by Colorlib (https://colorlib.com) -->
|
||||
</html>
|
||||
65
resources/views/auth/register.blade.php
Normal file
65
resources/views/auth/register.blade.php
Normal file
@@ -0,0 +1,65 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Inventory-Management-System</title>
|
||||
|
||||
<!-- Font Icon -->
|
||||
<link rel="stylesheet" href="{{ asset('frontend') }}/fonts/material-icon/css/material-design-iconic-font.min.css">
|
||||
|
||||
<!-- Main css -->
|
||||
<link rel="stylesheet" href="{{ asset('frontend') }}/css/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="main">
|
||||
<!-- Sing in Form -->
|
||||
<section class="signup">
|
||||
<div class="container">
|
||||
<div class="signup-content">
|
||||
<div class="signup-form">
|
||||
<h2 class="form-title">Sign up</h2>
|
||||
<form method="POST" action="{{ route('register') }}" class="register-form" id="register-form">
|
||||
@csrf
|
||||
<div class="form-group">
|
||||
<label for="name"><i class="zmdi zmdi-account material-icons-name"></i></label>
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" required=""/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email"><i class="zmdi zmdi-email"></i></label>
|
||||
<input type="email" name="email" id="email" placeholder="Your Email" required=""/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password"><i class="zmdi zmdi-lock"></i></label>
|
||||
<input type="password" name="password" id="password" placeholder="Password" required=""/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password_confirmation"><i class="zmdi zmdi-lock-outline"></i></label>
|
||||
<input type="password" name="password_confirmation" id="password_confirmation" placeholder="Confirm your password" required=""/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="checkbox" name="agree-term" id="agree-term" class="agree-term" />
|
||||
<label for="agree-term" class="label-agree-term"><span><span></span></span>I agree all statements in <a href="#" class="term-service">Terms of service</a></label>
|
||||
</div>
|
||||
<div class="form-group form-button">
|
||||
<input type="submit" name="signup" id="signup" class="form-submit" value="Register"/>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="signup-image">
|
||||
<figure><img src="{{ asset('frontend') }}/images/signup-image.jpg" alt="sing up image"></figure>
|
||||
<a href="{{ route('login') }}" class="signup-image-link"><b>I am already a member</b></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- JS -->
|
||||
<script src="{{ asset('frontend') }}/vendor/jquery/jquery.min.js"></script>
|
||||
<script src="{{ asset('frontend') }}/js/main.js"></script>
|
||||
</body><!-- This templates was made by Colorlib (https://colorlib.com) -->
|
||||
</html>
|
||||
48
resources/views/auth/reset-password.blade.php
Normal file
48
resources/views/auth/reset-password.blade.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<x-guest-layout>
|
||||
<x-auth-card>
|
||||
<x-slot name="logo">
|
||||
<a href="/">
|
||||
<x-application-logo class="w-20 h-20 fill-current text-gray-500" />
|
||||
</a>
|
||||
</x-slot>
|
||||
|
||||
<!-- Validation Errors -->
|
||||
<x-auth-validation-errors class="mb-4" :errors="$errors" />
|
||||
|
||||
<form method="POST" action="{{ route('password.update') }}">
|
||||
@csrf
|
||||
|
||||
<!-- Password Reset Token -->
|
||||
<input type="hidden" name="token" value="{{ $request->route('token') }}">
|
||||
|
||||
<!-- Email Address -->
|
||||
<div>
|
||||
<x-label for="email" :value="__('Email')" />
|
||||
|
||||
<x-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email', $request->email)" required autofocus />
|
||||
</div>
|
||||
|
||||
<!-- Password -->
|
||||
<div class="mt-4">
|
||||
<x-label for="password" :value="__('Password')" />
|
||||
|
||||
<x-input id="password" class="block mt-1 w-full" type="password" name="password" required />
|
||||
</div>
|
||||
|
||||
<!-- Confirm Password -->
|
||||
<div class="mt-4">
|
||||
<x-label for="password_confirmation" :value="__('Confirm Password')" />
|
||||
|
||||
<x-input id="password_confirmation" class="block mt-1 w-full"
|
||||
type="password"
|
||||
name="password_confirmation" required />
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-end mt-4">
|
||||
<x-button>
|
||||
{{ __('Reset Password') }}
|
||||
</x-button>
|
||||
</div>
|
||||
</form>
|
||||
</x-auth-card>
|
||||
</x-guest-layout>
|
||||
39
resources/views/auth/verify-email.blade.php
Normal file
39
resources/views/auth/verify-email.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<x-guest-layout>
|
||||
<x-auth-card>
|
||||
<x-slot name="logo">
|
||||
<a href="/">
|
||||
<x-application-logo class="w-20 h-20 fill-current text-gray-500" />
|
||||
</a>
|
||||
</x-slot>
|
||||
|
||||
<div class="mb-4 text-sm text-gray-600">
|
||||
{{ __('Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn\'t receive the email, we will gladly send you another.') }}
|
||||
</div>
|
||||
|
||||
@if (session('status') == 'verification-link-sent')
|
||||
<div class="mb-4 font-medium text-sm text-green-600">
|
||||
{{ __('A new verification link has been sent to the email address you provided during registration.') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="mt-4 flex items-center justify-between">
|
||||
<form method="POST" action="{{ route('verification.send') }}">
|
||||
@csrf
|
||||
|
||||
<div>
|
||||
<x-button>
|
||||
{{ __('Resend Verification Email') }}
|
||||
</x-button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<form method="POST" action="{{ route('logout') }}">
|
||||
@csrf
|
||||
|
||||
<button type="submit" class="underline text-sm text-gray-600 hover:text-gray-900">
|
||||
{{ __('Log out') }}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</x-auth-card>
|
||||
</x-guest-layout>
|
||||
Reference in New Issue
Block a user