modified student auth

Cette révision appartient à :
Ibrahim Khail Shakil 2023-12-21 13:37:15 +06:00
Parent 73461f2d1c
révision 3b0f9b5e32
2 fichiers modifiés avec 150 ajouts et 0 suppressions

Voir le fichier

@ -0,0 +1,65 @@
@extends('frontend.layouts.app')
@section('title', 'Sign In')
@section('header-attr') class="nav-shadow" @endsection
@section('content')
<!-- SignIn Area Starts Here -->
<section class="signup-area signin-area p-3">
<div class="container">
<div class="row align-items-center">
<div class="col-xl-5 order-2 order-xl-0">
<div class="signup-area-textwrapper">
<h2 class="font-title--md mb-0">Sign in</h2>
<p class="mt-2 mb-lg-4 mb-3">Don't have account? <a href="{{route('studentRegister')}}"
class="text-black-50">Sign
up</a></p>
<form action="{{route('studentLogin.check','studentdashboard')}}" method="POST">
@csrf
<div class="form-element">
<label for="email">Email</label>
<input type="email" placeholder="Username" id="email" name="email" />
@if($errors->has('email'))
<small class="d-block text-danger">{{$errors->first('email')}}</small>
@endif
</div>
<div class="form-element">
<div class="d-flex justify-content-between">
<label for="password">Password</label>
<a href="forget-password.html" class="text-primary fs-6">Forget Password</a>
</div>
<div class="form-alert-input">
<input type="password" placeholder="Type here..." id="password" name="password" />
<div class="form-alert-icon" onclick="showPassword('password',this);">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" class="feather feather-eye">
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path>
<circle cx="12" cy="12" r="3"></circle>
</svg>
</div>
@if($errors->has('password'))
<small class="d-block text-danger">{{$errors->first('password')}}</small>
@endif
</div>
</div>
<div class="form-element d-flex align-items-center terms">
<input class="checkbox-primary me-1" type="checkbox" id="agree" />
<label for="agree" class="text-secondary mb-0 fs-6">Remember me</label>
</div>
<div class="form-element">
<button type="submit" class="button button-lg button--primary w-100">Sign in</button>
</div>
</form>
</div>
</div>
<div class="col-xl-7 order-1 order-xl-0">
<div class="signup-area-image">
<img src="{{asset('public/frontend/dist/images/signup/Illustration.png')}}" alt="Illustration Image"
class="img-fluid" />
</div>
</div>
</div>
</div>
</section>
<!-- SignIn Area Ends Here -->
@endsection

Voir le fichier

@ -0,0 +1,85 @@
@extends('frontend.layouts.app')
@section('title', 'Sign Up')
@section('header-attr') class="nav-shadow" @endsection
@section('content')
<!-- SignUp Area Starts Here -->
<section class="signup-area signin-area p-3">
<div class="container">
<div class="row align-items-center justify-content-md-center">
<div class="col-lg-5 order-2 order-lg-0">
<div class="signup-area-textwrapper">
<h2 class="font-title--md mb-0">Sign Up</h2>
<p class="mt-2 mb-lg-4 mb-3">Already have account? <a href="{{route('studentLogin')}}" class="text-black-50">Sign In</a></p>
<form action="{{route('studentRegister.store','studentdashboard')}}" method="POST">
@csrf
<div class="form-element">
<label for="name">Full Name</label>
<input type="text" placeholder="Enter Your Name" id="name" value="{{old('name')}}" name="name" />
@if($errors->has('name'))
<small class="d-block text-danger">{{$errors->first('name')}}</small>
@endif
</div>
<div class="form-element">
<label for="email">Email</label>
<input type="email" placeholder="example@email.com" id="email" value="{{old('email')}}" name="email" />
@if($errors->has('email'))
<small class="d-block text-danger">{{$errors->first('email')}}</small>
@endif
</div>
<div class="form-element">
<label for="password" class="w-100" style="text-align: left;">password</label>
<div class="form-alert-input">
<input type="password" placeholder="Type here..." id="password" name="password"/>
<div class="form-alert-icon" onclick="showPassword('password',this)">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" class="feather feather-eye">
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path>
<circle cx="12" cy="12" r="3"></circle>
</svg>
</div>
@if($errors->has('password'))
<small class="d-block text-danger">{{$errors->first('password')}}</small>
@endif
</div>
</div>
<div class="form-element">
<label for="password_confirmation" class="w-100" style="text-align: left;">Confirm
password</label>
<div class="form-alert-input">
<input type="password" placeholder="Type here..." name="password_confirmation" id="password_confirmation" />
<div class="form-alert-icon" onclick="showPassword('password_confirmation',this)">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" class="feather feather-eye">
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path>
<circle cx="12" cy="12" r="3"></circle>
</svg>
</div>
</div>
</div>
<div class="form-element d-flex align-items-center terms">
<input class="checkbox-primary me-1" type="checkbox" id="agree" />
<label for="agree" class="text-secondary mb-0">Accept the <a href="#"
style="text-decoration: underline;">Terms</a> and <a href="#"
style="text-decoration: underline;">Privacy Policy</a></label>
</div>
<div class="form-element">
<button type="submit" class="button button-lg button--primary w-100">Sign UP</button>
</div>
</form>
</div>
</div>
<div class="col-lg-7 order-1 order-lg-0">
<div class="signup-area-image">
<img src="{{asset('public/frontend/dist/images/signup/Illustration.png')}}" alt="Illustration Image"
class="img-fluid" />
</div>
</div>
</div>
</div>
</section>
<!-- SignUp Area Ends Here -->
@endsection