Files
jdescopingtool/OLD/WebInterface/Views/Account/Login.cshtml
T
Joseph Doherty 26ff8d9b4f Initial commit: JDE Scoping Tool migration project
Set up repository with legacy .NET Framework 4.8 source (OLD/),
new .NET 10 Blazor solution (NEW/), OpenSpec specifications,
documentation, and project configuration.
2026-01-02 07:43:29 -05:00

48 lines
1.6 KiB
Plaintext
Executable File

@model WebInterface.Models.LogonRequest
@{
ViewBag.Title = "Login";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Authentication Required</h2>
@using (Html.BeginForm())
{
<div class="form-horizontal">
<hr />
@foreach (var error in ViewData.ModelState.Keys.SelectMany(k => ViewData.ModelState[k].Errors))
{
<div class="alert alert-danger" role="alert">
@error.ErrorMessage
</div>
}
@Html.HiddenFor(model => model.RedirectURL)
<div class="form-group">
@Html.LabelFor(model => model.UserName, "Username", htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.TextBoxFor(model => model.UserName, new { @class = "form-control", style = "width: 400px;" })
@Html.ValidationMessageFor(model => model.UserName, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.Password, "Password", htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.PasswordFor(model => model.Password, new { @class = "form-control", style = "width: 400px;" })
@Html.ValidationMessageFor(model => model.Password, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="Login" class="btn btn-primary" />
</div>
</div>
</div>
}