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.
This commit is contained in:
Executable
+47
@@ -0,0 +1,47 @@
|
||||
@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>
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
@{
|
||||
ViewBag.Title = "Authorization Error";
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<h2>Authorization Error</h2>
|
||||
|
||||
<div class="alert alert-danger" role="alert">
|
||||
You are not authorized to use the resource at <b><a href="@(ViewBag.ResourceURL)">@(ViewBag.ResourceURL)</a></b>.
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user