42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
|
|
<!DOCTYPE <html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>
|
|
Login
|
|
</title>
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
|
</head>
|
|
<body>
|
|
<form method="post" action="/login" class="container">
|
|
<h2>Login</h2>
|
|
<div class="mb-3 mt-3">
|
|
<label for="username" class="form-label">Username:</label>
|
|
<input type="text"
|
|
class="form-control"
|
|
id="username"
|
|
placeholder="Enter username"
|
|
name="username" />
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="password" class="form-label">Password:</label>
|
|
<input type="password"
|
|
class="form-control"
|
|
id="password"
|
|
placeholder="Enter password"
|
|
name="password" />
|
|
</div>
|
|
<button class="btn btn-primary" name="loginButton" type="submit">
|
|
Login
|
|
</button>
|
|
<a class="btn btn-secondary" name="indexPage" href="/">
|
|
Cancel
|
|
</a>
|
|
</form>
|
|
@if(ViewBag.Error != null)
|
|
{
|
|
<script>
|
|
alert("@ViewBag.Error");
|
|
</script>
|
|
})
|
|
</body>
|
|
</html> |