_Layout.cshtml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!--登录页和首页模板-->
  2. @inject Microsoft.AspNetCore.Hosting.IWebHostEnvironment HostingEnvironment
  3. <!DOCTYPE HTML>
  4. <html>
  5. <head>
  6. <meta charset="utf-8">
  7. <meta name="renderer" content="webkit|ie-comp|ie-stand">
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  9. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  10. <meta http-equiv="Cache-Control" content="no-siteapp" />
  11. <meta name="keywords" content="55128后台管理系统">
  12. <meta name="description" content="55128后台管理系统">
  13. <link rel="bookmark" href='@Url.Content("~/favicon.ico")' />
  14. <link rel="shortcut icon" href="@Url.Content("~/favicon.ico")" type="image/x-icon" />
  15. @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap/3.3.7/css/bootstrap.min.css"))
  16. @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/fontawesome/4.7.0/css/fontawesome.min.css"))
  17. @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/jquery/2.1.4/jquery.min.js"))
  18. @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap/3.3.7/js/bootstrap.min.js"))
  19. @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/layer/3.1.1/layer.min.js"))
  20. @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/css/style.min.css"))
  21. @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/js/yisha.min.js"))
  22. <!--首页需要用到的js开始-->
  23. @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/js/yisha-index.min.js"))
  24. <script type="text/javascript" src='@Url.Content("~/lib/jquery.metisMenu/1.1.3/jquery.metisMenu.js")'></script>
  25. <script type="text/javascript" src='@Url.Content("~/lib/jquery.slimscroll/1.3.8/jquery.slimscroll.min.js")'></script>
  26. <!--首页需要用到的js结束-->
  27. @RenderSection("header", false)
  28. <title>55128后台管理系统</title>
  29. <style type="text/css">
  30. .nav > li:hover .dropdown-menu {
  31. display: block;
  32. }
  33. </style>
  34. <script type="text/javascript">
  35. var ctx = '@Url.Content("~/")';
  36. </script>
  37. </head>
  38. <body class="fixed-sidebar full-height-layout gray-bg login">
  39. @RenderBody()
  40. @RenderSection("footer", false)
  41. @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/css/yisha.min.css"))
  42. @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/js/yisha-init.min.js"))
  43. </body>
  44. </html>