_FullPageLayout.cshtml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=11" />
  6. <title>@ViewBag.Title</title>
  7. <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  8. <meta name="viewport" content="width=device-width,height=device-height, user-scalable=no,initial-scale=1, minimum-scale=1, maximum-scale=1 "/>
  9. @Styles.Render("~/Content/css")
  10. @Scripts.Render("~/bundles/modernizr")
  11. @Scripts.Render("~/bundles/jquery")
  12. <script type="text/javascript" src="~/Scripts/bs-common.js"></script>
  13. <script type="text/javascript">
  14. var rootPath = "@(Url.Content("~/").TrimEnd('/'))";
  15. var emisWeb = "@(System.Configuration.ConfigurationManager.AppSettings["EMISUrl"])";
  16. var emisReportWeb = "@(System.Configuration.ConfigurationManager.AppSettings["EMISReportUrl"])";
  17. $(function () {
  18. $("#body").height($(window).height());
  19. });
  20. function showError(message) {
  21. $("#pageContent").hide();
  22. $("#errorMessage #errorTitle").html(message);
  23. $("#errorMessage").show();
  24. }
  25. function goHome() {
  26. location.href = "@Url.Content("~/Home/screensaver")";
  27. }
  28. </script>
  29. @RenderSection("scripts", required: false)
  30. </head>
  31. <body style="padding: 0;margin: 0; border:0; height: 100%;overflow:hidden;">
  32. <div id="loading" class="window-mask" style="position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 999;
  33. background: #ccc; filter: alpha(opacity=40); opacity: 0.40; -moz-opacity: 0.4; font-size: 1px; *zoom: 1;
  34. overflow: hidden; display: none;">
  35. <img src="~/Content/themes/base/images/timg.gif" alt="" style="top: 50%; left: 50%; transform: translate(-50%,-50%); position: absolute;" />
  36. </div>
  37. <div id="body" style="width: 100%; height: 100%; text-align: center; background-image:url(/Content/themes/base/images/background.png); background-repeat:no-repeat; background-size:100% 100%;-moz-background-size:100% 100%;">
  38. @RenderBody()
  39. </div>
  40. </body>
  41. </html>