mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 12:18:26 +01:00
29 lines
No EOL
654 B
Text
29 lines
No EOL
654 B
Text
@model LightTube.Contexts.MessageContext
|
|
@{
|
|
ViewData["Title"] = "Login";
|
|
Layout = "_Layout";
|
|
}
|
|
|
|
@if (!string.IsNullOrWhiteSpace(Model.Message))
|
|
{
|
|
<div class="login-message">
|
|
@Model.Message
|
|
</div>
|
|
}
|
|
|
|
<div class="login-container">
|
|
<div>
|
|
<div>
|
|
<form asp-action="Login" method="POST" class="login-form">
|
|
<h1>Log in</h1>
|
|
<input name="userid" type="text" placeholder="UserID">
|
|
<input name="password" type="password" placeholder="Password">
|
|
<input type="submit" value="Login">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<h2>Don't have an account?</h2>
|
|
<a href="/Account/Register" class="login-button">Create an account</a>
|
|
</div>
|
|
</div> |