feat: add initial views and controllers for verification and management modules
This commit is contained in:
@@ -5,283 +5,148 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Login | {{ config('app.name') }}</title>
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-notify/dist/simple-notify.css" />
|
||||
|
||||
<!-- Font & Icons -->
|
||||
<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=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" rel="stylesheet">
|
||||
|
||||
<!-- CSS Notifikasi -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-notify/dist/simple-notify.css" />
|
||||
|
||||
<!-- App Vite (Tailwind CSS v4 & High-Legibility Tokens) -->
|
||||
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
||||
|
||||
<style>
|
||||
body {
|
||||
background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: "Inter", sans-serif;
|
||||
padding: 20px;
|
||||
@keyframes float-slow {
|
||||
0%, 100% { transform: translateY(0px) rotate(0deg); }
|
||||
50% { transform: translateY(-10px) rotate(1deg); }
|
||||
}
|
||||
|
||||
.login-wrapper {
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
backdrop-filter: blur(10px);
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
max-width: 1000px;
|
||||
border: 1px solid rgba(59, 130, 246, 0.1);
|
||||
display: flex;
|
||||
min-height: 600px;
|
||||
transition: transform 0.3s ease;
|
||||
@keyframes pulse-glow {
|
||||
0%, 100% { opacity: 0.35; transform: scale(1); }
|
||||
50% { opacity: 0.65; transform: scale(1.1); }
|
||||
}
|
||||
|
||||
.login-wrapper:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 25px 50px rgba(30, 58, 138, 0.4);
|
||||
@keyframes card-entrance {
|
||||
0% { opacity: 0; transform: translateY(28px) scale(0.98); }
|
||||
100% { opacity: 1; transform: translateY(0) scale(1); }
|
||||
}
|
||||
|
||||
.image-section {
|
||||
flex: 1;
|
||||
background: linear-gradient(45deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 40px;
|
||||
color: white;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
.animate-float-slow {
|
||||
animation: float-slow 6s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.image-section::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%25" height="100%25" fill="url(%23grid)"/></svg>');
|
||||
opacity: 0.3;
|
||||
.animate-pulse-glow {
|
||||
animation: pulse-glow 8s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.floating-elements::before,
|
||||
.floating-elements::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-radius: 50%;
|
||||
animation: float 6s ease-in-out infinite;
|
||||
.animate-card-entrance {
|
||||
animation: card-entrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
||||
}
|
||||
|
||||
.floating-elements::before {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
top: 10%;
|
||||
right: -50px;
|
||||
}
|
||||
|
||||
.floating-elements::after {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
bottom: 20%;
|
||||
left: -30px;
|
||||
animation-delay: 3s;
|
||||
}
|
||||
|
||||
@keyframes float {
|
||||
0%, 100% { transform: translateY(0); }
|
||||
50% { transform: translateY(-20px); }
|
||||
}
|
||||
|
||||
.image-content {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.image-content .icon {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto 30px;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 2px solid rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.image-content h1 {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.image-content p {
|
||||
font-size: 1.1rem;
|
||||
opacity: 0.9;
|
||||
line-height: 1.6;
|
||||
max-width: 300px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.form-section {
|
||||
flex: 1;
|
||||
padding: 50px 40px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.login-header {
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.login-header h2 {
|
||||
color: #1e3a8a;
|
||||
font-weight: 600;
|
||||
font-size: 2rem;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.login-header p {
|
||||
color: #3b82f6;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.btn-portal {
|
||||
background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
padding: 18px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
color: white;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
text-decoration: none;
|
||||
transition: all 0.3s ease;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.btn-portal:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
|
||||
background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #1e40af 100%);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-portal:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.sso-info {
|
||||
margin-top: 30px;
|
||||
padding: 16px 20px;
|
||||
background: #eff6ff;
|
||||
border: 1px solid #bfdbfe;
|
||||
border-radius: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sso-info p {
|
||||
color: #1e40af;
|
||||
font-size: 13px;
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.login-wrapper {
|
||||
flex-direction: column;
|
||||
max-width: 500px;
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.image-section {
|
||||
padding: 30px 20px;
|
||||
min-height: 250px;
|
||||
}
|
||||
|
||||
.image-content h1 { font-size: 1.8rem; }
|
||||
|
||||
.form-section {
|
||||
padding: 30px 25px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.image-section {
|
||||
padding: 25px 15px;
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
.form-section { padding: 25px 20px; }
|
||||
.image-content h1 { font-size: 1.5rem; }
|
||||
.login-header h2 { font-size: 1.3rem; }
|
||||
.glass-card {
|
||||
background: rgba(255, 255, 255, 0.98);
|
||||
backdrop-filter: blur(24px);
|
||||
-webkit-backdrop-filter: blur(24px);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="login-wrapper">
|
||||
<div class="image-section">
|
||||
<div class="floating-elements"></div>
|
||||
<div class="image-content">
|
||||
<div class="icon">
|
||||
<img src="{{ asset('assets/images/logo-untan.png') }}" alt="untan.png" height="80">
|
||||
<body class="min-h-screen bg-slate-950 font-sans text-slate-800 antialiased flex items-center justify-center p-4 sm:p-6 lg:p-8 relative overflow-x-hidden selection:bg-blue-600 selection:text-white">
|
||||
|
||||
<!-- Ambient Glowing Orbs Background -->
|
||||
<div class="fixed inset-0 pointer-events-none overflow-hidden z-0">
|
||||
<div class="absolute -top-40 -left-40 w-96 h-96 sm:w-[520px] sm:h-[520px] bg-blue-600/25 rounded-full blur-3xl animate-pulse-glow"></div>
|
||||
<div class="absolute -bottom-40 -right-40 w-96 h-96 sm:w-[580px] sm:h-[580px] bg-indigo-600/20 rounded-full blur-3xl animate-pulse-glow" style="animation-delay: -3s;"></div>
|
||||
<div class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-80 h-80 bg-blue-500/15 rounded-full blur-3xl"></div>
|
||||
<div class="absolute inset-0 bg-[radial-gradient(#334155_1px,transparent_1px)] [background-size:24px_24px] opacity-25"></div>
|
||||
</div>
|
||||
|
||||
<!-- Main Login Card Container (Kompak & Proporsional) -->
|
||||
<div class="w-full max-w-[740px] glass-card rounded-2xl shadow-2xl shadow-blue-950/40 border border-white/20 overflow-hidden relative z-10 animate-card-entrance grid grid-cols-1 md:grid-cols-12 min-h-[460px]">
|
||||
|
||||
<!-- Sisi Kiri: Brand & Visual Hero (5 Kolom) -->
|
||||
<div class="md:col-span-5 relative bg-gradient-to-br from-blue-600 via-blue-700 to-indigo-900 p-6 sm:p-7 flex flex-col justify-between overflow-hidden text-white">
|
||||
<div class="absolute -top-16 -right-16 w-48 h-48 bg-white/10 rounded-full blur-xl pointer-events-none"></div>
|
||||
<div class="absolute -bottom-16 -left-16 w-52 h-52 bg-blue-400/20 rounded-full blur-xl pointer-events-none"></div>
|
||||
<div class="absolute inset-0 bg-[radial-gradient(rgba(255,255,255,0.12)_1px,transparent_1px)] [background-size:16px_16px] pointer-events-none"></div>
|
||||
|
||||
|
||||
<!-- Center Brand Section -->
|
||||
<div class="relative z-10 my-6 sm:my-auto text-center flex flex-col items-center">
|
||||
<div class="w-20 h-20 max-w-[80px] max-h-[80px] rounded-2xl bg-white/15 backdrop-blur-md p-3 flex items-center justify-center border border-white/30 shadow-lg shadow-blue-950/20 mb-3 animate-float-slow group shrink-0">
|
||||
<img src="{{ asset('assets/images/logo-untan.png') }}" alt="Logo UNTAN" class="h-full w-full max-h-full max-w-full object-contain filter drop-shadow-md transition-transform duration-300 group-hover:scale-105">
|
||||
</div>
|
||||
<h1>Verifikator</h1>
|
||||
<p>Sistem Verifikasi Remunerasi Universitas Tanjungpura</p>
|
||||
|
||||
<h1 class="text-xl sm:text-2xl font-extrabold tracking-tight mb-1 text-white">Verifikator</h1>
|
||||
<p class="text-xs font-medium text-blue-100/90 leading-relaxed max-w-[200px]">
|
||||
Sistem Verifikasi Remunerasi<br>Universitas Tanjungpura
|
||||
</p>
|
||||
|
||||
<div class="mt-4 inline-flex items-center gap-1.5 bg-white/10 backdrop-blur-md border border-white/20 px-3 py-1 rounded-full text-[11px] text-blue-50 font-medium shadow-2xs">
|
||||
<i class="fas fa-shield-halved text-emerald-300 text-[10px]"></i>
|
||||
<span>Single Sign-On Terintegrasi</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="relative z-10 text-center md:text-left text-[10px] text-blue-200/70 border-t border-white/10 pt-3">
|
||||
© {{ date('Y') }} Universitas Tanjungpura
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-section">
|
||||
<div class="login-header">
|
||||
<h2>Selamat Datang</h2>
|
||||
<p>Gunakan akun Portal Untan Anda untuk masuk</p>
|
||||
</div>
|
||||
<!-- Sisi Kanan: Single Sign-On Action (7 Kolom) -->
|
||||
<div class="md:col-span-7 p-6 sm:p-8 flex flex-col justify-center bg-white relative">
|
||||
<div class="max-w-[340px] w-full mx-auto">
|
||||
<div class="mb-6">
|
||||
<h2 class="text-xl sm:text-2xl font-black text-slate-900 tracking-tight mb-1">
|
||||
Selamat Datang
|
||||
</h2>
|
||||
<p class="text-xs sm:text-sm text-slate-500 font-medium">
|
||||
Gunakan akun resmi Portal Untan Anda untuk masuk ke sistem
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<a href="https://portal.untan.ac.id/login?next={{ urlencode(url('/dashboard')) }}"
|
||||
class="btn-portal">
|
||||
<i class="fas fa-university fa-lg"></i>
|
||||
Masuk dengan Portal Untan
|
||||
</a>
|
||||
<div class="space-y-4">
|
||||
<a href="https://portal.untan.ac.id/login?next={{ urlencode(url('/dashboard')) }}"
|
||||
class="w-full py-2.5 px-4 text-xs sm:text-sm font-bold text-white bg-blue-600 hover:bg-blue-700 active:bg-blue-800 rounded-lg shadow-md shadow-blue-600/30 hover:shadow-blue-600/40 hover:-translate-y-0.5 active:translate-y-0 transition-all duration-200 flex items-center justify-center gap-2.5 group">
|
||||
<i class="fas fa-university text-sm transition-transform group-hover:scale-110"></i>
|
||||
<span>Masuk dengan Portal Untan</span>
|
||||
</a>
|
||||
|
||||
<div class="sso-info">
|
||||
<p>
|
||||
<i class="fas fa-info-circle"></i>
|
||||
Anda akan diarahkan ke <strong>portal.untan.ac.id</strong> untuk login
|
||||
menggunakan akun Google <strong>@untan.ac.id</strong>
|
||||
</p>
|
||||
<div class="rounded-xl bg-blue-50/70 border border-blue-200/80 p-3.5 text-xs text-slate-600 leading-relaxed flex items-start gap-2.5">
|
||||
<i class="fas fa-circle-info text-blue-600 text-sm mt-0.5 shrink-0"></i>
|
||||
<div>
|
||||
Anda akan diarahkan secara aman ke <strong class="text-blue-900 font-bold">portal.untan.ac.id</strong> untuk proses autentikasi menggunakan akun resmi Google <strong class="text-blue-900 font-bold">@untan.ac.id</strong>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/simple-notify/dist/simple-notify.min.js"></script>
|
||||
<script>
|
||||
function showInfo(title, text) {
|
||||
new Notify({ status: 'info', title, text, effect: 'fade', autoclose: true, autotimeout: 5000, position: 'right top' });
|
||||
new Notify({
|
||||
status: 'info',
|
||||
title,
|
||||
text,
|
||||
effect: 'fade',
|
||||
autoclose: true,
|
||||
autotimeout: 5000,
|
||||
position: 'right top'
|
||||
});
|
||||
}
|
||||
|
||||
window.addEventListener('load', function () {
|
||||
const wrapper = document.querySelector('.login-wrapper');
|
||||
wrapper.style.opacity = '0';
|
||||
wrapper.style.transform = 'translateY(30px)';
|
||||
setTimeout(() => {
|
||||
wrapper.style.transition = 'all 0.8s ease';
|
||||
wrapper.style.opacity = '1';
|
||||
wrapper.style.transform = 'translateY(0)';
|
||||
}, 100);
|
||||
});
|
||||
|
||||
@if (session('info'))
|
||||
showInfo('Informasi', '{{ session('info') }}');
|
||||
@endif
|
||||
@if (session('error'))
|
||||
new Notify({ status: 'error', title: 'Error', text: '{{ session('error') }}', effect: 'fade', autoclose: true, autotimeout: 5000, position: 'right top' });
|
||||
@endif
|
||||
</script>
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user