firstcommit
This commit is contained in:
62
Modules/Admin/resources/views/auth/layouts/master.blade.php
Normal file
62
Modules/Admin/resources/views/auth/layouts/master.blade.php
Normal file
@@ -0,0 +1,62 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en" class="light-style customizer-hide" dir="ltr" data-theme="theme-default"
|
||||
data-assets-path="../../assets/" data-template="vertical-menu-template">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
|
||||
|
||||
<title>Login Cover - Pages | {{ config('app.name') }}</title>
|
||||
|
||||
<meta name="description" content="" />
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/x-icon" href="../../assets/img/favicon/favicon.ico" />
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap"
|
||||
rel="stylesheet" />
|
||||
|
||||
<!-- Icons -->
|
||||
<link rel="stylesheet" href="{{ asset('backend/theme/assets/vendor/fonts/boxicons.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('backend/theme/assets/vendor/fonts/fontawesome.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('backend/theme/assets/vendor/fonts/flag-icons.css') }}" />
|
||||
|
||||
<!-- Core CSS -->
|
||||
<link rel="stylesheet" href="{{ asset('backend/theme/assets/vendor/css/rtl/core.css') }}"
|
||||
class="template-customizer-core-css" />
|
||||
<link rel="stylesheet" href="{{ asset('backend/theme/assets/vendor/css/rtl/theme-default.css') }}"
|
||||
class="template-customizer-theme-css" />
|
||||
{{-- <link rel="stylesheet" href="{{asset('backend/theme/assets/css/demo.css')}}" /> --}}
|
||||
|
||||
<link rel="stylesheet"
|
||||
href="{{ asset('backend/theme/assets/vendor/libs/formvalidation/dist/css/formValidation.min.css') }}" />
|
||||
|
||||
<!-- Page CSS -->
|
||||
<!-- Page -->
|
||||
<link rel="stylesheet" href="{{ asset('backend/theme/assets/vendor/css/pages/page-auth.css') }}" />
|
||||
<!-- Helpers -->
|
||||
|
||||
<!-- vite -->
|
||||
@vite(['resources/js/backend/app.js'])
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Content -->
|
||||
@yield('content')
|
||||
<!-- / Content -->
|
||||
|
||||
<!-- Vendors JS -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
||||
|
||||
<script src="../../assets/vendor/libs/formvalidation/dist/js/FormValidation.min.js"></script>
|
||||
<script src="../../assets/vendor/libs/formvalidation/dist/js/plugins/Bootstrap5.min.js"></script>
|
||||
<script src="../../assets/vendor/libs/formvalidation/dist/js/plugins/AutoFocus.min.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
54
Modules/Admin/resources/views/auth/pages/login.blade.php
Normal file
54
Modules/Admin/resources/views/auth/pages/login.blade.php
Normal file
@@ -0,0 +1,54 @@
|
||||
@extends('admin::auth.layouts.master')
|
||||
|
||||
@section('content')
|
||||
<div class="authentication-wrapper authentication-cover">
|
||||
<div class="authentication-inner row m-0">
|
||||
<!-- /Left Text -->
|
||||
<div class="d-none d-lg-flex col-lg-7 col-xl-8 align-items-center">
|
||||
<div class="flex-row text-center mx-auto">
|
||||
<img src="{{ asset('backend/uploads/auth/login.png') }}" alt="Auth Cover Bg color" width="520"
|
||||
class="img-fluid authentication-cover-img" data-app-light-img="pages/login-light.png"
|
||||
data-app-dark-img="pages/login-dark.png" />
|
||||
</div>
|
||||
</div>
|
||||
<!-- /Left Text -->
|
||||
|
||||
<!-- Login -->
|
||||
<div class="d-flex col-12 col-lg-5 col-xl-4 align-items-center authentication-bg p-sm-5 p-4">
|
||||
<div class="w-px-400 mx-auto">
|
||||
<h4 class="mb-2">Welcome to {{ env('APP_NAME') }}! 👋</h4>
|
||||
<p class="mb-4">Please sign-in to your account and start the adventure</p>
|
||||
|
||||
<form id="formAuthentication" class="mb-3" action="{{ route('login.post') }}" method="POST">
|
||||
@csrf
|
||||
<div class="mb-3">
|
||||
<label for="email" class="form-label">Email or Username</label>
|
||||
<input type="text" class="form-control" id="email" name="email"
|
||||
placeholder="Enter your email or username" autofocus />
|
||||
</div>
|
||||
<div class="mb-3 form-password-toggle">
|
||||
<div class="d-flex justify-content-between">
|
||||
<label class="form-label" for="password">Password</label>
|
||||
</div>
|
||||
<div x-data="{ showPassword: false }" class="input-group input-group-merge">
|
||||
<input type="password" id="password" class="form-control passwordField" name="password"
|
||||
placeholder="············"
|
||||
aria-describedby="password" x-bind:type="showPassword ? 'text' : 'password'" />
|
||||
<span class="input-group-text cursor-pointer" x-on:click="showPassword = !showPassword">
|
||||
<i x-bind:class="showPassword ? 'bx bx-show' : 'bx bx-hide'"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="remember-me" />
|
||||
<label class="form-check-label" for="remember-me"> Remember Me </label>
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn-primary d-grid w-100">Sign In</button>
|
||||
</form>
|
||||
</div>
|
||||
<!-- /Login -->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
Reference in New Issue
Block a user