mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-23 11:51:09 +08:00
50 lines
2.6 KiB
Plaintext
50 lines
2.6 KiB
Plaintext
@using BootstrapBlazor.Components
|
|
@using Microsoft.AspNetCore.Components.Web
|
|
@using Microsoft.Extensions.Localization
|
|
@using ThingsGateway.Razor
|
|
@inject IHostEnvironment Env
|
|
@inject IStringLocalizer<BlazorApp> Localizer
|
|
@namespace ThingsGateway.AdminServer
|
|
<!DOCTYPE html>
|
|
<html lang="en" data-bs-theme='light'>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="keywords" content="thingsgateway,iot,netcore,blazor">
|
|
<meta name="description" content="ThingsGateway边缘采集网关">
|
|
<meta name="author" content="Diego">
|
|
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
|
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
|
|
<link rel="apple-touch-icon" href="favicon.png">
|
|
<base href="/" />
|
|
<title>ThingsGateway</title>
|
|
<link rel="stylesheet" href=@($"_content/BootstrapBlazor.FontAwesome/css/font-awesome.min.css?v={this.GetType().Assembly.GetName().Version}") />
|
|
<link rel="stylesheet" href=@($"_content/BootstrapBlazor/css/bootstrap.blazor.bundle.min.css?v={this.GetType().Assembly.GetName().Version}") />
|
|
<link rel="stylesheet" href=@($"_content/BootstrapBlazor/css/motronic.min.css?v={this.GetType().Assembly.GetName().Version}") />
|
|
<link rel="stylesheet" href=@($"ThingsGateway.AdminServer.styles.css?v={this.GetType().Assembly.GetName().Version}") />
|
|
<link rel="stylesheet" href=@($"{WebsiteConst.DefaultResourceUrl}css/site.css?v={this.GetType().Assembly.GetName().Version}") />
|
|
@* <script src=@($"{WebsiteConst.DefaultResourceUrl}js/theme.js") type="module"></script><!-- 初始主题 --> *@
|
|
<!-- PWA Manifest -->
|
|
<link rel="manifest" href="./manifest.json" />
|
|
<HeadOutlet @rendermode="new InteractiveServerRenderMode(false)" />
|
|
</head>
|
|
|
|
<body>
|
|
<Routes @rendermode="new InteractiveServerRenderMode(false)" />
|
|
<ReconnectorOutlet ReconnectInterval="5000" @rendermode="new InteractiveServerRenderMode(false)" />
|
|
|
|
<BlazorReconnector @rendermode="new InteractiveServerRenderMode(false)" />
|
|
|
|
<script src=@($"_content/BootstrapBlazor/js/bootstrap.blazor.bundle.min.js?v={this.GetType().Assembly.GetName().Version}")></script>
|
|
<script src=@($"{WebsiteConst.DefaultResourceUrl}js/localStorageUtil.js?v={this.GetType().Assembly.GetName().Version}")></script>
|
|
<script src="_framework/blazor.web.js"></script>
|
|
<!-- PWA Service Worker -->
|
|
<script type="text/javascript">'serviceWorker' in navigator && navigator.serviceWorker.register('./service-worker.js')</script>
|
|
|
|
</body>
|
|
|
|
</html>
|