All checks were successful
Docker Build and Publish / build (push) Successful in 7s
79 lines
2.4 KiB
HTML
79 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Admin Login - Tanishq Dubey Photography</title>
|
|
<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=Noto+Sans+Mono:wght@100..900&display=swap" rel="stylesheet">
|
|
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Noto Sans Mono', monospace;
|
|
background-color: #f0f0f0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
}
|
|
.login-container {
|
|
background-color: #ffffff;
|
|
padding: 2rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
text-align: center;
|
|
}
|
|
h1 {
|
|
color: {{ accent_color }};
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
input[type="password"] {
|
|
width: 100%;
|
|
padding: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
font-family: inherit;
|
|
}
|
|
input[type="submit"] {
|
|
background-color: {{ accent_color }};
|
|
color: white;
|
|
border: none;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
font-weight: bold;
|
|
}
|
|
input[type="submit"]:hover {
|
|
background-color: #e55c00;
|
|
}
|
|
.flash-messages {
|
|
margin-bottom: 1rem;
|
|
color: #ff0000;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="login-container">
|
|
<h1>Admin Login</h1>
|
|
{% with messages = get_flashed_messages() %}
|
|
{% if messages %}
|
|
<div class="flash-messages">
|
|
{% for message in messages %}
|
|
<p>{{ message }}</p>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
<form method="POST">
|
|
<input type="password" name="password" required placeholder="Enter password">
|
|
<input type="submit" value="Login">
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|