219 lines
8.6 KiB
PHP
219 lines
8.6 KiB
PHP
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Login || RSAB Harapan Kita</title>
|
|
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
|
<link rel="stylesheet" href="{{ ver('/assets/css/styles.min.css') }}" />
|
|
<script src="{{ ver('/assets/libs/jquery/dist/jquery.min.js') }}"></script>
|
|
<script src="{{ ver('/assets/libs/bootstrap/dist/js/bootstrap.bundle.min.js') }}"></script>
|
|
<!-- solar icons -->
|
|
<script src="https://cdn.jsdelivr.net/npm/iconify-icon@1.0.8/dist/iconify-icon.min.js"></script>
|
|
</head>
|
|
<style>
|
|
body{
|
|
background-color: #E2E7E0;
|
|
}
|
|
.login-wrapper{
|
|
min-height: 650px;
|
|
}
|
|
.login-card{
|
|
min-height: 300px;
|
|
}
|
|
|
|
.login-card .card-body{
|
|
display:flex;
|
|
flex-direction:column;
|
|
justify-content:center;
|
|
}
|
|
|
|
.carousel-image{
|
|
width:100%;
|
|
max-height:420px;
|
|
object-fit:contain;
|
|
}
|
|
|
|
.carousel-indicators{
|
|
bottom:-40px;
|
|
}
|
|
|
|
.carousel-indicators button{
|
|
background-color:#0d6efd;
|
|
}
|
|
|
|
@media (max-width: 768px){
|
|
.carousel-image{
|
|
max-height:300px;
|
|
}
|
|
}
|
|
.carousel-indicators{
|
|
bottom: -50px;
|
|
}
|
|
|
|
.carousel-indicators button{
|
|
width: 10px !important;
|
|
height: 10px !important;
|
|
border-radius: 50% !important;
|
|
background-color: #adb5bd !important;
|
|
border: none !important;
|
|
margin: 0 5px !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.carousel-indicators .active{
|
|
background-color: #212529 !important;
|
|
transform: scale(1.2);
|
|
}
|
|
</style>
|
|
|
|
<body>
|
|
<!-- Body Wrapper -->
|
|
<div class="container p-5">
|
|
<div class="row">
|
|
<div class="col-md-7 d-none d-md-flex flex-column justify-content-center">
|
|
|
|
<!-- Header -->
|
|
<div class="text-center mb-4">
|
|
|
|
<img src="/logo/logo_rsabhk.png"
|
|
class="img-fluid mb-3"
|
|
style="max-height:90px;">
|
|
|
|
<h4 class="fw-bold text-black mb-1">
|
|
RUMAH SAKIT ANAK DAN BUNDA HARAPAN KITA
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
<!-- Slider -->
|
|
<div id="loginCarousel"
|
|
class="carousel slide"
|
|
data-bs-ride="carousel"
|
|
data-bs-interval="3000">
|
|
|
|
<!-- Indicator -->
|
|
<div class="carousel-indicators">
|
|
|
|
<button type="button"
|
|
data-bs-target="#loginCarousel"
|
|
data-bs-slide-to="0"
|
|
class="active">
|
|
</button>
|
|
|
|
<button type="button"
|
|
data-bs-target="#loginCarousel"
|
|
data-bs-slide-to="1">
|
|
</button>
|
|
|
|
<button type="button"
|
|
data-bs-target="#loginCarousel"
|
|
data-bs-slide-to="2">
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="carousel-inner">
|
|
|
|
<div class="carousel-item active text-center">
|
|
<img src="https://iki-sdm.rsabhk.co.id/metronic/assets/media/illustrations/sigma-1/17.png"
|
|
class="carousel-image">
|
|
</div>
|
|
|
|
<div class="carousel-item text-center">
|
|
<img src="https://iki-sdm.rsabhk.co.id/metronic/assets/media/illustrations/dozzy-1/6.png"
|
|
class="carousel-image">
|
|
</div>
|
|
|
|
<div class="carousel-item text-center">
|
|
<img src="https://iki-sdm.rsabhk.co.id/metronic/assets/media/illustrations/unitedpalms-1/12.png"
|
|
class="carousel-image">
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<div class="col-md-5">
|
|
<div class="card d-flex flex-row justify-content-center align-items-center p-3 mb-3 text-primary">
|
|
<svg xmlns="http://www.w3.org/2000/svg"
|
|
width="28"
|
|
height="28"
|
|
viewBox="0 0 24 24"
|
|
class="me-2">
|
|
<path d="M0 0h24v24H0z" fill="none"/>
|
|
<path fill="currentColor"
|
|
d="M9.175 10.825Q8 9.65 8 8t1.175-2.825T12 4t2.825 1.175T16 8t-1.175 2.825T12 12t-2.825-1.175M4 20v-2.8q0-.85.438-1.562T5.6 14.55q1.55-.775 3.15-1.162T12 13t3.25.388t3.15 1.162q.725.375 1.163 1.088T20 17.2V20z"/>
|
|
</svg>
|
|
|
|
<span class="fw-bold fs-3">
|
|
E-DOKUMEN
|
|
</span>
|
|
|
|
</div>
|
|
<div class="card mb-0">
|
|
<div class="card-body">
|
|
<form method="post" action="/login">
|
|
@csrf
|
|
@if (session()->has('alertError'))
|
|
<div class="alert alert-danger fw-bold" role="alert">
|
|
@if(session('alertError') === 'captcha')
|
|
Captcha salah!
|
|
@elseif(session('alertError') === 'rate')
|
|
Terlalu banyak percobaan login. Coba lagi dalam 1 menit.
|
|
@elseif(session('alertError') === 'backoff')
|
|
Mohon tunggu beberapa detik sebelum mencoba lagi.
|
|
@else
|
|
Username atau password salah!
|
|
@endif
|
|
</div>
|
|
@endif
|
|
<!-- Honeypot (anti-bot): harus tetap kosong -->
|
|
<div style="position:absolute; left:-9999px; top:-9999px; height:0; width:0; overflow:hidden;" aria-hidden="true">
|
|
<label>Website</label>
|
|
<input type="text" name="website" tabindex="-1" autocomplete="off">
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="exampleInputEmail1" class="form-label">Username</label>
|
|
<input type="text" name="namauser" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" required>
|
|
</div>
|
|
<div class="mb-4">
|
|
<label for="exampleInputPassword1" class="form-label">Password</label>
|
|
<input type="password" name="passcode" class="form-control" id="exampleInputPassword1" required>
|
|
</div>
|
|
<div class="mb-4">
|
|
<label class="form-label">Captcha</label>
|
|
<div class="d-flex align-items-center gap-2">
|
|
<img
|
|
src="{{ route('captcha.login') }}?t={{ time() }}"
|
|
alt="captcha"
|
|
class="border rounded"
|
|
style="height: 44px; width: 140px; object-fit: cover;"
|
|
>
|
|
<input type="text" name="captcha" class="form-control text-uppercase" placeholder="Masukkan kode di gambar" autocomplete="off" required>
|
|
<a href="/login" class="btn btn-outline-secondary" title="Refresh captcha">Refresh</a>
|
|
</div>
|
|
<div class="form-text text-muted">Masukkan kode sesuai yang ditampilkan (huruf tidak membedakan kapital/kecil).</div>
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-primary w-100 py-8 fs-4 mb-4 rounded-2">Login</button>
|
|
</form>
|
|
<div class="alert alert-info" role="alert">
|
|
<b>Info</b> <br/>
|
|
<small>Gunakan username dan password SMART untuk login</small>
|
|
</div>
|
|
<div class="alert alert-info" role="alert">
|
|
<b>Info Juknis</b> <br/>
|
|
<a href="/assets/juknis.pptx" class="fw-semibold text-primary"><u>Silahkan klik ini untuk download juknis</u></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|