260 lines
14 KiB
HTML
260 lines
14 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html class="light" lang="id"><head>
|
|
<meta charset="utf-8"/>
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
|
<title>Login Admin | Soundbox Ops</title>
|
|
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
|
<style>
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
.login-gradient {
|
|
background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
|
|
}
|
|
.glass-panel {
|
|
background: rgba(255, 255, 255, 0.8);
|
|
backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(226, 232, 240, 0.8);
|
|
}
|
|
</style>
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"surface-tint": "#0053db",
|
|
"on-error-container": "#93000a",
|
|
"tertiary-fixed-dim": "#ffb596",
|
|
"on-surface": "#191b23",
|
|
"slate-200": "#E2E8F0",
|
|
"inverse-surface": "#2e3039",
|
|
"tertiary-fixed": "#ffdbcd",
|
|
"primary-fixed-dim": "#b4c5ff",
|
|
"surface-bright": "#faf8ff",
|
|
"on-primary": "#ffffff",
|
|
"on-tertiary-fixed-variant": "#7d2d00",
|
|
"on-secondary": "#ffffff",
|
|
"background": "#F8FAFC",
|
|
"slate-500": "#64748B",
|
|
"primary": "#004ac6",
|
|
"on-background": "#191b23",
|
|
"on-primary-fixed": "#00174b",
|
|
"outline-variant": "#c3c6d7",
|
|
"surface-container-high": "#e7e7f3",
|
|
"on-tertiary-container": "#ffede6",
|
|
"on-primary-fixed-variant": "#003ea8",
|
|
"surface-container-lowest": "#ffffff",
|
|
"secondary-fixed": "#d3e4fe",
|
|
"on-secondary-container": "#54647a",
|
|
"secondary": "#505f76",
|
|
"surface-variant": "#e1e2ed",
|
|
"surface-dim": "#d9d9e5",
|
|
"secondary-fixed-dim": "#b7c8e1",
|
|
"on-primary-container": "#eeefff",
|
|
"surface-container-highest": "#e1e2ed",
|
|
"slate-900": "#0F172A",
|
|
"on-surface-variant": "#434655",
|
|
"danger": "#DC2626",
|
|
"success": "#16A34A",
|
|
"on-tertiary-fixed": "#360f00",
|
|
"outline": "#737686",
|
|
"tertiary-container": "#bc4800",
|
|
"on-secondary-fixed": "#0b1c30",
|
|
"slate-100": "#F1F5F9",
|
|
"error-container": "#ffdad6",
|
|
"on-secondary-fixed-variant": "#38485d",
|
|
"warning": "#F59E0B",
|
|
"surface-container": "#ededf9",
|
|
"primary-container": "#2563eb",
|
|
"on-tertiary": "#ffffff",
|
|
"primary-fixed": "#dbe1ff",
|
|
"info": "#0EA5E9",
|
|
"tertiary": "#943700",
|
|
"surface-container-low": "#f3f3fe",
|
|
"error": "#ba1a1a",
|
|
"inverse-on-surface": "#f0f0fb",
|
|
"secondary-container": "#d0e1fb",
|
|
"on-error": "#ffffff",
|
|
"surface": "#faf8ff",
|
|
"slate-700": "#334155",
|
|
"inverse-primary": "#b4c5ff"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.125rem",
|
|
"lg": "0.25rem",
|
|
"xl": "0.5rem",
|
|
"full": "0.75rem"
|
|
},
|
|
"spacing": {
|
|
"gutter": "24px",
|
|
"card-padding": "20px",
|
|
"topbar-height": "72px",
|
|
"row-height": "52px",
|
|
"page-padding": "24px"
|
|
},
|
|
"fontFamily": {
|
|
"metric-sm": ["Inter"],
|
|
"label-md": ["Inter"],
|
|
"body-md": ["Inter"],
|
|
"headline-md": ["Plus Jakarta Sans"],
|
|
"body-lg": ["Inter"],
|
|
"headline-lg": ["Plus Jakarta Sans"],
|
|
"display-lg": ["Plus Jakarta Sans"],
|
|
"metric-lg": ["Inter"]
|
|
},
|
|
"fontSize": {
|
|
"metric-sm": ["14px", {"lineHeight": "20px", "fontWeight": "600"}],
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.01em", "fontWeight": "500"}],
|
|
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
|
"headline-md": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
|
"headline-lg": ["28px", {"lineHeight": "36px", "fontWeight": "600"}],
|
|
"display-lg": ["36px", {"lineHeight": "44px", "letterSpacing": "-0.02em", "fontWeight": "600"}],
|
|
"metric-lg": ["32px", {"lineHeight": "40px", "fontWeight": "600"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
</head>
|
|
<body class="bg-background text-on-background font-body-md min-h-screen flex items-center justify-center p-4">
|
|
<!-- Main Container -->
|
|
<main class="w-full max-w-[1100px] grid grid-cols-1 md:grid-cols-2 bg-surface-container-lowest rounded-xl shadow-2xl overflow-hidden border border-slate-200">
|
|
<!-- Left Side: Login Form -->
|
|
<div class="p-8 md:p-16 flex flex-col justify-center relative overflow-hidden login-gradient">
|
|
<div class="mb-12">
|
|
<img alt="Soundbox Ops Logo" class="h-12 w-auto mb-8" src="https://lh3.googleusercontent.com/aida/ADBb0ug9HaB2AriUP4nVrKMOARoZTCm9CjAvMRfjT5wYuZ28c5NkPI6L46e_UFThUQPqPv-K4M6u1kyZquW5BDLZyRJSF9YLnwi_mI5uLm2wJEBGLDxQHiD_V9fmLgPaggsISesqP8Emgu71sqr05ARxSf4H2YOhq5u6sFUSvOIIL82WsxLajMZ-nih3D86dJlFa-trY0J3Rj5JyOW9El0dy9BF4-npXWTYUDjwfMVDeEGMw93XUNIHdxQmPkAg"/>
|
|
<h1 class="font-headline-lg text-headline-lg text-on-surface mb-2">Admin Portal</h1>
|
|
<p class="font-body-md text-body-md text-on-surface-variant">Silakan masuk untuk mengelola infrastruktur Soundbox Ops.</p>
|
|
</div>
|
|
<form action="#" class="space-y-6" onsubmit="return false;">
|
|
<!-- Email Field -->
|
|
<div class="space-y-2">
|
|
<label class="block font-label-md text-label-md text-slate-700" for="email">Alamat Email</label>
|
|
<div class="relative">
|
|
<span class="material-symbols-outlined absolute left-3 top-1/2 -translate-y-1/2 text-slate-500 text-[20px]">mail</span>
|
|
<input class="w-full pl-10 pr-4 py-3 rounded-xl border border-slate-200 bg-white focus:ring-2 focus:ring-primary focus:border-transparent transition-all outline-none font-body-md text-body-md" id="email" name="email" placeholder="admin@soundboxops.id" required="" type="email"/>
|
|
</div>
|
|
</div>
|
|
<!-- Password Field -->
|
|
<div class="space-y-2">
|
|
<div class="flex justify-between items-center">
|
|
<label class="block font-label-md text-label-md text-slate-700" for="password">Kata Sandi</label>
|
|
<a class="font-label-md text-label-md text-primary hover:underline transition-all" href="#">Lupa kata sandi?</a>
|
|
</div>
|
|
<div class="relative">
|
|
<span class="material-symbols-outlined absolute left-3 top-1/2 -translate-y-1/2 text-slate-500 text-[20px]">lock</span>
|
|
<input class="w-full pl-10 pr-12 py-3 rounded-xl border border-slate-200 bg-white focus:ring-2 focus:ring-primary focus:border-transparent transition-all outline-none font-body-md text-body-md" id="password" name="password" placeholder="••••••••" required="" type="password"/>
|
|
<button class="absolute right-3 top-1/2 -translate-y-1/2 text-slate-500 hover:text-primary transition-colors" type="button">
|
|
<span class="material-symbols-outlined text-[20px]">visibility</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<!-- Remember Me Toggle -->
|
|
<div class="flex items-center">
|
|
<label class="relative inline-flex items-center cursor-pointer">
|
|
<input class="sr-only peer" type="checkbox" value=""/>
|
|
<div class="w-11 h-6 bg-slate-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary"></div>
|
|
<span class="ml-3 font-body-md text-body-md text-on-surface-variant">Ingat saya untuk 30 hari</span>
|
|
</label>
|
|
</div>
|
|
<!-- Submit Button -->
|
|
<button class="w-full py-4 bg-primary text-on-primary rounded-xl font-headline-md text-headline-md hover:bg-surface-tint active:scale-[0.98] transition-all flex justify-center items-center gap-2 shadow-lg shadow-primary/20 group" type="submit">
|
|
Masuk Sekarang
|
|
<span class="material-symbols-outlined group-hover:translate-x-1 transition-transform">arrow_forward</span>
|
|
</button>
|
|
</form>
|
|
<div class="mt-12 pt-8 border-t border-slate-100 flex justify-between items-center">
|
|
<p class="font-label-md text-label-md text-slate-500">© 2024 Soundbox Ops</p>
|
|
<div class="flex gap-4">
|
|
<a class="font-label-md text-label-md text-slate-500 hover:text-primary" href="#">Bantuan</a>
|
|
<a class="font-label-md text-label-md text-slate-500 hover:text-primary" href="#">Kebijakan</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Right Side: Visual Illustration -->
|
|
<div class="hidden md:block relative bg-slate-900 overflow-hidden">
|
|
<!-- Background Image with prompt-driven alt -->
|
|
<div class="absolute inset-0 z-0">
|
|
<img class="w-full h-full object-cover opacity-40 mix-blend-luminosity" data-alt="A highly detailed close-up of a futuristic fintech operations dashboard displaying real-time digital ledger transactions and IoT device health. The aesthetic is clean and corporate, featuring a palette of deep slate blacks and vibrant neon blue accents. Soft, cinematic lighting illuminates the scene, creating a professional and trustworthy enterprise SaaS atmosphere with high-tech data visualizations." src="https://lh3.googleusercontent.com/aida-public/AB6AXuCcMCYxVWHKiu6zABQgGjvipDpzzMs1ZestQF1PJTvFG9A0Dxx6aJ8VRvuUHopGtVEA053iEK1dIYWWuOM8Ut2ExY4Fh2Cwa6UpbYcNjc36uovWAmJ2_j3uxJKo5g9GW4GcUwozOwmSZZ8kQukgjxJzhsUnkbuXwzZbFIJj4FkLhRzTiacxOOtPg4XhSagS5vh3UuH-zE3b1zbi0cFoD8iwtqxTZnC3StYK3QN7ydapksOXkwShOok9-zNUGmAoNHEf2pONmss3gmE"/>
|
|
</div>
|
|
<!-- Overlay Content -->
|
|
<div class="relative z-10 h-full flex flex-col justify-end p-12 text-white bg-gradient-to-t from-slate-900 via-transparent to-transparent">
|
|
<div class="glass-panel p-8 rounded-xl border-white/10">
|
|
<div class="flex items-center gap-4 mb-4">
|
|
<div class="p-3 bg-primary rounded-lg flex items-center justify-center">
|
|
<span class="material-symbols-outlined text-white">security</span>
|
|
</div>
|
|
<div>
|
|
<h3 class="font-headline-md text-headline-md leading-tight">Keamanan Enterprise</h3>
|
|
<p class="font-body-md text-body-md text-white/70">Terlindung oleh enkripsi AES-256 dan 2FA.</p>
|
|
</div>
|
|
</div>
|
|
<div class="space-y-4">
|
|
<div class="flex justify-between items-center py-2 border-b border-white/5">
|
|
<span class="text-white/60 font-label-md text-label-md uppercase tracking-wider">Uptime Sistem</span>
|
|
<span class="text-success font-metric-sm text-metric-sm flex items-center gap-1">
|
|
<span class="w-2 h-2 rounded-full bg-success animate-pulse"></span>
|
|
99.99%
|
|
</span>
|
|
</div>
|
|
<div class="flex justify-between items-center py-2 border-b border-white/5">
|
|
<span class="text-white/60 font-label-md text-label-md uppercase tracking-wider">Settlement Hari Ini</span>
|
|
<span class="font-metric-sm text-metric-sm">4,829 Transaksi</span>
|
|
</div>
|
|
<div class="flex justify-between items-center py-2">
|
|
<span class="text-white/60 font-label-md text-label-md uppercase tracking-wider">Device Online</span>
|
|
<span class="font-metric-sm text-metric-sm">12,042 Unit</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="mt-8 text-center">
|
|
<p class="font-body-md text-body-md italic text-white/50">"Presisi. Andal. Proaktif."</p>
|
|
</div>
|
|
</div>
|
|
<!-- Abstract UI Elements for Decoration -->
|
|
<div class="absolute top-10 right-10 w-32 h-32 bg-primary/20 rounded-full blur-3xl animate-pulse"></div>
|
|
<div class="absolute bottom-1/4 left-0 w-48 h-48 bg-info/10 rounded-full blur-3xl"></div>
|
|
</div>
|
|
</main>
|
|
<!-- Background Decorative Blobs -->
|
|
<div class="fixed top-0 left-0 w-full h-full -z-10 pointer-events-none opacity-20">
|
|
<div class="absolute top-[-10%] right-[-5%] w-[400px] h-[400px] bg-primary rounded-full blur-[120px]"></div>
|
|
<div class="absolute bottom-[-10%] left-[-5%] w-[300px] h-[300px] bg-secondary-container rounded-full blur-[100px]"></div>
|
|
</div>
|
|
<script>
|
|
// Simple Interaction for Password Toggle
|
|
const toggleBtn = document.querySelector('button[type="button"]');
|
|
const passInput = document.getElementById('password');
|
|
|
|
toggleBtn.addEventListener('click', () => {
|
|
const icon = toggleBtn.querySelector('.material-symbols-outlined');
|
|
if (passInput.type === 'password') {
|
|
passInput.type = 'text';
|
|
icon.textContent = 'visibility_off';
|
|
} else {
|
|
passInput.type = 'password';
|
|
icon.textContent = 'visibility';
|
|
}
|
|
});
|
|
|
|
// Add loading state simulation on form submit
|
|
const form = document.querySelector('form');
|
|
form.addEventListener('submit', (e) => {
|
|
const btn = form.querySelector('button[type="submit"]');
|
|
const originalContent = btn.innerHTML;
|
|
btn.disabled = true;
|
|
btn.innerHTML = `<span class="animate-spin material-symbols-outlined">progress_activity</span> Memproses...`;
|
|
|
|
setTimeout(() => {
|
|
btn.disabled = false;
|
|
btn.innerHTML = originalContent;
|
|
}, 2000);
|
|
});
|
|
</script>
|
|
</body></html> |