Razor Compilation Error

We tried, we really did, but we just can't compile your view.

We're sorry :-(

Graphics courtesy of the awesome Matthew Inman

Details

Error Details

Error compiling template: Views/_layout.cshtml

Errors:
[CS0016] Line: 0 Column: 0 - Could not write to output file 'c:\Windows\Temp\Temp_40dbd904207d47fe8b225cab78eb3369.dll' -- 'There is not enough space on the disk. ' (show)

Details:
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Website.Models.IPageModel>
@using System.Linq;
@using Cassette.Nancy
@using Common
@using Website
@using Website.Models
@{
Bundles.Reference("Stylesheets");
Bundles.Reference("Scripts");
}
<!DOCTYPE html>
<html style="background-attachment:fixed;margin:0;padding:0;min-height:100%">
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">
<title>Sail World - @(string.IsNullOrEmpty(ViewBag.TitleTag) ? "The Worlds largest sailing news network: Sail and sailing, cruising, boating news" : ViewBag.TitleTag)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8 ">
<meta name="description" content="Sail boats, sailors, yachts, yachting, boats, boating Australia, New Zealand, Asia Pacific. Regatta, racing news, offshore, inshore sail boat racing. ">
<meta name="keywords" content="boating and sailing directory,sailing associations au,sailing websites,sail-world,Sailing,Website,News,Events,GPS,Companies,Associations,Clubs,Schools,Yachts,International,Race,Regatta,Pictures,Sail,World,australian sailing news,marine weather,sailing schools,sailing clubs,sailing associations,sydney harbour cruise,cruise sydney harbour, gps, solo sailing, marine weather, marine weather forecast, marine weather forcast, marine weather report, marine weather forcasts, weather marine, interactive marine weather, coastal marine weather forcast, real time marine weather, marine weather services, marine weather service, sailing associations, bluewater sailing associations, yacht clubs, royal yacht clubs, national yacht clubs">
@Bundles.RenderStylesheets()

<meta name="verify-v1" content="5Rh/Ooka7Qsp4jPbWfilRe98XxSLhjMbiDzTySubn1g=" />
<meta name="ROBOTS" content="ALL">
<meta name="viewport" content="width=1044">

@*<meta name="google-translate-customization" content="7f0255c81eb3fc25-aaba1e9eaca70e9f-g607f74a2e15607cd-12">*@
<meta name="google-translate-customization" content="c6069851c2c4d339-f960d9979d059502-gd55453517b75144e-12" />
<link rel="shortcut icon" type="image/x-icon" href="/images/favicon.ico">
<link rel="apple-touch-icon" href="/images/apple-touch-icon-precomposed.png" />
<link rel="apple-touch-startup-image" href="/images/apple-touch-icon-precomposed.png">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta property="og:title" content="@Model.Title" />
<meta property="og:type" content="website" />
<meta property="og:url" content="@Model.SiteModel.Url.HostName@Model.Url" />
@{
var image = "http://" + Model.SiteModel.Url.HostName + ((Model is IArticlesModel && ((IArticlesModel)Model).Item != null) ? ((IArticlesModel)Model).Item.GetImageUrl(0, 250, 250) : "/images/SW_Squarelogo2.gif");
}
<meta property="og:image" content="@image" />
<link rel="image_src" href="@image" />
<meta property="og:site_name" content="Sail-World.com" />
<meta property="og:description" content="@(Model is IArticlesModel && ((IArticlesModel)Model).Item != null ? ((IArticlesModel)Model).Item.ShortDescription : @Model.Title)" />
<style id="configStyles">@Html.Raw(Model.GetThemeStyles())</style>
</head>
<body style="background-attachment:fixed;margin:0;padding:0;min-height:100%">

@{
var announcement = Ioc.Get<Settings>().Get("Announcement");
if (!string.IsNullOrWhiteSpace(announcement))
{
<div id="announcement">@Html.Raw(announcement)</div>
}
}

@if (@Html.IsAuthenticated)
{
<div id="signedIn">Logged in as <span class="username">@Html.CurrentUser.UserName</span>. <a href="/account/logout" id="signout">Logout</a></div>
}
<div id="page">

<header>
<div id="header">
@{
if (!string.IsNullOrEmpty(ViewBag.NewsOption) && ViewBag.NewsOption == "comp")
{
<center>@Html.Raw(ViewBag.News_Header)</center>
}
else
{
<a id="bannerSW201506" style="background-image:url(@("" + @Model.BannerImage))" data-rotation-type="3" data-rotation-id="-1" target="_blank"></a>
<a href="@Model.Path" class="link" id="logo" style="background-image: url(@("/photo/270/46/" + Model.HostPath + "/logo.png"));"></a>
<input id="search" type="text" value="@Model.Search" />
}
}
</div>
@{
if (!string.IsNullOrEmpty(ViewBag.NewsOption) && ViewBag.NewsOption == "comp")
{
@Html.Raw("");
}
else
{
@Html.Partial("navigation", Model)
}
}
</header>
<div class="container-outer">
<div class="container-inner">
@{
if (!string.IsNullOrEmpty(ViewBag.NewsOption) && ViewBag.NewsOption == "comp")
{
<style>
#content
{
width:100% !important;
}
</style>
}
}
<section id="content">
<div id="contentReplace">
@if (!Ioc.Get<SiteStartingMonitor>().IsReady)
{
<div id="notReady">We are currently performing updates to our site. Please check back in a few minutes.</div>
<script>
@Html.Partial("settings", Model)
window.searchText = "";
</script>
}
else
{
@RenderBody()
}
<!---else if (Ioc.Get<SiteStartingMonitor>().EmergencyMode)
{
<div id="notReady">Some parts of this site are under maintenance, check back in 4 hours to access this area. If you are on a PC system, you can refresh the page by hitting Shift F5, or on an Apple Mac Fn + F5 </div>
Ioc.Get<SiteStartingMonitor>().EmergencyMode=false;
}--->
</div>
@{
if (!string.IsNullOrEmpty(ViewBag.NewsOption) && ViewBag.NewsOption == "comp")
{
@Html.Raw("")
}
else
{
<div id="searchSW201506"></div><div class="wideRotation300x250x1"></div>
<div id="layoutArticlesList" style="display:none;"></div>
}
}
</section>
@{
if (!string.IsNullOrEmpty(ViewBag.NewsOption) && ViewBag.NewsOption == "comp")
{
@Html.Raw("")
}
else
{
<section id="sidebar">
<div id="sidebarSW201506"></div>
</section>
}
}

