bugfix uia comment 10/06/2025

This commit is contained in:
Hafifie PKB
2025-06-10 15:29:34 +08:00
parent 3c648b3fd1
commit 009ce7a1a0
6 changed files with 168 additions and 6 deletions
+71
View File
@@ -0,0 +1,71 @@
<!DOCTYPE html>
<html>
<head>
<title>Log Viewer Login</title>
<style>
html, body {
height: 100%;
margin: 0;
}
body {
display: flex;
align-items: center;
justify-content: center;
font-family: sans-serif;
background-color: #f9f9f9;
}
.login-container {
padding: 2rem;
border: 1px solid #ccc;
border-radius: 8px;
background-color: white;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
text-align: center;
}
input[type="password"] {
padding: 0.5rem;
width: 100%;
margin-top: 1rem;
margin-bottom: 1rem;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
padding: 0.5rem 1rem;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}
.error {
color: red;
margin-bottom: 1rem;
}
</style>
</head>
<body>
<div class="login-container">
<h2>Masukkan Kata Laluan Untuk Akses</h2>
@if (session('error'))
<p class="error">{{ session('error') }}</p>
@endif
<form method="POST" action="{{ route('log-login') }}">
@csrf
<input type="password" name="password" placeholder="Kata Laluan" required />
<button type="submit">Masuk</button>
</form>
</div>
</body>
</html>