Files
mixtape/zero.Backoffice/Views/Zero/Index.cshtml
T

44 lines
1.6 KiB
Plaintext
Raw Normal View History

@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
2020-04-15 15:13:38 +02:00
@model zero.Web.Models.ZeroBackofficeModel
@{
Layout = null;
string config = await Model.Vue.ConfigAsJson();
}
2020-03-22 14:18:34 +01:00
<!DOCTYPE html>
2020-03-22 14:47:59 +01:00
<html>
2020-03-22 14:18:34 +01:00
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex,nofollow">
<meta name="author" content="brothers">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="expires" content="0">
<link rel="icon" type="image/png" href="/assets/zero-icon.png" sizes="32x32">
<link rel="image_src" type="image/png" href="/assets/zero-icon.png" sizes="192x192" />
<link rel="shortcut icon" type="image/png" href="/assets/zero-icon.png" sizes="196x196">
2020-03-22 14:18:34 +01:00
<base href="~/">
2020-03-23 19:39:48 +01:00
<environment exclude="Development">
2021-07-22 15:47:40 +02:00
<script type="module" crossorigin src="~/zero/index.js"></script>
<link rel="modulepreload" href="~/zero/vendor.js" />
<link rel="stylesheet" href="~/zero/index.css" />
2020-03-23 19:39:48 +01:00
</environment>
2020-03-24 23:09:29 +01:00
<title>zero</title>
2020-03-22 14:18:34 +01:00
</head>
2021-09-21 22:26:28 +02:00
<body class="theme-light theme-rounded">
2020-03-22 14:18:34 +01:00
<div id="app"></div>
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
@Html.Raw(Model.Vue.GetIconSvg())
</svg>
2021-03-05 15:35:55 +01:00
<script id="zeroconfig" type="application/json">
@Html.Raw(config)
</script>
<script>
window.__zero = @Html.Raw(config);
2020-10-16 14:02:10 +02:00
window.zero = window.__zero;
</script>
2021-07-22 15:47:40 +02:00
<environment include="Development">
<script type="module" src="http://localhost:@(Model.Port)/vite/client"></script>
<script type="module" src="http://localhost:@(Model.Port)/app/app.js"></script>
</environment>
2020-03-22 14:18:34 +01:00
</body>
</html>