modified: web/blueprints/auth.py modified: web/blueprints/group_admin.py modified: web/blueprints/panel.py modified: web/blueprints/site_admin.py modified: web/config.py new file: web/templates/404.html modified: web/templates/admin/base.html modified: web/templates/admin/group_edit.html modified: web/templates/admin/group_members.html modified: web/templates/admin/groups.html modified: web/templates/admin/user_edit.html modified: web/templates/admin/users.html modified: web/templates/auth/admin_login.html modified: web/templates/auth/login.html modified: web/templates/base.html modified: web/templates/group_admin/base.html modified: web/templates/group_admin/database.html modified: web/templates/group_admin/member_edit.html modified: web/templates/group_admin/members.html modified: web/templates/login.html modified: web/templates/panel/dashboard.html
51 lines
2.4 KiB
HTML
51 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en" data-bs-theme="dark">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>MCLogger – Login</title>
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
||
</head>
|
||
<body class="d-flex align-items-center justify-content-center min-vh-100 bg-dark">
|
||
<div class="card shadow-lg" style="width: 380px;">
|
||
<div class="card-body p-5">
|
||
<div class="text-center mb-4">
|
||
<i class="bi bi-database-fill-gear text-success" style="font-size: 3rem;"></i>
|
||
<h4 class="mt-2 fw-bold">MCLogger</h4>
|
||
<p class="text-muted small">Admin-Interface · SimolZimol</p>
|
||
</div>
|
||
|
||
{% if error %}
|
||
<div class="alert alert-danger py-2">
|
||
<i class="bi bi-exclamation-triangle-fill me-1"></i>{{ error }}
|
||
</div>
|
||
{% endif %}
|
||
|
||
<form method="post">
|
||
<input type="hidden" name="_csrf_token" value="{{ csrf_token() }}">
|
||
<div class="mb-3">
|
||
<label class="form-label">Username</label>
|
||
<div class="input-group">
|
||
<span class="input-group-text"><i class="bi bi-person-fill"></i></span>
|
||
<input type="text" name="username" class="form-control" placeholder="admin" required autofocus>
|
||
</div>
|
||
</div>
|
||
<div class="mb-4">
|
||
<label class="form-label">Password</label>
|
||
<div class="input-group">
|
||
<span class="input-group-text"><i class="bi bi-lock-fill"></i></span>
|
||
<input type="password" name="password" class="form-control" placeholder="••••••••" required>
|
||
</div>
|
||
</div>
|
||
<button type="submit" class="btn btn-success w-100">
|
||
<i class="bi bi-box-arrow-in-right me-1"></i>Login
|
||
</button>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
||
</body>
|
||
</html>
|