modified: templates/index.html

modified:   templates/login.html
This commit is contained in:
SimolZimol
2024-09-06 11:36:35 +02:00
parent aa69fa6177
commit 2dd2b66801
2 changed files with 29 additions and 28 deletions

View File

@@ -1,4 +1,3 @@
<!-- web_panel/templates/login.html -->
<!DOCTYPE html>
<html lang="en">
<head>
@@ -9,25 +8,12 @@
</head>
<body>
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card">
<div class="card-body">
<h1 class="text-center">Admin Panel Login</h1>
<form method="POST" action="{{ url_for('login') }}">
<div class="form-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" class="form-control" required>
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" class="form-control" required>
</div>
<button type="submit" class="btn btn-primary btn-block">Login</button>
</form>
</div>
</div>
</div>
<h1 class="text-center">Login with Discord</h1>
<div class="text-center mt-4">
<a href="{{ url_for('login') }}" class="btn btn-primary">
<img src="https://discord.com/assets/847541504914fd33810e70a0ea73177e.svg" width="20" alt="Discord Logo">
Login with Discord
</a>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>