Match TFS Changeset 303362

This commit is contained in:
2022-02-01 19:56:15 -07:00
parent 306279760c
commit 053c873d6b
151 changed files with 49858 additions and 13 deletions

View File

@ -0,0 +1,25 @@
@model ErrorViewModel
@{
ViewData["Title"] = "Error";
}
<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">An error occurred while processing your request.</h2>
@if (Model.ShowRequestId)
{
<p>
<strong>Request ID:</strong> <code>@Model.RequestId</code>
</p>
}
<h3>Development Mode</h3>
<p>
Swapping to <strong>Development</strong> environment will display more detailed information about the error that occurred.
</p>
<p>
<strong>The Development environment shouldn't be enabled for deployed applications.</strong>
It can result in displaying sensitive information from exceptions to end users.
For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>
and restarting the app.
</p>

View File

@ -0,0 +1,71 @@
@using EDAViewer.Controllers
@{
string index = nameof(HomeController.Index);
string privacy = nameof(HomeController.Privacy);
string background = nameof(HomeController.Background);
string homeController = nameof(HomeController).Replace("Controller", string.Empty);
string schemeHostURL = string.Concat(Context.Request.Scheme, "://", Context.Request.Host);
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@await RenderSectionAsync("Meta", required: false)
<title>@ViewData["Title"] - EDAViewer</title>
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<environment exclude="Staging,Development">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="@(schemeHostURL)/Common%20Shared%20Repository/HTML5Shiv/3.7.2/html5shiv.js"></script>
<script src="@(schemeHostURL)/Common%20Shared%20Repository/Respond/1.4.2/respond.js"></script>
<![endif]-->
</environment>
<link href="~/css/bundles/css.css" rel="stylesheet" />
<base href="~/" />
@await RenderSectionAsync("Style", required: false)
<script src="~/js/bundles/modernizr.js"></script>
</head>
<body>
<header>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" asp-area="" asp-controller="@(homeController)" asp-action="@(index)">EDA Viewer</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="@(homeController)" asp-action="@(background)">Background</a>
</li>
</ul>
</div>
</div>
</div>
</header>
<div class="container body-content">
@RenderBody()
</div>
<footer class="border-top footer text-muted">
<div class="container">
&copy; 2021 - EDAViewer - <a asp-area="" asp-controller="@(homeController)" asp-action="@(privacy)">Privacy</a>
</div>
</footer>
<script src="~/js/bundles/jquery.js"></script>
<script src="~/js/bundles/bootstrap.js"></script>
<script src="~/js/site.js" asp-append-version="true"></script>
<!--script src="_framework/blazor.server.js" asp-append-version="true"></script-->
@await RenderSectionAsync("Scripts", required: false)
</body>
</html>

View File

@ -0,0 +1,2 @@
<script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>