Add project files.
This commit is contained in:
68
SysApp/Views/Shared/_Layout.cshtml
Normal file
68
SysApp/Views/Shared/_Layout.cshtml
Normal file
@ -0,0 +1,68 @@
|
||||
@{
|
||||
IgnoreSection("jsLib");
|
||||
IgnoreSection("jsPage");
|
||||
IgnoreBody();
|
||||
}
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
@* <meta http-equiv="Content-Security-Policy" content="default-src 'self' https://login.microsoftonline.com https://aadcdn.msftauth.net; " />
|
||||
*@ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
|
||||
<meta name="idPage" content="@ViewData["PageID"]" pageName="VinFont Management" isLayout="@ViewData["IsLayout"]" />
|
||||
<title>@ViewData["Title"] - ERP ATG System </title>
|
||||
@* <link rel="icon" type="image/x-icon" href="@Url.AbsoluteContent("~/images/logo/logo-ico.png")" />
|
||||
*@
|
||||
<link rel="preload" as="script" href="@Url.AbsoluteContent("~/js/libs/js-core.js")">
|
||||
<link rel="preload" as="style" href="@Url.AbsoluteContent("~/css/atg-lib/atg-core.css")" />
|
||||
</head>
|
||||
<body class="hp">
|
||||
<header id="header">
|
||||
</header>
|
||||
<section id="section1">
|
||||
|
||||
</section>
|
||||
<section data-scrollbar class="main-scrollbar">
|
||||
<div class="loading"></div>
|
||||
<div class="main-wrapper" app-content>
|
||||
<div class="main-container">
|
||||
<main main-content>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer id="footer">
|
||||
</footer>
|
||||
</section>
|
||||
|
||||
<script src="@Url.AbsoluteContent("~/js/libs/js-core.js")"></script>
|
||||
<section app-js-lib>
|
||||
<script src="@Url.AbsoluteContent("~/js/ext_libs/js-scrollbar.js")" js-lib></script>
|
||||
</section>
|
||||
<section app-js-page>
|
||||
</section>
|
||||
<script>
|
||||
window.requestTimeout(() => {
|
||||
window.app = new AApp('[app-content] > .main-container');
|
||||
(function () {
|
||||
var asyncStyleSheets = [
|
||||
'@Url.AbsoluteContent("~/css/atg-lib/atg-core.css")',
|
||||
'@Url.AbsoluteContent("~/css/site.css")'
|
||||
];
|
||||
window.app.loadCSS(asyncStyleSheets);
|
||||
})();
|
||||
(function () {
|
||||
window.app.render();
|
||||
window.app.initScrollBar();
|
||||
var asyncStyleSheets = [
|
||||
'https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap',
|
||||
'/css/atg-font/atg-admin-font.css',
|
||||
'/css/atg-lib/waves.min.css'
|
||||
];
|
||||
window.app.loadCSS(asyncStyleSheets);
|
||||
})();
|
||||
|
||||
}, 5, window.registerCancel);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user