Line 1: #pragma checksum "C:\inetpub\wwwroot\ftf.es\Views\Contacto.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "03F44CC74F79AAAA1689924844829971F4E5668F"
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 1 "C:\inetpub\wwwroot\ftf.es\Views\Contacto.cshtml"
Line 36: using umbraco.NodeFactory;
Line 37:
Line 38: #line default
Line 39: #line hidden
Line 40:
Line 41:
Line 42: public class _Page_Views_Contacto_cshtml : Umbraco.Web.Mvc.UmbracoTemplatePage {
Line 43:
Line 44: #line hidden
Line 45:
Line 46: public _Page_Views_Contacto_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 4 "C:\inetpub\wwwroot\ftf.es\Views\Contacto.cshtml"
Line 58:
Line 59: Layout = "Master.cshtml";
Line 60:
Line 61: // Página actual
Line 62: Node actual = uQuery.GetNode(CurrentPage.Id);
Line 63: Node home = actual.GetAncestorByPathLevel(1);
Line 64:
Line 65: // Modelo para el formulario de contacto
Line 66: FederacionTenerife2014.Models.Contacto modelo = new FederacionTenerife2014.Models.Contacto();
Line 67:
Line 68: // Latitud
Line 69: string latitud = string.IsNullOrWhiteSpace(actual.GetProperty<string>("latitud")) ? "28.459815" : actual.GetProperty<string>("latitud");
Line 70: // Longitud
Line 71: string longitud = string.IsNullOrWhiteSpace(actual.GetProperty<string>("longitud")) ? "-16.264925" : actual.GetProperty<string>("longitud");
Line 72:
Line 73: // Página con la polÃtica de privacidad
Line 74: Node politicaPrivacidad = home.GetDescendantNodesByType("politicaPrivacidad").FirstOrDefault();
Line 75:
Line 76:
Line 77: #line default
Line 78: #line hidden
Line 79: WriteLiteral("\r\n\r\n");
Line 80:
Line 81: DefineSection("menu", () => {
Line 82:
Line 83: WriteLiteral("\r\n");
Line 84:
Line 85: WriteLiteral(" ");
Line 86:
Line 87:
Line 88: #line 24 "C:\inetpub\wwwroot\ftf.es\Views\Contacto.cshtml"
Line 89: Write(Umbraco.RenderMacro("MenuSuperior"));
Line 90:
Line 91:
Line 92: #line default
Line 93: #line hidden
Line 94: WriteLiteral("\r\n");
Line 95:
Line 96: });
Line 97:
Line 98: WriteLiteral("\r\n");
Line 99:
Line 100: DefineSection("mapaPosicion", () => {
Line 101:
Line 102: WriteLiteral("\r\n <div");
Line 103:
Line 104: WriteLiteral(" id=\"SeccionMapa\"");
Line 105:
Line 106: WriteLiteral(">\r\n <div");
Line 107:
Line 108: WriteLiteral(" id=\"map_canvas\"");
Line 109:
Line 110: WriteLiteral(" style=\"z-index:1;width:100%;height:400px\"");
Line 111:
Line 112: WriteLiteral("></div>\r\n </div>\r\n");
Line 113:
Line 114: });
Line 115:
Line 116: WriteLiteral("\r\n<div");
Line 117:
Line 118: WriteLiteral(" class=\"row\"");
Line 119:
Line 120: WriteLiteral(">\r\n <div");
Line 121:
Line 122: WriteLiteral(" class=\"col-md-12\"");
Line 123:
Line 124: WriteLiteral(">\r\n");
Line 125:
Line 126: WriteLiteral(" ");
Line 127:
Line 128:
Line 129: #line 35 "C:\inetpub\wwwroot\ftf.es\Views\Contacto.cshtml"
Line 130: Write(Umbraco.RenderMacro("Migadepan"));
Line 131:
Line 132:
Line 133: #line default
Line 134: #line hidden
Line 135: WriteLiteral("\r\n </div>\r\n</div>\r\n\r\n<div");
Line 136:
Line 137: WriteLiteral(" class=\"row\"");
Line 138:
Line 139: WriteLiteral(">\r\n <div");
Line 140:
Line 141: WriteLiteral(" class=\"col-sm-7\"");
Line 142:
Line 143: WriteLiteral(">\r\n");
Line 144:
Line 145: WriteLiteral(" ");
Line 146:
Line 147:
Line 148: #line 41 "C:\inetpub\wwwroot\ftf.es\Views\Contacto.cshtml"
Line 149: Write(Html.Partial("~/Views/Partials/_PartialContacto.cshtml", modelo));
Line 150:
Line 151:
Line 152: #line default
Line 153: #line hidden
Line 154: WriteLiteral("\r\n </div>\r\n\r\n <div");
Line 155:
Line 156: WriteLiteral(" class=\"col-sm-4 col-sm-offset-1\"");
Line 157:
Line 158: WriteLiteral(@">
Line 159: <h2>Sede Central</h2>
Line 160: <p>
Line 161: Federación Tinerfeña de Fútbol <br/>
Line 162: C/ Benito Pérez Armas, n 7, 38007<br/>
Line 163: Santa Cruz de Tenerife, Islas Canarias
Line 164: </p>
Line 165: <p>
Line 166: Tfno.: +34 922 230 307
Line 167: </p>
Line 168:
Line 169: ");
Line 170:
Line 171:
Line 172: #line 55 "C:\inetpub\wwwroot\ftf.es\Views\Contacto.cshtml"
Line 173:
Line 174:
Line 175: #line default
Line 176: #line hidden
Line 177:
Line 178: #line 55 "C:\inetpub\wwwroot\ftf.es\Views\Contacto.cshtml"
Line 179: if (politicaPrivacidad != null)
Line 180: {
Line 181:
Line 182:
Line 183: #line default
Line 184: #line hidden
Line 185: WriteLiteral(" <h2");
Line 186:
Line 187: WriteLiteral(" style=\"margin-top: 40px !important\"");
Line 188:
Line 189: WriteLiteral(">Información básica de protección de datos</h2>\r\n");
Line 190:
Line 191: WriteLiteral(" <p");
Line 192:
Line 193: WriteLiteral(" style=\"padding: 10px 20px 0 0\"");
Line 194:
Line 195: WriteLiteral(@">
Line 196: <b>Responsable</b>: Federación Interinsular de Fútbol de Tenerife.<br/>
Line 197: <b>Finalidad</b>: atender, gestionar y contestar sus consultas y solicitudes.<br/>
Line 198: <b>Derechos</b>: puede ejercitar su derecho de acceso, rectificación, supresión y otros, tal como aparece en la información ampliada que puede conocer visitando nuestra <a");
Line 199:
Line 200: WriteAttribute("href", Tuple.Create(" href=\"", 2294), Tuple.Create("\"", 2324)
Line 201:
Line 202: #line 61 "C:\inetpub\wwwroot\ftf.es\Views\Contacto.cshtml"
Line 203: , Tuple.Create(Tuple.Create("", 2301), Tuple.Create<System.Object, System.Int32>(politicaPrivacidad.Url
Line 204:
Line 205: #line default
Line 206: #line hidden
Line 207: , 2301), false)
Line 208: );
Line 209:
Line 210: WriteLiteral(">política de privacidad</a>.\r\n\r\n </p>\r\n");
Line 211:
Line 212:
Line 213: #line 64 "C:\inetpub\wwwroot\ftf.es\Views\Contacto.cshtml"
Line 214: }
Line 215:
Line 216:
Line 217: #line default
Line 218: #line hidden
Line 219: WriteLiteral(" </div>\r\n</div>\r\n\r\n");
Line 220:
Line 221: DefineSection("scripts", () => {
Line 222:
Line 223: WriteLiteral("\r\n <script");
Line 224:
Line 225: WriteAttribute("src", Tuple.Create(" src=\"", 2441), Tuple.Create("\"", 2479)
Line 226: , Tuple.Create(Tuple.Create("", 2447), Tuple.Create<System.Object, System.Int32>(Href("~/scripts/jquery.validate.min.js")
Line 227: , 2447), false)
Line 228: );
Line 229:
Line 230: WriteLiteral("></script>\r\n <script");
Line 231:
Line 232: WriteLiteral(" type=\"text/javascript\"");
Line 233:
Line 234: WriteLiteral(" src=\"http://maps.googleapis.com/maps/api/js?key=AIzaSyAXvdXB-h6ZYEpkJ5c535mGH_3F" +
Line 235: "Z9yhsXk&sensor=false\"");
Line 236:
Line 237: WriteLiteral("></script>\r\n <script");
Line 238:
Line 239: WriteAttribute("src", Tuple.Create(" src=\"", 2651), Tuple.Create("\"", 2677)
Line 240: , Tuple.Create(Tuple.Create("", 2657), Tuple.Create<System.Object, System.Int32>(Href("~/js/localizacion.js")
Line 241: , 2657), false)
Line 242: );
Line 243:
Line 244: WriteLiteral("></script>\r\n\r\n <script");
Line 245:
Line 246: WriteLiteral(" type=\"text/javascript\"");
Line 247:
Line 248: WriteLiteral(">\r\n $(document).ready(function (event) {\r\n var latitud = ");
Line 249:
Line 250:
Line 251: #line 75 "C:\inetpub\wwwroot\ftf.es\Views\Contacto.cshtml"
Line 252: Write(latitud);
Line 253:
Line 254:
Line 255: #line default
Line 256: #line hidden
Line 257: WriteLiteral(" ;\r\n var longitud = ");
Line 258:
Line 259:
Line 260: #line 76 "C:\inetpub\wwwroot\ftf.es\Views\Contacto.cshtml"
Line 261: Write(longitud);
Line 262:
Line 263:
Line 264: #line default
Line 265: #line hidden
Line 266: WriteLiteral(" ;\r\n\r\n InicializacionMapa(latitud, longitud, \"map_canvas\", google.maps" +
Line 267: ".MapTypeId.MAP, 17);\r\n AniadirMarcador(posicionActual, \"Sede Central\"" +
Line 268: ", null, 100);\r\n });\r\n </script>\r\n");
Line 269:
Line 270: });
Line 271:
Line 272: }
Line 273: }
Line 274: }
Line 275:
|