69 lines
2.7 KiB
Plaintext
69 lines
2.7 KiB
Plaintext
@page
|
|
@model EDAViewer.Pages.BackgroundPage
|
|
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
<title>Background</title>
|
|
<link href="~/css/bootstrap/bootstrap.min.css" rel="stylesheet" />
|
|
<link href="~/css/app.css" rel="stylesheet" />
|
|
</head>
|
|
|
|
<body>
|
|
<div class="main">
|
|
<div class="content px-4">
|
|
<div class="jumbotron">
|
|
<h1>@(nameof(EDAViewer)) -
|
|
@(Model.IsPrimaryInstance) -
|
|
@(Model.IsEnvironmentProfile) -
|
|
@(Model.AppSettingsBuildNumber) -
|
|
@(Model.AppSettingsGitCommitSeven) -
|
|
@(Model.AppSettingsURLs)</h1>
|
|
<p class="lead">@(Model.WorkingDirectory)</p>
|
|
<p class="lead">@(Model.Message)</p>
|
|
<h1>@(string.Concat("Exception(s) - ", Model.Exceptions.Count))</h1>
|
|
</div>
|
|
<div>
|
|
<ul>
|
|
<li><a href="/Index.txt">Index.txt</a></li>
|
|
<li><a href="/Background">Background Message</a></li>
|
|
<li><a href="/Background/?message_clear=true">Background Message Clear</a></li>
|
|
<li><a href="/Background/?exceptions_clear=true">Background Exceptions Clear</a></li>
|
|
<li><a href="/Background/?set_is_primary_instance=true">Background Set Is Primary Instance</a></li>
|
|
<li><a href="/Background/?set_is_primary_instance=false">Background Clear Primary Instance</a></li>
|
|
</ul>
|
|
</div>
|
|
<p> </p>
|
|
<hr />
|
|
<div>
|
|
<form action="">
|
|
@if (Model.Exceptions.Any())
|
|
{
|
|
int i = 0;
|
|
@foreach (Exception exception in Model.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>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|