mh_custom/wtmProject/Pages/_Host.cshtml
2026-01-06 10:55:05 +08:00

46 lines
1.9 KiB
Plaintext

@page "/_host"
@namespace wtmProject
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
Layout = null;
}
@inject WalkingTec.Mvvm.Core.WTMContext wtm
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>WTM Blazor</title>
<base href="~/" />
<link href="_content/wtmProject.Shared/font-awesome/css/all.min.css" rel="stylesheet">
<link href="_content/BootstrapBlazor/css/bootstrap.blazor.bundle.min.css" rel="stylesheet">
<link rel="stylesheet" href="_content/wtmProject.Shared/css/site.css">
<link rel="stylesheet" href="_content/wtmProject.Shared/css/loading.css">
<link rel="stylesheet" href="_content/wtmProject.Shared/font/iconfont.css">
<link rel="stylesheet" href="wtmProject.styles.css">
</head>
<body>
<component type="typeof(wtmProject.Shared.App)" render-mode="Server" />
<div id="blazor-error-ui">
<environment include="Staging,Production">
An error has occurred. This application may no longer respond until reloaded.
</environment>
<environment include="Development">
An unhandled exception has occurred. See browser dev tools for details.
</environment>
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>
<script src="https://cdn.jsdelivr.net/npm/echarts@5.4.3/dist/echarts.min.js"></script>
<script src="_content/BootstrapBlazor/js/bootstrap.blazor.bundle.min.js"></script>
<script src="_content/BootstrapBlazor.SummerNote/js/jquery-3.5.1.min.js"></script>
<script src="_content/wtmProject.Shared/js/common.js"></script>
<script src="_framework/blazor.server.js"></script>
<script>
window.setTabTitle = function (title) {
document.querySelector('a.tabs-item.active.is-closeable>span.tabs-item-text').textContent = title;
}
</script>
</body>
</html>