init project
This commit is contained in:
198
resources/views/base.blade.php
Normal file
198
resources/views/base.blade.php
Normal file
@@ -0,0 +1,198 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>{{ config('app.name', 'doctora') }}</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
|
||||
<link rel="stylesheet" href="{{ url(env("APP_URL").'storage/assets/vendors/css/vendor.bundle.base.css') }}">
|
||||
<link rel="shortcut icon" href="{{ url(env("APP_URL").'storage/assets/images/favicon.png') }}" />
|
||||
|
||||
<link rel="stylesheet" href="{{url(env("APP_URL").'storage/assets/vendors/select2/select2.min.css')}}">
|
||||
<link rel="stylesheet" href="{{url(env("APP_URL").'storage/assets/css/overwrite.select2.css')}}">
|
||||
|
||||
<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=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&family=Khmer&family=Moul&display=swap" rel="stylesheet">
|
||||
|
||||
|
||||
<style>
|
||||
body {
|
||||
background: url("{{ url(env("APP_URL").'storage/assets/images/bg-login.png') }}") center right;
|
||||
background-size: cover;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
@if ( Config::get('app.locale') == 'kh')
|
||||
font-family: "Kantumruy Pro", sans-serif;
|
||||
@endif
|
||||
|
||||
}
|
||||
|
||||
.kantumruy-pro {
|
||||
font-family: "Kantumruy Pro", sans-serif;
|
||||
font-optical-sizing: auto;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.container-box {
|
||||
background: #37ff761c;
|
||||
border-radius: 15px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.24);
|
||||
max-width: 512px;
|
||||
}
|
||||
.container{
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
}
|
||||
.left-panel {
|
||||
background: url('https://cdn.leonardo.ai/users/911cfb44-ec95-4591-b2a1-3ec14b37a49c/generations/d4729acc-ccfe-4add-a19e-36e03140779e/segments/3:4:1/Flux_Dev_A_modern_hospital_setting_with_a_diverse_group_of_doc_2.jpg') no-repeat center center;
|
||||
background-size: cover;
|
||||
position: relative;
|
||||
color: white;
|
||||
}
|
||||
.overlay {
|
||||
position: absolute;
|
||||
background-color: rgba(255, 255, 255, 0.45);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.left-panel .text {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
padding: 30px;
|
||||
color: #b71c1c;
|
||||
}
|
||||
.left-panel .text h2 {
|
||||
font-family: 'Brush Script MT', cursive;
|
||||
font-size: 36px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.login-panel {
|
||||
padding: 20px;
|
||||
}
|
||||
.login-panel h2 {
|
||||
color: #2196f3;
|
||||
font-weight: bold;
|
||||
}
|
||||
.social-buttons img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin: 0 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.footer-icons {
|
||||
margin-top: 20px;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
font-size: 30px;
|
||||
}
|
||||
.footer-icons img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.dropdown-menu.show{
|
||||
left: -45px !important;
|
||||
border-radius: 7px;
|
||||
}
|
||||
.form-label{
|
||||
font-size: 18px !important;
|
||||
}
|
||||
.select2-selection__rendered {
|
||||
line-height: 43px !important;
|
||||
}
|
||||
.select2-container .select2-selection--single, .select2-selection--multiple {
|
||||
border-color: #afccf3 !important;
|
||||
}
|
||||
|
||||
.select2-container .select2-selection--single {
|
||||
height: 45px !important;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
.select2-selection__rendered {
|
||||
line-height: 28px !important;
|
||||
padding-top: 4px !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.select2-selection__arrow {
|
||||
height: 45px !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="lang position-absolute" style="right: 50px; top: 20px; z-index: 999999;">
|
||||
<div class="dropdown float-right" style="font-size: 10px">
|
||||
<button class="btn btn-white btn-sm dropdown-toggle d-flex align-items-center rounded-0 border-0" type="button" id="dropdownMenuSizeButton3" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="material-icons text-black-50" style="font-size: 17px !important;"><i class="bi bi-translate"></i> {{ App::getLocale()=='kh' ? 'ភាសាខ្មែរ' : 'English' }}</span>
|
||||
</button>
|
||||
<div class="dropdown-menu mr-5" aria-labelledby="dropdownMenuSizeButton3">
|
||||
@include('partials/language_switcher')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container container-box" style="border: 1px solid #dcdef1 !important; box-shadow: none !important;">
|
||||
<div class="row g-0">
|
||||
<div class="col-md-12 login-panel">
|
||||
<div class="auth-form-light text-left">
|
||||
<div class="brand-logo text-center">
|
||||
<img style="width: 45% !important;" src="{{url(env("APP_URL").'storage/assets/images/logo-dark.png')}}" alt="logo">
|
||||
</div>
|
||||
<hr>
|
||||
<h6 class="font-weight-light text-white" style="line-height: 25px;">{{ __('login.select_base') }}</h6>
|
||||
<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="{{ url('base.save') }}" class="pt-3">
|
||||
@csrf
|
||||
|
||||
<div class="input-group">
|
||||
<div class="input-group-append">
|
||||
<i class="mdi mdi-hospital-building position-absolute" style="top:10px; left:15px;"></i>
|
||||
</div>
|
||||
<div class="form-group" style="flex: 1 !important;">
|
||||
<select class="form-control select2 form-control-lg text-dark" name="lab_id" style=" width: 100% !important;">
|
||||
<option></option>
|
||||
@foreach($labs as $lab)
|
||||
<option value="{{$lab->id}}">{{ $lab->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-grid mt-5">
|
||||
<button type="submit" class="btn btn-lg font-weight-medium auth-form-btn" style="background: #08c74d !important; color: #fff;">{{ __('login.confirm_base') }}</button>
|
||||
</div>
|
||||
<div class="d-grid pt-3 mt-5">
|
||||
<a href="{{route('logout')}}" class="text-black text-decoration-none text-white "><i class="typcn typcn-eject text-primary"></i> {{ __('login.logout') }}</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
let choose_option = "{{__('general.choose_option')}}";
|
||||
</script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="{{url(env("APP_URL").'storage/assets/vendors/js/vendor.bundle.base.js')}}"></script>
|
||||
|
||||
|
||||
<script src="{{url(env("APP_URL").'storage/assets/vendors/select2/select2.min.js')}}"></script>
|
||||
<script src="{{url(env("APP_URL").'storage/assets/js/select2.js')}}"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user