Initial commit - Admin Template HTML

This commit is contained in:
2026-07-21 09:12:42 +07:00
commit 4d4790f100
266 changed files with 43848 additions and 0 deletions
+150
View File
@@ -0,0 +1,150 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EDK - Reset Password 5</title>
<script src="https://cdn.tailwindcss.com"></script>
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.13.0/dist/cdn.min.js"></script>
<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=Poppins:wght@300;400;450;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/auth5.css">
</head>
<body x-data="{ loading: false, notification: { show: false, message: '' }, errors: {} }">
<section class="min-h-screen flex bg-white">
<div class="hidden lg:flex w-1/2 bg-gray-50 items-center justify-center p-12">
<div class="max-w-md">
<div class="flex items-center gap-3 mb-8">
<div class="w-14 h-14 bg-blue-600 flex items-center justify-center">
<svg class="w-8 h-8 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>
</div>
<div>
<div class="text-2xl font-bold text-gray-900">EnterpriseKit</div>
<div class="text-sm text-gray-500">Enterprise Application Platform</div>
</div>
</div>
<h2 class="text-3xl font-bold text-gray-900 leading-tight mb-4">Create a New<br/>Account Password</h2>
<p class="text-gray-500 leading-relaxed mb-8">Enter and confirm your new password below. Make sure it's strong and unique to keep your account secure.</p>
<div class="space-y-4">
<div class="flex items-start gap-3">
<div class="w-5 h-5 bg-blue-100 flex items-center justify-center flex-shrink-0 mt-0.5"><svg class="w-3 h-3 text-blue-600" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="3"><path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/></svg></div>
<div><span class="font-semibold text-gray-900 text-sm">Strong Password</span><p class="text-xs text-gray-400 mt-0.5">Minimum 8 characters with mixed case and numbers</p></div>
</div>
<div class="flex items-start gap-3">
<div class="w-5 h-5 bg-blue-100 flex items-center justify-center flex-shrink-0 mt-0.5"><svg class="w-3 h-3 text-blue-600" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="3"><path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/></svg></div>
<div><span class="font-semibold text-gray-900 text-sm">Encrypted Security</span><p class="text-xs text-gray-400 mt-0.5">Your password is encrypted end-to-end</p></div>
</div>
<div class="flex items-start gap-3">
<div class="w-5 h-5 bg-blue-100 flex items-center justify-center flex-shrink-0 mt-0.5"><svg class="w-3 h-3 text-blue-600" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="3"><path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/></svg></div>
<div><span class="font-semibold text-gray-900 text-sm">Instant Activation</span><p class="text-xs text-gray-400 mt-0.5">Your new password will be active immediately</p></div>
</div>
</div>
<div class="mt-10 p-4 bg-white border border-gray-200">
<div class="flex items-center gap-3">
<div class="w-10 h-10 bg-blue-100 flex items-center justify-center flex-shrink-0">
<svg class="w-5 h-5 text-blue-600" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"/></svg>
</div>
<div>
<div class="text-sm font-semibold text-gray-900">Password Tips</div>
<div class="text-xs text-gray-400">Use a mix of letters, numbers and special characters</div>
</div>
</div>
</div>
</div>
</div>
<div class="w-full lg:w-1/2 flex items-center justify-center p-6 sm:p-10 lg:p-16">
<div class="w-full max-w-md">
<div class="flex items-center gap-3 mb-8 lg:hidden">
<div class="w-10 h-10 bg-blue-600 flex items-center justify-center">
<svg class="w-5 h-5 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>
</div>
<div>
<div class="text-lg font-bold text-gray-900">EnterpriseKit</div>
</div>
</div>
<div class="mb-8">
<h2 class="text-2xl font-bold text-gray-900">Reset Password</h2>
<p class="text-gray-500 text-sm mt-1">Enter your new password below.</p>
</div>
<form @submit.prevent="
errors = {};
const pass = document.getElementById('new_password').value;
const confirm = document.getElementById('confirm_password').value;
if (!pass.trim()) { errors.new_password = true; return; }
if (pass.length < 8) { errors.new_password = true; return; }
if (!confirm.trim()) { errors.confirm_password = true; return; }
if (pass !== confirm) { errors.confirm_password = true; errors.match = true; return; }
loading = true;
setTimeout(() => {
loading = false;
notification = { show: true, message: 'Password has been reset successfully! Redirecting to sign in...' };
setTimeout(() => { notification.show = false; window.location.href = 'login5.html'; }, 3000);
}, 3000);
">
<div class="space-y-4">
<div>
<label class="form-label" for="new_password">New Password</label>
<input class="input-field" id="new_password" type="password" placeholder="Enter new password" required :class="{ 'error': errors.new_password }">
<p x-show="errors.new_password" class="text-xs text-red-500 mt-1" x-cloak>Password must be at least 8 characters.</p>
</div>
<div>
<label class="form-label" for="confirm_password">Confirm New Password</label>
<input class="input-field" id="confirm_password" type="password" placeholder="Confirm new password" required :class="{ 'error': errors.confirm_password }">
<p x-show="errors.match" class="text-xs text-red-500 mt-1" x-cloak>Passwords do not match.</p>
</div>
<button class="btn-primary" type="submit" :disabled="loading">
<template x-if="!loading">
<span class="flex items-center gap-2">
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z"/></svg>
Reset Password
</span>
</template>
<template x-if="loading">
<span class="flex items-center gap-2">
<svg class="animate-spin w-4 h-4" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"/><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"/></svg>
Resetting password...
</span>
</template>
</button>
</div>
</form>
<div class="mt-6 text-center">
<a class="auth-link inline-flex items-center gap-1.5" href="login5.html">
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M10.5 19.5l-7.5-7.5 7.5-7.5"/><path stroke-linecap="round" stroke-linejoin="round" d="M3 12h18"/></svg>
Back to Sign In
</a>
</div>
</div>
</div>
</section>
<div class="fixed top-4 right-4 z-[200] transition-all duration-300"
x-show="notification.show"
x-transition:enter="transform ease-out duration-300"
x-transition:enter-start="translate-x-full opacity-0"
x-transition:enter-end="translate-x-0 opacity-100"
x-transition:leave="transform ease-in duration-200"
x-transition:leave-start="translate-x-0 opacity-100"
x-transition:leave-end="translate-x-full opacity-0"
x-cloak>
<div class="flex items-center gap-3 bg-white border border-gray-200 shadow-lg px-5 py-4 min-w-[320px]">
<div class="w-8 h-8 bg-green-100 flex items-center justify-center flex-shrink-0">
<svg class="w-4 h-4 text-green-600" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/></svg>
</div>
<div class="flex-1">
<p class="text-sm font-semibold text-gray-900">Success</p>
<p class="text-xs text-gray-500" x-text="notification.message"></p>
</div>
<button class="text-gray-400 hover:text-gray-600" @click="notification.show = false">
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/></svg>
</button>
</div>
</div>
</body>
</html>