/OpusSuite/OpusSuite/Views/Shared/_Layout.Mobile.cshtml
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
- <!DOCTYPE html>
- <html>
- <head>
- <link rel="stylesheet" href="@Url.Content("~/Content/jquery.mobile-1.0rc2.min.css")" />
- <link rel="stylesheet" href="@Url.Content("~/Content/Site.Mobile.css")" />
- @{ string uiTheme = "~/Content/themes/" + @ViewBag.UiTheme + "/jquery-ui.css"; }
- @{ string jqgridUiTheme = "~/Content/themes/" + @ViewBag.UiTheme + "/ui.jqgrid.css"; }
- @{ string siteUiTheme = "~/Content/themes/" + @ViewBag.UiTheme + "/Site.less.css"; }
- @* @{ string appmsgUiTheme = "~/Content/themes/" + @ViewBag.UiTheme + "/ApplicationMessages.css"; } **@
- @{ string validationUiTheme = "~/Content/themes/" + @ViewBag.UiTheme + "/validationEngine.jquery.css"; }
- <meta charset="utf-8" />
- <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <title>@("Opus Suite - " + ViewBag.Title)</title>
- <meta name="viewport" content="width=device-width" />
- @*
- <script src="https://www.google.com/jsapi?key=ABQIAAAA1bHph2nFVWMJOwVWPK7YvxQaUDARfb8ufB2RIgROumkCs37JjBS_T7nLydWZiRHQLvkDlG8-zvRdvg" type="text/javascript"></script>
- <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'>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js" type="text/javascript"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.js"
- <link href='http://fonts.googleapis.com/css?family=EB+Garamond&subset=latin&v2' rel='stylesheet' type='text/css'>
- *@
- <link href="@Url.Content(@uiTheme)" rel="stylesheet" type="text/css"/>
- <link href="@Url.Content(@jqgridUiTheme)" rel="stylesheet" type="text/css" />
- <link href="@Url.Content(@siteUiTheme)" rel="stylesheet" type="text/css"/>
- @*<link href="@Url.Content(@appmsgUiTheme)" rel="stylesheet" type="text/css"/>*@
- <link href="@Url.Content(@validationUiTheme)" rel="stylesheet" type="text/css"/>
-
- <script src="@Url.Content("~/Scripts/jquery-1.7.js")" type="text/javascript"></script>
- <script src="@Url.Content("~/Scripts/jquery-ui-1.8.16.js")" type="text/javascript"></script>
- <script src="@Url.Content("~/Scripts/validationEngine/jquery.validationEngine-en.js")" type="text/javascript" charset="utf-8"></script>
- <script src="@Url.Content("~/Scripts/validationEngine/jquery.validationEngine.js")" type="text/javascript" charset="utf-8"></script>
- <script src="@Url.Content("~/Scripts/modernizr-2.0.6.js")" type="text/javascript"></script>
- <script src="@Url.Content("~/Scripts/jquery.timers-1.2.js")" type="text/javascript"></script>
- <script src="@Url.Content("~/Scripts/Shared/OpusMessageDialog.js")" type="text/javascript"></script>
- <script src="@Url.Content("~/Scripts/Shared/ProgressSpinner.js")" type="text/javascript"></script>
-
- @MvcMiniProfiler.MiniProfiler.RenderIncludes()
- <script type="text/javascript">
- $(document).bind("mobileinit", function() {
- // As of Beta 2, jQuery Mobile's Ajax navigation does not work in all cases (e.g.,
- // when navigating from a mobile to a non-mobile page), hence disabling it.
- $.mobile.ajaxEnabled = false;
- });
- </script>
- </head>
- <body>
-
- <div data-role="page" data-theme="a">
- <div data-role="content">
- <section>
- <div id="logindisplay">@Html.Partial("_HeaderPanel")</div>
- </section>
- <section id="main">
- @RenderBody()
- </section>
- @*</div>
- <div data-role="footer">*@
- <footer>
- @Html.Partial("_FooterPanel")
- </footer>
- </div>
-
- </div>
-
- <div id="dialogOpusMessage" title="" style="overflow: hidden;" />
- <div id="progressSpinner" title="" style="overflow: hidden;" />
- </body>
-
- <script type="text/javascript">
- var _gaq = [['_setAccount', 'UA-25742444-1'], ['_trackPageview']];
- (function (d, t) {
- var g = d.createElement(t),
- s = d.getElementsByTagName(t)[0];
- g.async = true;
- g.src = '//www.google-analytics.com/ga.js';
- s.parentNode.insertBefore(g, s);
- })(document, 'script');
- </script>
- <script type="text/javascript">
- if (Modernizr.borderradius) {
- $(function () { $("#html5").hide(); });
- }
- </script>
- @* For alpha
- <script type="text/javascript">
-
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-25742444-1']);
- _gaq.push(['_trackPageview']);
-
- (function () {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
-
- </script>
-
- for demo
- <script type="text/javascript">
-
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22933110-1']);
- _gaq.push(['_trackPageview']);
-
- (function () {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
-
- </script>
-
- *@
- </html>