* Updated ApplicationCore to net 5 * Updated Infrastructure project to net 5 * Updated BlazorShared project to net 5 * Updated PublicApi project to net 5 * Updated Web mvc project to net 5 * Updated BlazorAdmin project to net-5 * Updated FunctionalTests to net 5 * Updated UnitTests project to net 5 * Updated IntegrationTests project to net 5 * Fixed CSS specific bug in BlazorAdmin project * Updated github action worflow yaml * Changes the name to only .NET * Removed hardcoded minor version from github action workflow. * Removed commneted code. * Removed minor versions from the docker file * Updated dotnet-ef tool version configuration to net-5 * Removed old migration plans * Added net5 migration plans * Updated infrastructure projecti setting. * Removed database error page related configuration * Removed commented package.
76 lines
2.5 KiB
Plaintext
76 lines
2.5 KiB
Plaintext
@page
|
|
@using BlazorAdmin
|
|
|
|
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
|
|
|
@{
|
|
Layout = null;
|
|
ViewData["Title"] = "Admin - Catalog";
|
|
}
|
|
|
|
|
|
<!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>@ViewData["Title"] - Microsoft.eShopOnWeb</title>
|
|
<base href="~/" />
|
|
<environment include="Development,Docker">
|
|
<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
|
|
</environment>
|
|
<environment exclude="Development,Docker">
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
|
|
asp-fallback-href="css/bootstrap/bootstrap.min.css"
|
|
asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute"
|
|
crossorigin="anonymous"
|
|
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" />
|
|
</environment>
|
|
<link href="css/admin.css" rel="stylesheet" />
|
|
<script src="_content/BlazorInputFile/inputfile.js"></script>
|
|
<script>
|
|
|
|
window.getCookie = (cname) => {
|
|
var name = cname + "=";
|
|
var decodedCookie = decodeURIComponent(document.cookie);
|
|
var ca = decodedCookie.split(';');
|
|
for (var i = 0; i < ca.length; i++) {
|
|
var c = ca[i];
|
|
while (c.charAt(0) == ' ') {
|
|
c = c.substring(1);
|
|
}
|
|
if (c.indexOf(name) == 0) {
|
|
return c.substring(name.length, c.length);
|
|
}
|
|
}
|
|
|
|
return "";
|
|
};
|
|
|
|
window.deleteCookie = (cname) => {
|
|
document.cookie = cname + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
|
|
};
|
|
|
|
window.routeOutside = (path) => {
|
|
window.location = path;
|
|
};
|
|
|
|
window.hideBodyOverflow = () => {
|
|
document.body.classList.add("body-no-overflow");
|
|
};
|
|
|
|
window.showBodyOverflow = () => {
|
|
document.body.classList.remove("body-no-overflow");
|
|
};
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="admin"></div>
|
|
<script src="_content/Microsoft.AspNetCore.Components.WebAssembly.Authentication/AuthenticationService.js"></script>
|
|
<script src="_framework/blazor.webassembly.js"></script>
|
|
|
|
</body>
|
|
</html>
|
|
|