Line 1: #pragma checksum "C:\Inetpub\vhosts\cross-hills.org.uk\httpdocs\Views\GeneralPage.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B3E55FF22B2CFE8A4F3C4B22852DA50F67B51015"
Line 2: //------------------------------------------------------------------------------
Line 3: // <auto-generated>
Line 4: // This code was generated by a tool.
Line 5: // Runtime Version:4.0.30319.42000
Line 6: //
Line 7: // Changes to this file may cause incorrect behavior and will be lost if
Line 8: // the code is regenerated.
Line 9: // </auto-generated>
Line 10: //------------------------------------------------------------------------------
Line 11:
Line 12: namespace ASP {
Line 13: using System;
Line 14: using System.Collections.Generic;
Line 15: using System.IO;
Line 16: using System.Linq;
Line 17: using System.Net;
Line 18: using System.Web;
Line 19: using System.Web.Helpers;
Line 20: using System.Web.Security;
Line 21: using System.Web.UI;
Line 22: using System.Web.WebPages;
Line 23: using System.Web.Mvc;
Line 24: using System.Web.Mvc.Ajax;
Line 25: using System.Web.Mvc.Html;
Line 26: using System.Web.Routing;
Line 27: using Umbraco.Web;
Line 28: using Umbraco.Core;
Line 29: using Umbraco.Core.Models;
Line 30: using Umbraco.Web.Mvc;
Line 31: using umbraco;
Line 32: using Examine;
Line 33: using Umbraco.Web.PublishedContentModels;
Line 34:
Line 35: #line 2 "C:\Inetpub\vhosts\cross-hills.org.uk\httpdocs\Views\GeneralPage.cshtml"
Line 36: using ContentModels = Umbraco.Web.PublishedContentModels;
Line 37:
Line 38: #line default
Line 39: #line hidden
Line 40:
Line 41:
Line 42: public class _Page_Views_GeneralPage_cshtml : Umbraco.Web.Mvc.UmbracoTemplatePage<ContentModels.GeneralPage> {
Line 43:
Line 44: #line hidden
Line 45:
Line 46: public _Page_Views_GeneralPage_cshtml() {
Line 47: }
Line 48:
Line 49: protected ASP.global_asax ApplicationInstance {
Line 50: get {
Line 51: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 52: }
Line 53: }
Line 54:
Line 55: public override void Execute() {
Line 56:
Line 57: #line 3 "C:\Inetpub\vhosts\cross-hills.org.uk\httpdocs\Views\GeneralPage.cshtml"
Line 58:
Line 59: Layout = "Master.cshtml";
Line 60:
Line 61:
Line 62:
Line 63: #line default
Line 64: #line hidden
Line 65: WriteLiteral("\r\n\r\n");
Line 66:
Line 67:
Line 68: #line 8 "C:\Inetpub\vhosts\cross-hills.org.uk\httpdocs\Views\GeneralPage.cshtml"
Line 69:
Line 70:
Line 71: #line default
Line 72: #line hidden
Line 73:
Line 74: #line 8 "C:\Inetpub\vhosts\cross-hills.org.uk\httpdocs\Views\GeneralPage.cshtml"
Line 75: if(Model.Content.HasValue("bannerBackground")){
Line 76: var img=Umbraco.TypedMedia(Model.Content.GetPropertyValue<IPublishedContent>("bannerBackground").Id);
Line 77:
Line 78:
Line 79: #line default
Line 80: #line hidden
Line 81: WriteLiteral(" <div");
Line 82:
Line 83: WriteLiteral(" class=\"banner-page\"");
Line 84:
Line 85: WriteAttribute("style", Tuple.Create(" style=\'", 391), Tuple.Create("\'", 448)
Line 86: , Tuple.Create(Tuple.Create("", 399), Tuple.Create("background-image:", 399), true)
Line 87: , Tuple.Create(Tuple.Create(" ", 416), Tuple.Create("url(", 417), true)
Line 88:
Line 89: #line 10 "C:\Inetpub\vhosts\cross-hills.org.uk\httpdocs\Views\GeneralPage.cshtml"
Line 90: , Tuple.Create(Tuple.Create("", 421), Tuple.Create<System.Object, System.Int32>(img.GetCropUrl(1349,300)
Line 91:
Line 92: #line default
Line 93: #line hidden
Line 94: , 421), false)
Line 95: , Tuple.Create(Tuple.Create("", 446), Tuple.Create(");", 446), true)
Line 96: );
Line 97:
Line 98: WriteLiteral(">\r\n \r\n");
Line 99:
Line 100:
Line 101: #line 12 "C:\Inetpub\vhosts\cross-hills.org.uk\httpdocs\Views\GeneralPage.cshtml"
Line 102:
Line 103:
Line 104: #line default
Line 105: #line hidden
Line 106:
Line 107: #line 12 "C:\Inetpub\vhosts\cross-hills.org.uk\httpdocs\Views\GeneralPage.cshtml"
Line 108: if (Model.Content.GetPropertyValue<bool>("displayPageTitle"))
Line 109: {
Line 110:
Line 111:
Line 112: #line default
Line 113: #line hidden
Line 114: WriteLiteral(" <div");
Line 115:
Line 116: WriteLiteral(" class=\"banner-overlay\"");
Line 117:
Line 118: WriteLiteral(">\r\n <div");
Line 119:
Line 120: WriteLiteral(" class=\"container\"");
Line 121:
Line 122: WriteLiteral(">\r\n <h1>");
Line 123:
Line 124:
Line 125: #line 16 "C:\Inetpub\vhosts\cross-hills.org.uk\httpdocs\Views\GeneralPage.cshtml"
Line 126: Write(Model.Content.Name);
Line 127:
Line 128:
Line 129: #line default
Line 130: #line hidden
Line 131: WriteLiteral("</h1>\r\n </div>\r\n </div>\r\n");
Line 132:
Line 133:
Line 134: #line 19 "C:\Inetpub\vhosts\cross-hills.org.uk\httpdocs\Views\GeneralPage.cshtml"
Line 135: }
Line 136:
Line 137:
Line 138: #line default
Line 139: #line hidden
Line 140: WriteLiteral(" \r\n </div>\r\n");
Line 141:
Line 142:
Line 143: #line 22 "C:\Inetpub\vhosts\cross-hills.org.uk\httpdocs\Views\GeneralPage.cshtml"
Line 144: }
Line 145:
Line 146:
Line 147: #line default
Line 148: #line hidden
Line 149: WriteLiteral("<div");
Line 150:
Line 151: WriteLiteral(" class=\"page-comes\"");
Line 152:
Line 153: WriteLiteral(">\r\n <div");
Line 154:
Line 155: WriteLiteral(" class=\"container\"");
Line 156:
Line 157: WriteLiteral(">\r\n <div");
Line 158:
Line 159: WriteLiteral(" class=\"row\"");
Line 160:
Line 161: WriteLiteral(">\r\n <div");
Line 162:
Line 163: WriteLiteral(" class=\"col-sm-6\"");
Line 164:
Line 165: WriteLiteral(">\r\n <span></span>\r\n </div>\r\n " +
Line 166: " <div");
Line 167:
Line 168: WriteLiteral(" class=\"col-sm-6\"");
Line 169:
Line 170: WriteLiteral(">\r\n <ul");
Line 171:
Line 172: WriteLiteral(" class=\"list-inline text-right\"");
Line 173:
Line 174: WriteLiteral(">\r\n <!--Breadcrumb-->\r\n");
Line 175:
Line 176: WriteLiteral(" ");
Line 177:
Line 178:
Line 179: #line 32 "C:\Inetpub\vhosts\cross-hills.org.uk\httpdocs\Views\GeneralPage.cshtml"
Line 180: Write(Html.Partial("Partials/Nav/Breadcrumb"));
Line 181:
Line 182:
Line 183: #line default
Line 184: #line hidden
Line 185: WriteLiteral("\r\n </ul>\r\n </div>\r\n </di" +
Line 186: "v>\r\n </div>\r\n </div>\r\n \r\n \r\n<div");
Line 187:
Line 188: WriteLiteral(" class=\"container\"");
Line 189:
Line 190: WriteLiteral(">\r\n");
Line 191:
Line 192: WriteLiteral(" ");
Line 193:
Line 194:
Line 195: #line 41 "C:\Inetpub\vhosts\cross-hills.org.uk\httpdocs\Views\GeneralPage.cshtml"
Line 196: Write(Html.GetGridHtml(Model.Content, "content"));
Line 197:
Line 198:
Line 199: #line default
Line 200: #line hidden
Line 201: WriteLiteral("\r\n</div>");
Line 202:
Line 203: }
Line 204: }
Line 205: }
Line 206:
|