54 lines
1.8 KiB
Plaintext
54 lines
1.8 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
|
|
<title>AstroCom Admin Registration</title>
|
|
</head>
|
|
|
|
<body class="bg-dark">
|
|
<div class="container">
|
|
<div class="row justify-content-center mt-5">
|
|
<div class="col-md-6 col-lg-4">
|
|
<div class="card bg-dark text-light shadow">
|
|
<div class="card-body p-4">
|
|
<h2 class="text-center mb-4">Admin Registration</h2>
|
|
<% if (typeof notice !== 'undefined') { %>
|
|
<div class="alert alert-info text-center mb-3"><%= notice %></div>
|
|
<% } %>
|
|
<% if (typeof info !== 'undefined') { %>
|
|
<div class="alert alert-primary text-center mb-3"><%= info %></div>
|
|
<% } %>
|
|
<% if (typeof warn !== 'undefined') { %>
|
|
<div class="alert alert-warning text-center mb-3"><%= warn %></div>
|
|
<% } %>
|
|
<% if (typeof error !== 'undefined') { %>
|
|
<div class="alert alert-danger text-center mb-3"><%= error %></div>
|
|
<% } %>
|
|
<form action="#" method="POST">
|
|
<div class="mb-3">
|
|
<label for="username" class="form-label">Username:</label>
|
|
<input type="text" class="form-control" id="username" name="username" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="password" class="form-label">Password:</label>
|
|
<input type="password" class="form-control" id="password" name="password" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary w-100">Register</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="footer" class="text-light mt-5"></div>
|
|
</div>
|
|
<script src="/assets/js/bootstrap.bundle.min.js"></script>
|
|
<script src="/assets/js/jquery.min.js"></script>
|
|
<script>
|
|
$(function() {
|
|
$("#footer").load("/footer");
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |