-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Admin authentication layout editing: complete
- Loading branch information
Showing
4 changed files
with
79 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,26 @@ | ||
<!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"> | ||
<link href='https://fonts.googleapis.com/css?family=Poppins' rel='stylesheet'> | ||
@extends('backend.layouts.login-template') | ||
|
||
<title>Forgot Password</title> | ||
@vite(['resources/css/admin-login.css']) | ||
</head> | ||
<body> | ||
<section class="main-section"> | ||
<div class="form-banner"> | ||
<div class="img-place"> | ||
<img class="image" src="{{ URL('images/authenticate.jpg') }}" alt="Authenticate" srcset=""> | ||
</div> | ||
<div class="form-place"> | ||
<span class="login-dashboard-text">Forgot Password</span> | ||
<form action={{ route('admin.forgot.password') }} method="POST" autocomplete="off"> | ||
@csrf | ||
<label for="email">Email</label><br> | ||
<input type="text" name="email" id="" placeholder="Enter Email"> | ||
<br> | ||
<input type="submit" value="Send Reset Link"> | ||
</form> | ||
<span class="error-message"> | ||
@if(session('message')) | ||
{{ session('message') }} | ||
@endif | ||
@section('content') | ||
<div class="form-place"> | ||
<span class="login-dashboard-text">Forgot Password</span> | ||
<form action={{ route('admin.forgot.password') }} method="POST" autocomplete="off"> | ||
@csrf | ||
<label for="email">Email</label><br> | ||
<input type="text" name="email" id="" placeholder="Enter Email"> | ||
<br> | ||
<input type="submit" value="Send Reset Link"> | ||
</form> | ||
<span class="error-message"> | ||
@if(session('message')) | ||
{{ session('message') }} | ||
@endif | ||
|
||
@if($errors->any()) | ||
@foreach ($errors->all() as $error) | ||
{{ $error}} <br> | ||
@endforeach | ||
@endif | ||
</span> | ||
@if($errors->any()) | ||
@foreach ($errors->all() as $error) | ||
{{ $error}} <br> | ||
@endforeach | ||
@endif | ||
</span> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
|
||
</body> | ||
</html> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!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"> | ||
<link href='https://fonts.googleapis.com/css?family=Poppins' rel='stylesheet'> | ||
<title>Dashboard-Login</title> | ||
|
||
@vite(['resources/css/admin-login.css']) | ||
|
||
</head> | ||
<body> | ||
<section class="main-section"> | ||
<div class="form-banner"> | ||
<div class="img-place"> | ||
<img class="image" src="{{ URL('images/authenticate.jpg') }}" alt="Authenticate" srcset=""> | ||
</div> | ||
@yield('content') | ||
</div> | ||
</section> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,33 @@ | ||
<!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"> | ||
<link href='https://fonts.googleapis.com/css?family=Poppins' rel='stylesheet'> | ||
@extends('backend.layouts.login-template') | ||
|
||
<title>Forgot Password</title> | ||
@vite(['resources/css/admin-login.css']) | ||
</head> | ||
<body> | ||
<section class="main-section"> | ||
<div class="form-banner"> | ||
<div class="img-place"> | ||
<img class="image" src="{{ URL('images/authenticate.jpg') }}" alt="Authenticate" srcset=""> | ||
</div> | ||
<div class="form-place"> | ||
<span class="login-dashboard-text">Reset Password</span> | ||
<form action={{ route{{ 'admin.new.password' }} }} method="POST" autocomplete="off"> | ||
@csrf | ||
<label for="new-password">New Password</label><br> | ||
<input type="password" name="new-password" id="" placeholder="Enter New Password"> | ||
<br> | ||
<label for="confirm-password">Confirm Password</label><br> | ||
<input type="password" name="confirm-password" id="" placeholder="Confirm New Password"> | ||
@section('content') | ||
<div class="form-place"> | ||
<span class="login-dashboard-text">Reset Password</span> | ||
<form action={{ route('admin.new.password') }} method="POST" autocomplete="off"> | ||
@csrf | ||
<label for="new-password">New Password</label><br> | ||
<input type="password" name="new-password" id="" placeholder="Enter New Password"> | ||
<br> | ||
<label for="confirm-password">Confirm Password</label><br> | ||
<input type="password" name="confirm-password" id="" placeholder="Confirm New Password"> | ||
|
||
<input type="hidden" name="token" value="{{ $token }}"> | ||
<input type="submit" value="Confirm Password"> | ||
<input type="hidden" name="token" value="{{ $token }}"> | ||
|
||
<input type="submit" value="Confirm Password"> | ||
|
||
</form> | ||
<span class="error-message"> | ||
@if(session('message')) | ||
{{ session('message') }} | ||
@endif | ||
|
||
</form> | ||
<span class="error-message"> | ||
@if(session('message')) | ||
{{ session('message') }} | ||
@endif | ||
|
||
@if($errors->any()) | ||
@foreach ($errors->all() as $error) | ||
{{ $error}} <br> | ||
@endforeach | ||
@endif | ||
</span> | ||
@if($errors->any()) | ||
@foreach ($errors->all() as $error) | ||
{{ $error}} <br> | ||
@endforeach | ||
@endif | ||
</span> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
|
||
</body> | ||
</html> | ||
</div> | ||
@endsection |