Builds but needs tested
This commit is contained in:
@ -1,47 +0,0 @@
|
||||
@using APCViewer.Controllers
|
||||
@{
|
||||
ViewBag.Title = "Background";
|
||||
int i = 0;
|
||||
string homeController = nameof(HomeController).Replace("Controller", string.Empty);
|
||||
}
|
||||
|
||||
<div class="jumbotron">
|
||||
<h1>APC - @(ViewBag.IsPrimaryInstance) - @(ViewBag.Profile) - @(ViewBag.URLs) - 013</h1>
|
||||
<p class="lead">@(ViewBag.WorkingDirectory)</p>
|
||||
<p class="lead">@(ViewBag.Message)</p>
|
||||
<h1>@(ViewBag.ExceptionsCount)</h1>
|
||||
</div>
|
||||
<div>
|
||||
<ul>
|
||||
<li><a asp-area="" asp-controller="@(homeController)" asp-action="@(nameof(HomeController.Background))">Background Message</a></li>
|
||||
<li><a asp-area="" asp-controller="@(homeController)" asp-action="@(nameof(HomeController.Background))" asp-route-message_clear="true">Background Message Clear</a></li>
|
||||
<li><a asp-area="" asp-controller="@(homeController)" asp-action="@(nameof(HomeController.Background))" asp-route-exceptions_clear="true">Background Exceptions Clear</a></li>
|
||||
<li><a asp-area="" asp-controller="@(homeController)" asp-action="@(nameof(HomeController.Background))" asp-route-set_is_primary_instance="true">Background Set Is Primary Instance</a></li>
|
||||
<li><a asp-area="" asp-controller="@(homeController)" asp-action="@(nameof(HomeController.Background))" asp-route-set_is_primary_instance="false">Background Clear Primary Instance</a></li>
|
||||
<li><a asp-area="" asp-controller="@(homeController)" asp-action="@(nameof(HomeController.Background))" asp-route-logistics_clear="true">Background Logistics Clear</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<p> </p>
|
||||
<hr />
|
||||
<div>
|
||||
<form action="">
|
||||
@foreach (Exception exception in ViewBag.Exceptions)
|
||||
{
|
||||
<p>
|
||||
@Html.Raw(string.Concat("<textarea name=\"message_", i, "\" rows='1' cols='400'>", exception.Message, "</textarea>"));
|
||||
</p>
|
||||
<p>
|
||||
@Html.Raw(string.Concat("<textarea name=\"stackTrace_", i, "\" rows='4' cols='400'>", exception.StackTrace, "</textarea>"));
|
||||
</p>
|
||||
<hr />
|
||||
@(i += 1);
|
||||
}
|
||||
</form>
|
||||
</div>
|
||||
@section scripts {
|
||||
<script>
|
||||
$(function () {
|
||||
console.log("ready!");
|
||||
});
|
||||
</script>
|
||||
}
|
Reference in New Issue
Block a user