Line 1: #pragma checksum "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "53ED2E948DB4D1C21343A3215AACE2CFD21F4252D0ACE93D9F04DD5E92672FE6"
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 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 36: using Extended.GGT.Code.Models;
Line 37:
Line 38: #line default
Line 39: #line hidden
Line 40:
Line 41: #line 3 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 42: using Extended.GGT.Code.Models.ViewModels;
Line 43:
Line 44: #line default
Line 45: #line hidden
Line 46:
Line 47: #line 4 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 48: using Extended.GGT.Code.Helpers;
Line 49:
Line 50: #line default
Line 51: #line hidden
Line 52:
Line 53: #line 5 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 54: using Extended.GGT.Code.Extensions;
Line 55:
Line 56: #line default
Line 57: #line hidden
Line 58:
Line 59: #line 6 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 60: using System.Globalization;
Line 61:
Line 62: #line default
Line 63: #line hidden
Line 64:
Line 65: #line 7 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 66: using Extended.GGT.Code.Controllers;
Line 67:
Line 68: #line default
Line 69: #line hidden
Line 70:
Line 71:
Line 72: public class _Page_Views_FeaturesContainer_cshtml : Umbraco.Web.Mvc.UmbracoTemplatePage<Extended.GGT.Code.Models.FeaturesContainer> {
Line 73:
Line 74: #line hidden
Line 75:
Line 76: public _Page_Views_FeaturesContainer_cshtml() {
Line 77: }
Line 78:
Line 79: protected ASP.global_asax ApplicationInstance {
Line 80: get {
Line 81: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 82: }
Line 83: }
Line 84:
Line 85: public override void Execute() {
Line 86:
Line 87: #line 8 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 88:
Line 89: Layout = "Master.cshtml";
Line 90:
Line 91: var homeNode = Extended.GGT.Code.Settings.GetHomeNodeId(Model.Content.Id);
Line 92: var homeNodeTyped = Umbraco.TypedContent(homeNode) as Home;
Line 93:
Line 94: string domainName = HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority);
Line 95: var lang = "en";
Line 96: lang = Extended.GGT.Code.Extensions.CountriesHelper.SetLanguage();
Line 97: Culture = UICulture = lang;
Line 98: string title = Umbraco.Coalesce(Model.Content.Heading, Model.Content.Name);
Line 99: string introduction = Model.Content.Introduction;
Line 100: TranslationModel translations = TranslationHelper.GetTranslation(Model.Content, lang, domainName);
Line 101: if (translations.Heading != null)
Line 102: {
Line 103: title = translations.Heading;
Line 104: }
Line 105: if (translations.Introduction != null)
Line 106: {
Line 107: introduction = translations.Introduction;
Line 108: }
Line 109:
Line 110:
Line 111:
Line 112: #line default
Line 113: #line hidden
Line 114: WriteLiteral("\r\n\r\n<div");
Line 115:
Line 116: WriteLiteral(" class=\"flex-1\"");
Line 117:
Line 118: WriteLiteral(">\r\n <div");
Line 119:
Line 120: WriteLiteral(" class=\"pt-32 pb-12\"");
Line 121:
Line 122: WriteLiteral(">\r\n <div");
Line 123:
Line 124: WriteLiteral(" class=\"container\"");
Line 125:
Line 126: WriteLiteral(">\r\n <div");
Line 127:
Line 128: WriteLiteral(" class=\"box lg:w-2/3 mb-8 md:mb-32\"");
Line 129:
Line 130: WriteLiteral(">\r\n <div");
Line 131:
Line 132: WriteLiteral(" class=\"flex mb-8 items-center\"");
Line 133:
Line 134: WriteLiteral(">\r\n <div");
Line 135:
Line 136: WriteLiteral(" class=\"pr-4 text-primary\"");
Line 137:
Line 138: WriteLiteral(">\r\n <svg");
Line 139:
Line 140: WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
Line 141:
Line 142: WriteLiteral(" viewBox=\"0 0 32 32\"");
Line 143:
Line 144: WriteLiteral(" icon=\"product\"");
Line 145:
Line 146: WriteLiteral(" class=\"fill-current w-8 h-8\"");
Line 147:
Line 148: WriteLiteral(">\r\n <g>\r\n <g");
Line 149:
Line 150: WriteLiteral(" clip-path=\"url(#clip0)\"");
Line 151:
Line 152: WriteLiteral(">\r\n <path");
Line 153:
Line 154: WriteLiteral(@" d=""M22.209 14.53s-.49 3.026-.49 3.338v12.55c0 .624.267 1.158.89 1.158s.98-.49.98-1.113V17.868c0-.356-.49-3.338-.49-3.338 2.18-.178 2.225-1.825 2.225-4.317V6.385c0-.222-.846-.222-.846 0v3.516c0 1.603.223 3.25-1.246 3.605V6.43c0-.223-.979-.223-.979 0v7.12c-1.602-.266-1.335-1.958-1.335-3.649V6.43c0-.223-.935-.223-.935 0v3.783c0 2.492.045 4.139 2.226 4.317zm7.655 15.978c0 .578.49 1.068 1.068 1.068.578 0 1.068-.49 1.068-1.068V8.788c0-1.557-.668-2.803-2.18-2.803-1.514 0-2.716 1.246-2.716 2.804v9.123l2.804 2.537v10.059h-.044zM2.759 10.702v13.219L.09 26.814a.34.34 0 0 0-.089.222v4.184c0 .089.045.178.089.267a.477.477 0 0 0 .267.089h17.669a.633.633 0 0 0 .267-.09.477.477 0 0 0 .09-.266v-4.095a.34.34 0 0 0-.09-.222l-2.581-2.938V10.702l2.581-2.937a.34.34 0 0 0 .09-.223V1.356A.383.383 0 0 0 18.024 1h-3.338a.383.383 0 0 0-.356.356v3.338h-2.893V1.356c0-.089-.044-.178-.089-.267-.044-.044-.133-.089-.267-.089H7.744a.383.383 0 0 0-.356.356v3.338l-3.07.045V1.356A.383.383 0 0 0 3.96 1H.356A.383.383 0 0 0 0 1.356v6.142a.34.34 0 0 0 .089.222l2.67 2.982zm3.338 4.54a2.982 2.982 0 0 1 5.964 0v5.207a.383.383 0 0 1-.356.356H6.453a.633.633 0 0 1-.267-.089.477.477 0 0 1-.089-.267v-5.207z""");
Line 155:
Line 156: WriteLiteral("></path>\r\n </g>\r\n <" +
Line 157: "defs>\r\n <clipPath");
Line 158:
Line 159: WriteLiteral(" id=\"clip0\"");
Line 160:
Line 161: WriteLiteral(">\r\n <path");
Line 162:
Line 163: WriteLiteral(" fill=\"#fff\"");
Line 164:
Line 165: WriteLiteral(" d=\"M0 0H32V32H0z\"");
Line 166:
Line 167: WriteLiteral("></path>\r\n </clipPath>\r\n " +
Line 168: " </defs>\r\n </g>\r\n </s" +
Line 169: "vg>\r\n </div>\r\n <div");
Line 170:
Line 171: WriteLiteral(" class=\"caption text-black\"");
Line 172:
Line 173: WriteLiteral(">");
Line 174:
Line 175:
Line 176: #line 51 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 177: Write(homeNodeTyped.Name);
Line 178:
Line 179:
Line 180: #line default
Line 181: #line hidden
Line 182: WriteLiteral(" ");
Line 183:
Line 184:
Line 185: #line 51 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 186: Write(Umbraco.GetDictionaryValue("attractions"));
Line 187:
Line 188:
Line 189: #line default
Line 190: #line hidden
Line 191: WriteLiteral("</div>\r\n </div>\r\n <h1");
Line 192:
Line 193: WriteLiteral(" class=\"h1\"");
Line 194:
Line 195: WriteLiteral(">");
Line 196:
Line 197:
Line 198: #line 53 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 199: Write(title);
Line 200:
Line 201:
Line 202: #line default
Line 203: #line hidden
Line 204: WriteLiteral("</h1>\r\n <p");
Line 205:
Line 206: WriteLiteral(" class=\"text-xl text-black font-bold\"");
Line 207:
Line 208: WriteLiteral(">");
Line 209:
Line 210:
Line 211: #line 54 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 212: Write(introduction);
Line 213:
Line 214:
Line 215: #line default
Line 216: #line hidden
Line 217: WriteLiteral("</p>\r\n </div>\r\n </div>\r\n <div");
Line 218:
Line 219: WriteLiteral(" class=\"container container--wide\"");
Line 220:
Line 221: WriteLiteral(">\r\n \r\n \r\n");
Line 222:
Line 223:
Line 224: #line 60 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 225:
Line 226:
Line 227: #line default
Line 228: #line hidden
Line 229:
Line 230: #line 60 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 231: using (Html.BeginUmbracoForm("Search", "FeatureSurface", new { viewPath = "Partials/application/components/features/_feature-results", pageSize = 16 },
Line 232: new { id = "findFeatureForm", data_ajax = "true", data_ajax_loading = "#loader", data_ajax_mode = "replace", data_ajax_update = "#feature-result", data_ajax_success = "" }))
Line 233: {
Line 234:
Line 235:
Line 236: #line default
Line 237: #line hidden
Line 238: WriteLiteral(" <input");
Line 239:
Line 240: WriteLiteral(" name=\"Page\"");
Line 241:
Line 242: WriteLiteral(" type=\"hidden\"");
Line 243:
Line 244: WriteLiteral(" value=\"1\"");
Line 245:
Line 246: WriteLiteral(" />\r\n");
Line 247:
Line 248: WriteLiteral(" <input");
Line 249:
Line 250: WriteLiteral(" name=\"ClearFilters\"");
Line 251:
Line 252: WriteLiteral(" type=\"hidden\"");
Line 253:
Line 254: WriteLiteral(" value=\"\"");
Line 255:
Line 256: WriteLiteral(" />\r\n");
Line 257:
Line 258:
Line 259: #line 65 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 260: }
Line 261:
Line 262:
Line 263: #line default
Line 264: #line hidden
Line 265: WriteLiteral(" <div");
Line 266:
Line 267: WriteLiteral(" id=\"feature-result\"");
Line 268:
Line 269: WriteLiteral(" class=\"\"");
Line 270:
Line 271: WriteLiteral(">\r\n");
Line 272:
Line 273:
Line 274: #line 67 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 275:
Line 276:
Line 277: #line default
Line 278: #line hidden
Line 279:
Line 280: #line 67 "D:\wwwroot\ggt-platform\wwwroot\Views\FeaturesContainer.cshtml"
Line 281:
Line 282: Html.RenderAction("Search", "FeatureSurface", new { viewPath = "Partials/application/components/features/_feature-results", pageSize = 16 });
Line 283:
Line 284:
Line 285: #line default
Line 286: #line hidden
Line 287: WriteLiteral("\r\n </div>\r\n </div>\r\n\r\n\r\n </div>\r\n\r\n\r\n</div>\r\n\r\n\r\n");
Line 288:
Line 289: }
Line 290: }
Line 291: }
Line 292:
|