mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-04-19 08:55:12 +00:00
44 lines
2.1 KiB
HTML
44 lines
2.1 KiB
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<title>Wireguard Dashboard | Login</title>
|
|
<link rel="icon" href="{{ url_for('static',filename='logo.png') }}"/>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
|
|
<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='css/dashboard.css') }}">
|
|
</head>
|
|
<body>
|
|
{% include "navbar.html" %}
|
|
<div class="container-fluid">
|
|
|
|
<main role="main" class="container login-container">
|
|
<div class="login-box" style="margin: auto !important;">
|
|
<h1 class="text-center">Sign In</h1>
|
|
|
|
<form style="margin-left: auto !important; margin-right: auto !important; max-width: 500px;" action="/auth" method="post">
|
|
{% if message != ""%}
|
|
<div class="alert alert-danger" role="alert">
|
|
{{ message }}
|
|
</div>
|
|
{% endif %}
|
|
<div class="form-group">
|
|
<label for="username" class="text-left">Username</label>
|
|
<input type="text" class="form-control" id="username" name="username" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password" class="text-left">Password</label>
|
|
<input type="password" class="form-control" id="password" name="password" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-dark" style="width: 100%;">Sign In</button>
|
|
</form>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</body>
|
|
{% include "footer.html" %}
|
|
<script>
|
|
$("button").click(function(){
|
|
$(this).html("Signing In...")
|
|
})
|
|
</script>
|
|
</html> |