PageRenderTime 48ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/OpusSuite/OpusSuite/Views/Shared/_Layout.Mobile.cshtml

http://opussuite.codeplex.com
Razor | 116 lines | 67 code | 6 blank | 43 comment | 1 complexity | 14d7d018ec689f00e235452147608be9 MD5 | raw file
Possible License(s): CC-BY-SA-3.0, Apache-2.0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <link rel="stylesheet" href="@Url.Content("~/Content/jquery.mobile-1.0rc2.min.css")" />
  5. <link rel="stylesheet" href="@Url.Content("~/Content/Site.Mobile.css")" />
  6. @{ string uiTheme = "~/Content/themes/" + @ViewBag.UiTheme + "/jquery-ui.css"; }
  7. @{ string jqgridUiTheme = "~/Content/themes/" + @ViewBag.UiTheme + "/ui.jqgrid.css"; }
  8. @{ string siteUiTheme = "~/Content/themes/" + @ViewBag.UiTheme + "/Site.less.css"; }
  9. @* @{ string appmsgUiTheme = "~/Content/themes/" + @ViewBag.UiTheme + "/ApplicationMessages.css"; } **@
  10. @{ string validationUiTheme = "~/Content/themes/" + @ViewBag.UiTheme + "/validationEngine.jquery.css"; }
  11. <meta charset="utf-8" />
  12. <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
  13. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  14. <title>@("Opus Suite - " + ViewBag.Title)</title>
  15. <meta name="viewport" content="width=device-width" />
  16. @*
  17. <script src="https://www.google.com/jsapi?key=ABQIAAAA1bHph2nFVWMJOwVWPK7YvxQaUDARfb8ufB2RIgROumkCs37JjBS_T7nLydWZiRHQLvkDlG8-zvRdvg" type="text/javascript"></script>
  18. <link href='http://fonts.googleapis.com/css?family=Playfair+Display|Redressed|Shadows+Into+Light|Waiting+for+the+Sunrise|Sue+Ellen+Francisco|Annie+Use+Your+Telescope|EB+Garamond|Walter+Turncoat|Maiden+Orange|Sniglet:800|Ubuntu:400,400italic,500,500italic,700,700italic&subset=latin&v2' rel='stylesheet' type='text/css'>
  19. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js" type="text/javascript"></script>
  20. <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.js"
  21. <link href='http://fonts.googleapis.com/css?family=EB+Garamond&subset=latin&v2' rel='stylesheet' type='text/css'>
  22. *@
  23. <link href="@Url.Content(@uiTheme)" rel="stylesheet" type="text/css"/>
  24. <link href="@Url.Content(@jqgridUiTheme)" rel="stylesheet" type="text/css" />
  25. <link href="@Url.Content(@siteUiTheme)" rel="stylesheet" type="text/css"/>
  26. @*<link href="@Url.Content(@appmsgUiTheme)" rel="stylesheet" type="text/css"/>*@
  27. <link href="@Url.Content(@validationUiTheme)" rel="stylesheet" type="text/css"/>
  28. <script src="@Url.Content("~/Scripts/jquery-1.7.js")" type="text/javascript"></script>
  29. <script src="@Url.Content("~/Scripts/jquery-ui-1.8.16.js")" type="text/javascript"></script>
  30. <script src="@Url.Content("~/Scripts/validationEngine/jquery.validationEngine-en.js")" type="text/javascript" charset="utf-8"></script>
  31. <script src="@Url.Content("~/Scripts/validationEngine/jquery.validationEngine.js")" type="text/javascript" charset="utf-8"></script>
  32. <script src="@Url.Content("~/Scripts/modernizr-2.0.6.js")" type="text/javascript"></script>
  33. <script src="@Url.Content("~/Scripts/jquery.timers-1.2.js")" type="text/javascript"></script>
  34. <script src="@Url.Content("~/Scripts/Shared/OpusMessageDialog.js")" type="text/javascript"></script>
  35. <script src="@Url.Content("~/Scripts/Shared/ProgressSpinner.js")" type="text/javascript"></script>
  36. @MvcMiniProfiler.MiniProfiler.RenderIncludes()
  37. <script type="text/javascript">
  38. $(document).bind("mobileinit", function() {
  39. // As of Beta 2, jQuery Mobile's Ajax navigation does not work in all cases (e.g.,
  40. // when navigating from a mobile to a non-mobile page), hence disabling it.
  41. $.mobile.ajaxEnabled = false;
  42. });
  43. </script>
  44. </head>
  45. <body>
  46. <div data-role="page" data-theme="a">
  47. <div data-role="content">
  48. <section>
  49. <div id="logindisplay">@Html.Partial("_HeaderPanel")</div>
  50. </section>
  51. <section id="main">
  52. @RenderBody()
  53. </section>
  54. @*</div>
  55. <div data-role="footer">*@
  56. <footer>
  57. @Html.Partial("_FooterPanel")
  58. </footer>
  59. </div>
  60. </div>
  61. <div id="dialogOpusMessage" title="" style="overflow: hidden;" />
  62. <div id="progressSpinner" title="" style="overflow: hidden;" />
  63. </body>
  64. <script type="text/javascript">
  65. var _gaq = [['_setAccount', 'UA-25742444-1'], ['_trackPageview']];
  66. (function (d, t) {
  67. var g = d.createElement(t),
  68. s = d.getElementsByTagName(t)[0];
  69. g.async = true;
  70. g.src = '//www.google-analytics.com/ga.js';
  71. s.parentNode.insertBefore(g, s);
  72. })(document, 'script');
  73. </script>
  74. <script type="text/javascript">
  75. if (Modernizr.borderradius) {
  76. $(function () { $("#html5").hide(); });
  77. }
  78. </script>
  79. @* For alpha
  80. <script type="text/javascript">
  81. var _gaq = _gaq || [];
  82. _gaq.push(['_setAccount', 'UA-25742444-1']);
  83. _gaq.push(['_trackPageview']);
  84. (function () {
  85. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  86. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  87. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  88. })();
  89. </script>
  90. for demo
  91. <script type="text/javascript">
  92. var _gaq = _gaq || [];
  93. _gaq.push(['_setAccount', 'UA-22933110-1']);
  94. _gaq.push(['_trackPageview']);
  95. (function () {
  96. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  97. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  98. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  99. })();
  100. </script>
  101. *@
  102. </html>