oliverbooth.dev/OliverBooth/Pages/Admin/Login.cshtml

23 lines
867 B
Plaintext
Raw Permalink Normal View History

@page
@model OliverBooth.Pages.Admin.Login
@{
ViewData["Title"] = "Login";
}
<div class="m-auto" style="max-width: 330px; padding: 1rem;">
<form method="post" asp-controller="Authentication" asp-action="DoSignIn" asp-route-version="1">
<h1 class="h3 mb-3 fw-normal">Please sign in</h1>
<div class="form-floating">
<input type="email" class="form-control" id="login-email" name="login-email" placeholder="name@example.com">
<label for="login-email">Email address</label>
</div>
<div class="form-floating">
<input type="password" class="form-control" id="login-password" name="login-password" placeholder="Password">
<label for="login-password">Password</label>
</div>
<button class="btn btn-primary w-100 py-2" type="submit">Sign in</button>
</form>
</div>