</div>
</div>
@{
if (!string.IsNullOrEmpty(ViewBag.NewsOption) && ViewBag.NewsOption == "comp")
{
<footer>
@Html.Raw(ViewBag.News_Footer)
</footer>
}
else
{
@Html.Partial("footer", Model)
@Html.Partial("cookieAgreement", Model)
}
}
</div>

<script>
window.configItems = @Html.Raw(Model.GetThemeOptions());
window.configPresets = @Html.Raw(Model.GetThemes());
</script>
@Bundles.RenderScripts()
@if (!string.IsNullOrWhiteSpace(Model.SiteModel.GTACode))
{
<!-- Google Tag Manager -->
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push(
{'gtm.start': new Date().getTime(),event:'gtm.js'}
);var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','@Model.SiteModel.GTACode'); //GTM-KGQ82Z //GTM-M83TVM
</script>
<noscript>
<iframe src="//www.googletagmanager.com/ns.html?id=@Model.SiteModel.GTACode"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>

<!-- End Google Tag Manager -->
}
else
{
<div id="gtacodenotfound"></div>
}
@if (!string.IsNullOrWhiteSpace(Model.SiteModel.GaCode2))
{
<script>

@*(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

ga('create', '@Model.SiteModel.GaCode2.Trim()', 'auto');
ga('require', 'displayfeatures');

var referrer = document.referrer;
window.logThis = function() {
var url = window.location.protocol + '//' + window.location.hostname + window.location.pathname + window.location.search;
if (url == referrer) return;
ga('set', 'referrer', referrer);
if (window.console && window.console.log) console.log('page view ' + url);
ga('send', {
'hitType': 'pageview',
'page': url,
'title': document.title
});
referrer = url;
};*@
</script>
}
else
{
<div id="notfound"></div>
}
</body>
</html>

Compilation Source:
//------------------------------------------------------------------------------
Line 1: // <auto-generated>
Line 2: // This code was generated by a tool.
Line 3: // Runtime Version:4.0.30319.18063
Line 4: //
Line 5: // Changes to this file may cause incorrect behavior and will be lost if
Line 6: // the code is regenerated.
Line 7: // </auto-generated>
Line 8: //------------------------------------------------------------------------------
Line 9:
Line 10: namespace RazorOutput {
Line 11: using Microsoft.CSharp.RuntimeBinder;
Line 12: using System;
Line 13: using System.IO;
Line 14:
Line 15: #line 3 "roo"
Line 16: using Cassette.Nancy;
Line 17:
Line 18: #line default
Line 19: #line hidden
Line 20: using System.Web;
Line 21:
Line 22: #line 2 "roo"
Line 23: using System.Linq;
Line 24:
Line 25: #line default
Line 26: #line hidden
Line 27:
Line 28: #line 4 "roo"
Line 29: using Common;
Line 30:
Line 31: #line default
Line 32: #line hidden
Line 33:
Line 34: #line 5 "roo"
Line 35: using Website;
Line 36:
Line 37: #line default
Line 38: #line hidden
Line 39:
Line 40: #line 6 "roo"
Line 41: using Website.Models;
Line 42:
Line 43: #line default
Line 44: #line hidden
Line 45:
Line 46:
Line 47: public class RazorView : Nancy.ViewEngines.Razor.NancyRazorViewBase<Website.Models.IPageModel> {
Line 48:
Line 49: #line hidden
Line 50:
Line 51: public RazorView() {
Line 52: }
Line 53:
Line 54: public override void Execute() {
Line 55:
Line 56: #line 7 "roo"
Line 57:
Line 58: Bundles.Reference("Stylesheets");
Line 59: Bundles.Reference("Scripts");
Line 60:
Line 61:
Line 62: #line default
Line 63: #line hidden
Line 64: WriteLiteral("\r\n<!DOCTYPE html>\r\n<html");
Line 65:
Line 66: WriteLiteral(" style=\"background-attachment:fixed;margin:0;padding:0;min-height:100%\"");
Line 67:
Line 68: WriteLiteral(">\r\n<head");
Line 69:
Line 70: WriteLiteral(" prefix=\"og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#\"");
Line 71:
Line 72: WriteLiteral(">\r\n <title>Sail World - ");
Line 73:
Line 74:
Line 75: #line 14 "roo"
Line 76: Write(string.IsNullOrEmpty(ViewBag.TitleTag) ? "The Worlds largest sailing news network: Sail and sailing, cruising, boating news" : ViewBag.TitleTag);
Line 77:
Line 78:
Line 79: #line default
Line 80: #line hidden
Line 81: WriteLiteral("</title>\r\n <meta");
Line 82:
Line 83: WriteLiteral(" http-equiv=\"Content-Type\"");
Line 84:
Line 85: WriteLiteral(" content=\"text/html; charset=utf-8 \"");
Line 86:
Line 87: WriteLiteral(">\r\n <meta");
Line 88:
Line 89: WriteLiteral(" name=\"description\"");
Line 90:
Line 91: WriteLiteral(" content=\"Sail boats, sailors, yachts, yachting, boats, boating Australia, New Ze" +
Line 92: "aland, Asia Pacific. Regatta, racing news, offshore, inshore sail boat racing. " +
Line 93: "\"");
Line 94:
Line 95: WriteLiteral(">\r\n <meta");
Line 96:
Line 97: WriteLiteral(" name=\"keywords\"");
Line 98:
Line 99: WriteLiteral(@" content=""boating and sailing directory,sailing associations au,sailing websites,sail-world,Sailing,Website,News,Events,GPS,Companies,Associations,Clubs,Schools,Yachts,International,Race,Regatta,Pictures,Sail,World,australian sailing news,marine weather,sailing schools,sailing clubs,sailing associations,sydney harbour cruise,cruise sydney harbour, gps, solo sailing, marine weather, marine weather forecast, marine weather forcast, marine weather report, marine weather forcasts, weather marine, interactive marine weather, coastal marine weather forcast, real time marine weather, marine weather services, marine weather service, sailing associations, bluewater sailing associations, yacht clubs, royal yacht clubs, national yacht clubs""");
Line 100:
Line 101: WriteLiteral(">\r\n");
Line 102:
Line 103: WriteLiteral(" ");
Line 104:
Line 105:
Line 106: #line 18 "roo"
Line 107: Write(Bundles.RenderStylesheets());
Line 108:
Line 109:
Line 110: #line default
Line 111: #line hidden
Line 112: WriteLiteral("\r\n\r\n <meta");
Line 113:
Line 114: WriteLiteral(" name=\"verify-v1\"");
Line 115:
Line 116: WriteLiteral(" content=\"5Rh/Ooka7Qsp4jPbWfilRe98XxSLhjMbiDzTySubn1g=\"");
Line 117:
Line 118: WriteLiteral(" />\r\n <meta");
Line 119:
Line 120: WriteLiteral(" name=\"ROBOTS\"");
Line 121:
Line 122: WriteLiteral(" content=\"ALL\"");
Line 123:
Line 124: WriteLiteral(">\r\n <meta");
Line 125:
Line 126: WriteLiteral(" name=\"viewport\"");
Line 127:
Line 128: WriteLiteral(" content=\"width=1044\"");
Line 129:
Line 130: WriteLiteral(">\r\n\r\n ");
Line 131:
Line 132: WriteLiteral("\r\n <meta");
Line 133:
Line 134: WriteLiteral(" name=\"google-translate-customization\"");
Line 135:
Line 136: WriteLiteral(" content=\"c6069851c2c4d339-f960d9979d059502-gd55453517b75144e-12\"");
Line 137:
Line 138: WriteLiteral(" />\r\n <link");
Line 139:
Line 140: WriteLiteral(" rel=\"shortcut icon\"");
Line 141:
Line 142: WriteLiteral(" type=\"image/x-icon\"");
Line 143:
Line 144: WriteLiteral(" href=\"/images/favicon.ico\"");
Line 145:
Line 146: WriteLiteral(">\r\n <link");
Line 147:
Line 148: WriteLiteral(" rel=\"apple-touch-icon\"");
Line 149:
Line 150: WriteLiteral(" href=\"/images/apple-touch-icon-precomposed.png\"");
Line 151:
Line 152: WriteLiteral(" />\r\n <link");
Line 153:
Line 154: WriteLiteral(" rel=\"apple-touch-startup-image\"");
Line 155:
Line 156: WriteLiteral(" href=\"/images/apple-touch-icon-precomposed.png\"");
Line 157:
Line 158: WriteLiteral(">\r\n <meta");
Line 159:
Line 160: WriteLiteral(" name=\"apple-mobile-web-app-capable\"");
Line 161:
Line 162: WriteLiteral(" content=\"yes\"");
Line 163:
Line 164: WriteLiteral(" />\r\n <meta");
Line 165:
Line 166: WriteLiteral(" name=\"apple-mobile-web-app-status-bar-style\"");
Line 167:
Line 168: WriteLiteral(" content=\"black\"");
Line 169:
Line 170: WriteLiteral(" />\r\n <meta");
Line 171:
Line 172: WriteLiteral(" property=\"og:title\"");
Line 173:
Line 174: WriteAttribute("content", Tuple.Create(" content=\"", 2508), Tuple.Create("\"", 2530)
Line 175:
Line 176: #line 31 "roo"
Line 177: , Tuple.Create(Tuple.Create("", 2518), Tuple.Create<System.Object, System.Int32>(Model.Title
Line 178:
Line 179: #line default
Line 180: #line hidden
Line 181: , 2518), false)
Line 182: );
Line 183:
Line 184: WriteLiteral(" />\r\n <meta");
Line 185:
Line 186: WriteLiteral(" property=\"og:type\"");
Line 187:
Line 188: WriteLiteral(" content=\"website\"");
Line 189:
Line 190: WriteLiteral(" />\r\n <meta");
Line 191:
Line 192: WriteLiteral(" property=\"og:url\"");
Line 193:
Line 194: WriteAttribute("content", Tuple.Create(" content=\"", 2614), Tuple.Create("\"", 2663)
Line 195:
Line 196: #line 33 "roo"
Line 197: , Tuple.Create(Tuple.Create("", 2624), Tuple.Create<System.Object, System.Int32>(Model.SiteModel.Url.HostName
Line 198:
Line 199: #line default
Line 200: #line hidden
Line 201: , 2624), false)
Line 202:
Line 203: #line 33 "roo"
Line 204: , Tuple.Create(Tuple.Create("", 2653), Tuple.Create<System.Object, System.Int32>(Model.Url
Line 205:
Line 206: #line default
Line 207: #line hidden
Line 208: , 2653), false)
Line 209: );
Line 210:
Line 211: WriteLiteral(" />\r\n");
Line 212:
Line 213:
Line 214: #line 34 "roo"
Line 215:
Line 216:
Line 217: #line default
Line 218: #line hidden
Line 219:
Line 220: #line 34 "roo"
Line 221:
Line 222: var image = "http://" + Model.SiteModel.Url.HostName + ((Model is IArticlesModel && ((IArticlesModel)Model).Item != null) ? ((IArticlesModel)Model).Item.GetImageUrl(0, 250, 250) : "/images/SW_Squarelogo2.gif");
Line 223:
Line 224:
Line 225: #line default
Line 226: #line hidden
Line 227: WriteLiteral("\r\n <meta");
Line 228:
Line 229: WriteLiteral(" property=\"og:image\"");
Line 230:
Line 231: WriteAttribute("content", Tuple.Create(" content=\"", 2933), Tuple.Create("\"", 2949)
Line 232:
Line 233: #line 37 "roo"
Line 234: , Tuple.Create(Tuple.Create("", 2943), Tuple.Create<System.Object, System.Int32>(image
Line 235:
Line 236: #line default
Line 237: #line hidden
Line 238: , 2943), false)
Line 239: );
Line 240:
Line 241: WriteLiteral(" />\r\n <link");
Line 242:
Line 243: WriteLiteral(" rel=\"image_src\"");
Line 244:
Line 245: WriteAttribute("href", Tuple.Create(" href=\"", 2980), Tuple.Create("\"", 2993)
Line 246:
Line 247: #line 38 "roo"
Line 248: , Tuple.Create(Tuple.Create("", 2987), Tuple.Create<System.Object, System.Int32>(image
Line 249:
Line 250: #line default
Line 251: #line hidden
Line 252: , 2987), false)
Line 253: );
Line 254:
Line 255: WriteLiteral(" />\r\n <meta");
Line 256:
Line 257: WriteLiteral(" property=\"og:site_name\"");
Line 258:
Line 259: WriteLiteral(" content=\"Sail-World.com\"");
Line 260:
Line 261: WriteLiteral(" />\r\n <meta");
Line 262:
Line 263: WriteLiteral(" property=\"og:description\"");
Line 264:
Line 265: WriteAttribute("content", Tuple.Create(" content=\"", 3097), Tuple.Create("\"", 3236)
Line 266:
Line 267: #line 40 "roo"
Line 268: , Tuple.Create(Tuple.Create("", 3107), Tuple.Create<System.Object, System.Int32>(Model is IArticlesModel && ((IArticlesModel)Model).Item != null ? ((IArticlesModel)Model).Item.ShortDescription : @Model.Title
Line 269:
Line 270: #line default
Line 271: #line hidden
Line 272: , 3107), false)
Line 273: );
Line 274:
Line 275: WriteLiteral(" />\r\n <style");
Line 276:
Line 277: WriteLiteral(" id=\"configStyles\"");
Line 278:
Line 279: WriteLiteral(">");
Line 280:
Line 281:
Line 282: #line 41 "roo"
Line 283: Write(Html.Raw(Model.GetThemeStyles()));
Line 284:
Line 285:
Line 286: #line default
Line 287: #line hidden
Line 288: WriteLiteral("</style>\r\n</head>\r\n<body");
Line 289:
Line 290: WriteLiteral(" style=\"background-attachment:fixed;margin:0;padding:0;min-height:100%\"");
Line 291:
Line 292: WriteLiteral(">\r\n\r\n");
Line 293:
Line 294:
Line 295: #line 45 "roo"
Line 296:
Line 297:
Line 298: #line default
Line 299: #line hidden
Line 300:
Line 301: #line 45 "roo"
Line 302:
Line 303: var announcement = Ioc.Get<Settings>().Get("Announcement");
Line 304: if (!string.IsNullOrWhiteSpace(announcement))
Line 305: {
Line 306:
Line 307:
Line 308: #line default
Line 309: #line hidden
Line 310: WriteLiteral(" <div");
Line 311:
Line 312: WriteLiteral(" id=\"announcement\"");
Line 313:
Line 314: WriteLiteral(">");
Line 315:
Line 316:
Line 317: #line 49 "roo"
Line 318: Write(Html.Raw(announcement));
Line 319:
Line 320:
Line 321: #line default
Line 322: #line hidden
Line 323: WriteLiteral("</div>\r\n");
Line 324:
Line 325:
Line 326: #line 50 "roo"
Line 327: }
Line 328:
Line 329:
Line 330: #line default
Line 331: #line hidden
Line 332: WriteLiteral("\r\n\r\n");
Line 333:
Line 334:
Line 335: #line 53 "roo"
Line 336:
Line 337:
Line 338: #line default
Line 339: #line hidden
Line 340:
Line 341: #line 53 "roo"
Line 342: if (@Html.IsAuthenticated)
Line 343: {
Line 344:
Line 345:
Line 346: #line default
Line 347: #line hidden
Line 348: WriteLiteral(" <div");
Line 349:
Line 350: WriteLiteral(" id=\"signedIn\"");
Line 351:
Line 352: WriteLiteral(">Logged in as <span");
Line 353:
Line 354: WriteLiteral(" class=\"username\"");
Line 355:
Line 356: WriteLiteral(">");
Line 357:
Line 358:
Line 359: #line 55 "roo"
Line 360: Write(Html.CurrentUser.UserName);
Line 361:
Line 362:
Line 363: #line default
Line 364: #line hidden
Line 365: WriteLiteral("</span>. <a");
Line 366:
Line 367: WriteLiteral(" href=\"/account/logout\"");
Line 368:
Line 369: WriteLiteral(" id=\"signout\"");
Line 370:
Line 371: WriteLiteral(">Logout</a></div>\r\n");
Line 372:
Line 373:
Line 374: #line 56 "roo"
Line 375: }
Line 376:
Line 377:
Line 378: #line default
Line 379: #line hidden
Line 380: WriteLiteral(" <div");
Line 381:
Line 382: WriteLiteral(" id=\"page\"");
Line 383:
Line 384: WriteLiteral(">\r\n\r\n <header>\r\n <div");
Line 385:
Line 386: WriteLiteral(" id=\"header\"");
Line 387:
Line 388: WriteLiteral(">\r\n");
Line 389:
Line 390:
Line 391: #line 61 "roo"
Line 392:
Line 393:
Line 394: #line default
Line 395: #line hidden
Line 396:
Line 397: #line 61 "roo"
Line 398:
Line 399: if (!string.IsNullOrEmpty(ViewBag.NewsOption) && ViewBag.NewsOption == "comp")
Line 400: {
Line 401:
Line 402:
Line 403: #line default
Line 404: #line hidden
Line 405: WriteLiteral(" <center>");
Line 406:
Line 407:
Line 408: #line 64 "roo"
Line 409: Write(Html.Raw(ViewBag.News_Header));
Line 410:
Line 411:
Line 412: #line default
Line 413: #line hidden
Line 414: WriteLiteral("</center>\r\n");
Line 415:
Line 416:
Line 417: #line 65 "roo"
Line 418: }
Line 419: else
Line 420: {
Line 421:
Line 422:
Line 423: #line default
Line 424: #line hidden
Line 425: WriteLiteral(" <a");
Line 426:
Line 427: WriteLiteral(" id=\"bannerSW201506\"");
Line 428:
Line 429: WriteAttribute("style", Tuple.Create(" style=\"", 4237), Tuple.Create("\"", 4293)
Line 430: , Tuple.Create(Tuple.Create("", 4245), Tuple.Create("background-image:url(", 4245), true)
Line 431:
Line 432: #line 68 "roo"
Line 433: , Tuple.Create(Tuple.Create("", 4266), Tuple.Create<System.Object, System.Int32>("" + @Model.BannerImage
Line 434:
Line 435: #line default
Line 436: #line hidden
Line 437: , 4266), false)
Line 438: , Tuple.Create(Tuple.Create("", 4292), Tuple.Create(")", 4292), true)
Line 439: );
Line 440:
Line 441: WriteLiteral(" data-rotation-type=\"3\"");
Line 442:
Line 443: WriteLiteral(" data-rotation-id=\"-1\"");
Line 444:
Line 445: WriteLiteral(" target=\"_blank\"");
Line 446:
Line 447: WriteLiteral("></a>\r\n");
Line 448:
Line 449: WriteLiteral(" <a");
Line 450:
Line 451: WriteAttribute("href", Tuple.Create(" href=\"", 4384), Tuple.Create("\"", 4402)
Line 452:
Line 453: #line 69 "roo"
Line 454: , Tuple.Create(Tuple.Create("", 4391), Tuple.Create<System.Object, System.Int32>(Model.Path
Line 455:
Line 456: #line default
Line 457: #line hidden
Line 458: , 4391), false)
Line 459: );
Line 460:
Line 461: WriteLiteral(" class=\"link\"");
Line 462:
Line 463: WriteLiteral(" id=\"logo\"");
Line 464:
Line 465: WriteAttribute("style", Tuple.Create(" style=\"", 4426), Tuple.Create("\"", 4508)
Line 466: , Tuple.Create(Tuple.Create("", 4434), Tuple.Create("background-image:", 4434), true)
Line 467: , Tuple.Create(Tuple.Create(" ", 4451), Tuple.Create("url(", 4452), true)
Line 468:
Line 469: #line 69 "roo"
Line 470: , Tuple.Create(Tuple.Create("", 4456), Tuple.Create<System.Object, System.Int32>("/photo/270/46/" + Model.HostPath + "/logo.png"
Line 471:
Line 472: #line default
Line 473: #line hidden
Line 474: , 4456), false)
Line 475: , Tuple.Create(Tuple.Create("", 4506), Tuple.Create(");", 4506), true)
Line 476: );
Line 477:
Line 478: WriteLiteral("></a>\r\n");
Line 479:
Line 480: WriteLiteral(" <input");
Line 481:
Line 482: WriteLiteral(" id=\"search\"");
Line 483:
Line 484: WriteLiteral(" type=\"text\"");
Line 485:
Line 486: WriteAttribute("value", Tuple.Create(" value=\"", 4566), Tuple.Create("\"", 4587)
Line 487:
Line 488: #line 70 "roo"
Line 489: , Tuple.Create(Tuple.Create("", 4574), Tuple.Create<System.Object, System.Int32>(Model.Search
Line 490:
Line 491: #line default
Line 492: #line hidden
Line 493: , 4574), false)
Line 494: );
Line 495:
Line 496: WriteLiteral(" />\r\n");
Line 497:
Line 498:
Line 499: #line 71 "roo"
Line 500: }
Line 501:
Line 502:
Line 503: #line default
Line 504: #line hidden
Line 505: WriteLiteral("\r\n </div>\r\n");
Line 506:
Line 507:
Line 508: #line 74 "roo"
Line 509:
Line 510:
Line 511: #line default
Line 512: #line hidden
Line 513:
Line 514: #line 74 "roo"
Line 515:
Line 516: if (!string.IsNullOrEmpty(ViewBag.NewsOption) && ViewBag.NewsOption == "comp")
Line 517: {
Line 518:
Line 519:
Line 520: #line default
Line 521: #line hidden
Line 522:
Line 523: #line 77 "roo"
Line 524: Write(Html.Raw(""));
Line 525:
Line 526:
Line 527: #line default
Line 528: #line hidden
Line 529:
Line 530: #line 77 "roo"
Line 531: ;
Line 532: }
Line 533: else
Line 534: {
Line 535:
Line 536:
Line 537: #line default
Line 538: #line hidden
Line 539:
Line 540: #line 81 "roo"
Line 541: Write(Html.Partial("navigation", Model));
Line 542:
Line 543:
Line 544: #line default
Line 545: #line hidden
Line 546:
Line 547: #line 81 "roo"
Line 548:
Line 549: }
Line 550:
Line 551:
Line 552: #line default
Line 553: #line hidden
Line 554: WriteLiteral("\r\n </header>\r\n <div");
Line 555:
Line 556: WriteLiteral(" class=\"container-outer\"");
Line 557:
Line 558: WriteLiteral(">\r\n <div");
Line 559:
Line 560: WriteLiteral(" class=\"container-inner\"");
Line 561:
Line 562: WriteLiteral(">\r\n");
Line 563:
Line 564:
Line 565: #line 87 "roo"
Line 566:
Line 567:
Line 568: #line default
Line 569: #line hidden
Line 570:
Line 571: #line 87 "roo"
Line 572:
Line 573: if (!string.IsNullOrEmpty(ViewBag.NewsOption) && ViewBag.NewsOption == "comp")
Line 574: {
Line 575:
Line 576:
Line 577: #line default
Line 578: #line hidden
Line 579: WriteLiteral(" <style>\r\n #content\r\n " +
Line 580: " {\r\n width:100% !important;\r\n " +
Line 581: " }\r\n </style>\r\n");
Line 582:
Line 583:
Line 584: #line 96 "roo"
Line 585: }
Line 586:
Line 587:
Line 588: #line default
Line 589: #line hidden
Line 590: WriteLiteral("\r\n <section");
Line 591:
Line 592: WriteLiteral(" id=\"content\"");
Line 593:
Line 594: WriteLiteral(">\r\n <div");
Line 595:
Line 596: WriteLiteral(" id=\"contentReplace\"");
Line 597:
Line 598: WriteLiteral(">\r\n");
Line 599:
Line 600:
Line 601: #line 100 "roo"
Line 602:
Line 603:
Line 604: #line default
Line 605: #line hidden
Line 606:
Line 607: #line 100 "roo"
Line 608: if (!Ioc.Get<SiteStartingMonitor>().IsReady)
Line 609: {
Line 610:
Line 611:
Line 612: #line default
Line 613: #line hidden
Line 614: WriteLiteral(" <div");
Line 615:
Line 616: WriteLiteral(" id=\"notReady\"");
Line 617:
Line 618: WriteLiteral(">We are currently performing updates to our site. Please check back in a few min" +
Line 619: "utes.</div>\r\n");
Line 620:
Line 621: WriteLiteral(" <script>\r\n");
Line 622:
Line 623: WriteLiteral(" ");
Line 624:
Line 625:
Line 626: #line 104 "roo"
Line 627: Write(Html.Partial("settings", Model));
Line 628:
Line 629:
Line 630: #line default
Line 631: #line hidden
Line 632: WriteLiteral("\r\n window.searchText = \"\";\r\n " +
Line 633: " </script>\r\n");
Line 634:
Line 635:
Line 636: #line 107 "roo"
Line 637: }
Line 638: else
Line 639: {
Line 640:
Line 641:
Line 642: #line default
Line 643: #line hidden
Line 644:
Line 645: #line 110 "roo"
Line 646: Write(RenderBody());
Line 647:
Line 648:
Line 649: #line default
Line 650: #line hidden
Line 651:
Line 652: #line 110 "roo"
Line 653:
Line 654: }
Line 655:
Line 656:
Line 657: #line default
Line 658: #line hidden
Line 659: WriteLiteral(@" <!---else if (Ioc.Get<SiteStartingMonitor>().EmergencyMode)
Line 660: {
Line 661: <div id=""notReady"">Some parts of this site are under maintenance, check back in 4 hours to access this area. If you are on a PC system, you can refresh the page by hitting Shift F5, or on an Apple Mac Fn + F5 </div>
Line 662: Ioc.Get<SiteStartingMonitor>().EmergencyMode=false;
Line 663: }--->
Line 664: </div>
Line 665: ");
Line 666:
Line 667:
Line 668: #line 118 "roo"
Line 669:
Line 670:
Line 671: #line default
Line 672: #line hidden
Line 673:
Line 674: #line 118 "roo"
Line 675:
Line 676: if (!string.IsNullOrEmpty(ViewBag.NewsOption) && ViewBag.NewsOption == "comp")
Line 677: {
Line 678:
Line 679:
Line 680: #line default
Line 681: #line hidden
Line 682:
Line 683: #line 121 "roo"
Line 684: Write(Html.Raw(""));
Line 685:
Line 686:
Line 687: #line default
Line 688: #line hidden
Line 689:
Line 690: #line 121 "roo"
Line 691:
Line 692: }
Line 693: else
Line 694: {
Line 695:
Line 696:
Line 697: #line default
Line 698: #line hidden
Line 699: WriteLiteral(" <div");
Line 700:
Line 701: WriteLiteral(" id=\"searchSW201506\"");
Line 702:
Line 703: WriteLiteral("></div>");
Line 704:
Line 705: WriteLiteral("<div");
Line 706:
Line 707: WriteLiteral(" class=\"wideRotation300x250x1\"");
Line 708:
Line 709: WriteLiteral("></div>\r\n");
Line 710:
Line 711: WriteLiteral(" <div");
Line 712:
Line 713: WriteLiteral(" id=\"layoutArticlesList\"");
Line 714:
Line 715: WriteLiteral(" style=\"display:none;\"");
Line 716:
Line 717: WriteLiteral("></div>\r\n");
Line 718:
Line 719:
Line 720: #line 127 "roo"
Line 721: }
Line 722:
Line 723:
Line 724: #line default
Line 725: #line hidden
Line 726: WriteLiteral("\r\n </section>\r\n");
Line 727:
Line 728:
Line 729: #line 130 "roo"
Line 730:
Line 731:
Line 732: #line default
Line 733: #line hidden
Line 734:
Line 735: #line 130 "roo"
Line 736:
Line 737: if (!string.IsNullOrEmpty(ViewBag.NewsOption) && ViewBag.NewsOption == "comp")
Line 738: {
Line 739:
Line 740:
Line 741: #line default
Line 742: #line hidden
Line 743:
Line 744: #line 133 "roo"
Line 745: Write(Html.Raw(""));
Line 746:
Line 747:
Line 748: #line default
Line 749: #line hidden
Line 750:
Line 751: #line 133 "roo"
Line 752:
Line 753: }
Line 754: else
Line 755: {
Line 756:
Line 757:
Line 758: #line default
Line 759: #line hidden
Line 760: WriteLiteral(" <section");
Line 761:
Line 762: WriteLiteral(" id=\"sidebar\"");
Line 763:
Line 764: WriteLiteral(">\r\n <div");
Line 765:
Line 766: WriteLiteral(" id=\"sidebarSW201506\"");
Line 767:
Line 768: WriteLiteral("></div>\r\n </section>\r\n");
Line 769:
Line 770:
Line 771: #line 140 "roo"
Line 772: }
Line 773:
Line 774:
Line 775: #line default
Line 776: #line hidden
Line 777: WriteLiteral("\r\n \r\n </div>\r\n </div>\r\n");
Line 778:
Line 779:
Line 780: #line 145 "roo"
Line 781:
Line 782:
Line 783: #line default
Line 784: #line hidden
Line 785:
Line 786: #line 145 "roo"
Line 787:
Line 788: if (!string.IsNullOrEmpty(ViewBag.NewsOption) && ViewBag.NewsOption == "comp")
Line 789: {
Line 790:
Line 791:
Line 792: #line default
Line 793: #line hidden
Line 794: WriteLiteral(" <footer>\r\n");
Line 795:
Line 796: WriteLiteral(" ");
Line 797:
Line 798:
Line 799: #line 149 "roo"
Line 800: Write(Html.Raw(ViewBag.News_Footer));
Line 801:
Line 802:
Line 803: #line default
Line 804: #line hidden
Line 805: WriteLiteral("\r\n </footer>\r\n");
Line 806:
Line 807:
Line 808: #line 151 "roo"
Line 809: }
Line 810: else
Line 811: {
Line 812:
Line 813:
Line 814: #line default
Line 815: #line hidden
Line 816:
Line 817: #line 154 "roo"
Line 818: Write(Html.Partial("footer", Model));
Line 819:
Line 820:
Line 821: #line default
Line 822: #line hidden
Line 823:
Line 824: #line 154 "roo"
Line 825:
Line 826:
Line 827:
Line 828: #line default
Line 829: #line hidden
Line 830:
Line 831: #line 155 "roo"
Line 832: Write(Html.Partial("cookieAgreement", Model));
Line 833:
Line 834:
Line 835: #line default
Line 836: #line hidden
Line 837:
Line 838: #line 155 "roo"
Line 839:
Line 840: }
Line 841:
Line 842:
Line 843: #line default
Line 844: #line hidden
Line 845: WriteLiteral(" \r\n </div>\r\n\r\n <script>\r\n window.configItems = ");
Line 846:
Line 847:
Line 848: #line 161 "roo"
Line 849: Write(Html.Raw(Model.GetThemeOptions()));
Line 850:
Line 851:
Line 852: #line default
Line 853: #line hidden
Line 854: WriteLiteral(";\r\n window.configPresets = ");
Line 855:
Line 856:
Line 857: #line 162 "roo"
Line 858: Write(Html.Raw(Model.GetThemes()));
Line 859:
Line 860:
Line 861: #line default
Line 862: #line hidden
Line 863: WriteLiteral(";\r\n </script>\r\n");
Line 864:
Line 865: WriteLiteral(" ");
Line 866:
Line 867:
Line 868: #line 164 "roo"
Line 869: Write(Bundles.RenderScripts());
Line 870:
Line 871:
Line 872: #line default
Line 873: #line hidden
Line 874: WriteLiteral("\r\n");
Line 875:
Line 876:
Line 877: #line 165 "roo"
Line 878:
Line 879:
Line 880: #line default
Line 881: #line hidden
Line 882:
Line 883: #line 165 "roo"
Line 884: if (!string.IsNullOrWhiteSpace(Model.SiteModel.GTACode))
Line 885: {
Line 886:
Line 887:
Line 888: #line default
Line 889: #line hidden
Line 890: WriteLiteral(" <!-- Google Tag Manager -->\r\n");
Line 891:
Line 892: WriteLiteral(@" <script>
Line 893: (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push(
Line 894: {'gtm.start': new Date().getTime(),event:'gtm.js'}
Line 895: );var f=d.getElementsByTagName(s)[0],
Line 896: j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
Line 897: '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
Line 898: })(window,document,'script','dataLayer','");
Line 899:
Line 900:
Line 901: #line 174 "roo"
Line 902: Write(Model.SiteModel.GTACode);
Line 903:
Line 904:
Line 905: #line default
Line 906: #line hidden
Line 907: WriteLiteral("\'); //GTM-KGQ82Z //GTM-M83TVM\r\n </script>\r\n");
Line 908:
Line 909: WriteLiteral(" <noscript>\r\n <iframe");
Line 910:
Line 911: WriteAttribute("src", Tuple.Create(" src=\"", 8989), Tuple.Create("\"", 9057)
Line 912: , Tuple.Create(Tuple.Create("", 8995), Tuple.Create("//www.googletagmanager.com/ns.html?id=", 8995), true)
Line 913:
Line 914: #line 177 "roo"
Line 915: , Tuple.Create(Tuple.Create("", 9033), Tuple.Create<System.Object, System.Int32>(Model.SiteModel.GTACode
Line 916:
Line 917: #line default
Line 918: #line hidden
Line 919: , 9033), false)
Line 920: );
Line 921:
Line 922: WriteLiteral("\r\n height=\"0\"");
Line 923:
Line 924: WriteLiteral(" width=\"0\"");
Line 925:
Line 926: WriteLiteral(" style=\"display:none;visibility:hidden\"");
Line 927:
Line 928: WriteLiteral("></iframe>\r\n </noscript>\r\n");
Line 929:
Line 930:
Line 931: #line 180 "roo"
Line 932:
Line 933:
Line 934:
Line 935: #line default
Line 936: #line hidden
Line 937: WriteLiteral(" <!-- End Google Tag Manager -->\r\n");
Line 938:
Line 939:
Line 940: #line 182 "roo"
Line 941: }
Line 942: else
Line 943: {
Line 944:
Line 945:
Line 946: #line default
Line 947: #line hidden
Line 948: WriteLiteral(" <div");
Line 949:
Line 950: WriteLiteral(" id=\"gtacodenotfound\"");
Line 951:
Line 952: WriteLiteral("></div>\r\n");
Line 953:
Line 954:
Line 955: #line 186 "roo"
Line 956: }
Line 957:
Line 958:
Line 959: #line default
Line 960: #line hidden
Line 961: WriteLiteral(" ");
Line 962:
Line 963:
Line 964: #line 187 "roo"
Line 965: if (!string.IsNullOrWhiteSpace(Model.SiteModel.GaCode2))
Line 966: {
Line 967:
Line 968:
Line 969: #line default
Line 970: #line hidden
Line 971: WriteLiteral(" <script>\r\n\r\n ");
Line 972:
Line 973: WriteLiteral("\r\n </script>\r\n");
Line 974:
Line 975:
Line 976: #line 220 "roo"
Line 977: }
Line 978: else
Line 979: {
Line 980:
Line 981:
Line 982: #line default
Line 983: #line hidden
Line 984: WriteLiteral(" <div");
Line 985:
Line 986: WriteLiteral(" id=\"notfound\"");
Line 987:
Line 988: WriteLiteral("></div>\r\n");
Line 989:
Line 990:
Line 991: #line 224 "roo"
Line 992: }
Line 993:
Line 994:
Line 995: #line default
Line 996: #line hidden
Line 997: WriteLiteral("</body>\r\n</html>\r\n");
Line 998:
Line 999: }
Line 1000: }
Line 1001: }
Line 1002: