LANCommander/LANCommander.Launcher/wwwroot/index.html
2024-12-31 12:29:52 -06:00

59 lines
No EOL
2.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LANCommander</title>
<link rel="stylesheet" href="/_content/XtermBlazor/XtermBlazor.min.css" />
<link rel="stylesheet" href="/_content/PSC.Blazor.Components.MarkdownEditor/css/markdowneditor.css" />
<link rel="stylesheet" href="/_content/PSC.Blazor.Components.MarkdownEditor/css/easymde.min.css" />
<link rel="stylesheet" href="/_content/Photino.Blazor.CustomWindow/css/pb-custom-window.css" />
<link rel="stylesheet" href="/_content/AntDesign/css/ant-design-blazor.dark.css" />
<link rel="stylesheet" href="/_content/LANCommander.UI/ui.css" />
<link rel="stylesheet" href="css/app.css" />
</head>
<body>
<div class="status-bar-safe-area"></div>
<app>
<img src="assets/logo.svg" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 33vh; height: auto;" />
</app>
<div id="blazor-error-ui">
An unhandled error has occurred.
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>
<script src="/_content/AntDesign/js/ant-design-blazor.js"></script>
<script src="/_framework/blazor.webview.js"></script>
<script src="/_content/XtermBlazor/XtermBlazor.min.js"></script>
<script src="/_content/Photino.Blazor.CustomWindow/js/js-extensions.js"></script>
<script src="/_content/Photino.Blazor.CustomWindow/js/pb-custom-window.js"></script>
<script src="/_content/LANCommander.UI/bundle.js"></script>
<script src="/_content/PSC.Blazor.Components.MarkdownEditor/js/easymde.min.js"></script>
<script src="/_content/PSC.Blazor.Components.MarkdownEditor/js/markdownEditor.js"></script>
<script>
XtermBlazor.registerAddons({
"readline": new XtermAddons.Readline(),
"addon-fit": new XtermAddons.Fit()
});
window.sendMessage = function (message) {
window.external.sendMessage(message);
}
window.external.receiveMessage(message => {
switch (message) {
case 'importComplete':
DotNet.invokeMethodAsync('LANCommander.Launcher', 'ImportComplete');
break;
}
});
</script>
</body>
</html>