Line 1: #pragma checksum "C:\home\site\wwwroot\Views\Home\Photos.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "D28EABD6E964D14DC2685A85794F26E464D0855B6AF14404448D3C577567C52D"
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.Optimization;
Line 27: using System.Web.Routing;
Line 28: using HtmlHelpers.BeginCollectionItem;
Line 29:
Line 30: #line 1 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 31: using Junki.Core.Enums;
Line 32:
Line 33: #line default
Line 34: #line hidden
Line 35: using Microsoft.Web.Helpers;
Line 36: using DotNetOpenAuth.AspNet;
Line 37: using WebMatrix.WebData;
Line 38: using Microsoft.Web.WebPages.OAuth;
Line 39: using WebMatrix.Data;
Line 40:
Line 41:
Line 42: public class _Page_Views_Home_Photos_cshtml : System.Web.Mvc.WebViewPage<Junki.ViewModels.PhotosViewModel> {
Line 43:
Line 44: #line hidden
Line 45:
Line 46: public _Page_Views_Home_Photos_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:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 58:
Line 59: ViewBag.Title = "Photos";
Line 60:
Line 61:
Line 62: #line default
Line 63: #line hidden
Line 64: WriteLiteral("\r\n<div");
Line 65:
Line 66: WriteLiteral(" class=\"imgWrapper\"");
Line 67:
Line 68: WriteLiteral(">\r\n\r\n <div");
Line 69:
Line 70: WriteLiteral(" class=\"TopGallery\"");
Line 71:
Line 72: WriteLiteral(">\r\n <div");
Line 73:
Line 74: WriteLiteral(" class=\"smaller\"");
Line 75:
Line 76: WriteLiteral(">\r\n");
Line 77:
Line 78:
Line 79: #line 10 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 80:
Line 81:
Line 82: #line default
Line 83: #line hidden
Line 84:
Line 85: #line 10 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 86: if (Model.PhotoOfTheYear != null)
Line 87: {
Line 88:
Line 89:
Line 90: #line default
Line 91: #line hidden
Line 92: WriteLiteral(" <a");
Line 93:
Line 94: WriteAttribute("href", Tuple.Create(" href=\"", 277), Tuple.Create("\"", 422)
Line 95:
Line 96: #line 12 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 97: , Tuple.Create(Tuple.Create("", 284), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Home.ActionNames.TopPhoto, MVC.Home.Name, new { filterType = FilterType.Yearly, topRecord = Model.TopYearId.Value }, null)
Line 98:
Line 99: #line default
Line 100: #line hidden
Line 101: , 284), false)
Line 102: );
Line 103:
Line 104: WriteLiteral(">\r\n <img");
Line 105:
Line 106: WriteAttribute("src", Tuple.Create(" src=\"", 450), Tuple.Create("\"", 660)
Line 107:
Line 108: #line 13 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 109: , Tuple.Create(Tuple.Create("", 456), Tuple.Create<System.Object, System.Int32>(Url.Content(Junki.Core.Helpers.ImagePathHelper.GetTopPhotoThumbnail(Junki.Core.Enums.PhotoFileType.Photo, Model.PhotoOfTheYear.Id, Model.PhotoOfTheYear.Guid ?? Guid.Empty, Model.PhotoOfTheYear.FileName))
Line 110:
Line 111: #line default
Line 112: #line hidden
Line 113: , 456), false)
Line 114: );
Line 115:
Line 116: WriteLiteral(" />\r\n </a>\r\n");
Line 117:
Line 118:
Line 119: #line 15 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 120: }
Line 121: else
Line 122: {
Line 123:
Line 124:
Line 125: #line default
Line 126: #line hidden
Line 127:
Line 128: #line 18 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 129: Write(ViewRes.View.Home.Photos.EmptyPhoto);
Line 130:
Line 131:
Line 132: #line default
Line 133: #line hidden
Line 134:
Line 135: #line 18 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 136:
Line 137: }
Line 138:
Line 139:
Line 140: #line default
Line 141: #line hidden
Line 142: WriteLiteral("\r\n <br />\r\n");
Line 143:
Line 144: WriteLiteral(" ");
Line 145:
Line 146:
Line 147: #line 22 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 148: Write(ViewRes.View.Home.Photos.PhotoOfTheYear);
Line 149:
Line 150:
Line 151: #line default
Line 152: #line hidden
Line 153: WriteLiteral("\r\n </div>\r\n\r\n <div");
Line 154:
Line 155: WriteLiteral(" class=\"bigger\"");
Line 156:
Line 157: WriteLiteral(">\r\n");
Line 158:
Line 159:
Line 160: #line 26 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 161:
Line 162:
Line 163: #line default
Line 164: #line hidden
Line 165:
Line 166: #line 26 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 167:
Line 168: if (Model.PhotoOfTheMonth != null)
Line 169: {
Line 170:
Line 171:
Line 172: #line default
Line 173: #line hidden
Line 174: WriteLiteral(" <a");
Line 175:
Line 176: WriteAttribute("href", Tuple.Create(" href=\"", 1055), Tuple.Create("\"", 1202)
Line 177:
Line 178: #line 29 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 179: , Tuple.Create(Tuple.Create("", 1062), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Home.ActionNames.TopPhoto, MVC.Home.Name, new { filterType = FilterType.Monthly, topRecord = Model.TopMonthId.Value }, null)
Line 180:
Line 181: #line default
Line 182: #line hidden
Line 183: , 1062), false)
Line 184: );
Line 185:
Line 186: WriteLiteral(">\r\n <img");
Line 187:
Line 188: WriteAttribute("src", Tuple.Create(" src=\"", 1230), Tuple.Create("\"", 1443)
Line 189:
Line 190: #line 30 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 191: , Tuple.Create(Tuple.Create("", 1236), Tuple.Create<System.Object, System.Int32>(Url.Content(Junki.Core.Helpers.ImagePathHelper.GetTopPhotoThumbnail(Junki.Core.Enums.PhotoFileType.Photo, Model.PhotoOfTheMonth.Id, Model.PhotoOfTheMonth.Guid ?? Guid.Empty, Model.PhotoOfTheMonth.FileName))
Line 192:
Line 193: #line default
Line 194: #line hidden
Line 195: , 1236), false)
Line 196: );
Line 197:
Line 198: WriteLiteral(" />\r\n </a>\r\n");
Line 199:
Line 200:
Line 201: #line 32 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 202: }
Line 203: else
Line 204: {
Line 205:
Line 206:
Line 207: #line default
Line 208: #line hidden
Line 209:
Line 210: #line 35 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 211: Write(ViewRes.View.Home.Photos.EmptyPhoto);
Line 212:
Line 213:
Line 214: #line default
Line 215: #line hidden
Line 216:
Line 217: #line 35 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 218:
Line 219: }
Line 220:
Line 221:
Line 222: #line default
Line 223: #line hidden
Line 224: WriteLiteral("\r\n <br />\r\n");
Line 225:
Line 226: WriteLiteral(" ");
Line 227:
Line 228:
Line 229: #line 39 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 230: Write(ViewRes.View.Home.Photos.PhotoOfTheMonth);
Line 231:
Line 232:
Line 233: #line default
Line 234: #line hidden
Line 235: WriteLiteral("\r\n </div>\r\n\r\n <div");
Line 236:
Line 237: WriteLiteral(" class=\"smaller2\"");
Line 238:
Line 239: WriteLiteral(">\r\n");
Line 240:
Line 241:
Line 242: #line 43 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 243:
Line 244:
Line 245: #line default
Line 246: #line hidden
Line 247:
Line 248: #line 43 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 249:
Line 250: if (Model.PhotoOfTheWeek != null)
Line 251: {
Line 252:
Line 253:
Line 254: #line default
Line 255: #line hidden
Line 256: WriteLiteral(" <a");
Line 257:
Line 258: WriteAttribute("href", Tuple.Create(" href=\"", 1848), Tuple.Create("\"", 1993)
Line 259:
Line 260: #line 46 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 261: , Tuple.Create(Tuple.Create("", 1855), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Home.ActionNames.TopPhoto, MVC.Home.Name, new { filterType = FilterType.Weekly, topRecord = Model.TopWeekId.Value }, null)
Line 262:
Line 263: #line default
Line 264: #line hidden
Line 265: , 1855), false)
Line 266: );
Line 267:
Line 268: WriteLiteral(">\r\n <img");
Line 269:
Line 270: WriteAttribute("src", Tuple.Create(" src=\"", 2021), Tuple.Create("\"", 2231)
Line 271:
Line 272: #line 47 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 273: , Tuple.Create(Tuple.Create("", 2027), Tuple.Create<System.Object, System.Int32>(Url.Content(Junki.Core.Helpers.ImagePathHelper.GetTopPhotoThumbnail(Junki.Core.Enums.PhotoFileType.Photo, Model.PhotoOfTheWeek.Id, Model.PhotoOfTheWeek.Guid ?? Guid.Empty, Model.PhotoOfTheWeek.FileName))
Line 274:
Line 275: #line default
Line 276: #line hidden
Line 277: , 2027), false)
Line 278: );
Line 279:
Line 280: WriteLiteral(" />\r\n </a>\r\n");
Line 281:
Line 282:
Line 283: #line 49 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 284: }
Line 285: else
Line 286: {
Line 287:
Line 288:
Line 289: #line default
Line 290: #line hidden
Line 291:
Line 292: #line 52 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 293: Write(ViewRes.View.Home.Photos.EmptyPhoto);
Line 294:
Line 295:
Line 296: #line default
Line 297: #line hidden
Line 298:
Line 299: #line 52 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 300:
Line 301: }
Line 302:
Line 303:
Line 304: #line default
Line 305: #line hidden
Line 306: WriteLiteral("\r\n <br />\r\n");
Line 307:
Line 308: WriteLiteral(" ");
Line 309:
Line 310:
Line 311: #line 56 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 312: Write(ViewRes.View.Home.Photos.PhotoOfTheWeek);
Line 313:
Line 314:
Line 315: #line default
Line 316: #line hidden
Line 317: WriteLiteral("\r\n </div>\r\n </div>\r\n\r\n <img");
Line 318:
Line 319: WriteAttribute("src", Tuple.Create(" src=\"", 2519), Tuple.Create("\"", 2565)
Line 320: , Tuple.Create(Tuple.Create("", 2525), Tuple.Create<System.Object, System.Int32>(Href("~/Content/Images/Backgrounds/gallery.jpg")
Line 321: , 2525), false)
Line 322: );
Line 323:
Line 324: WriteLiteral(" class=\"imgBackground\"");
Line 325:
Line 326: WriteLiteral(" usemap=\"#Map\"");
Line 327:
Line 328: WriteLiteral(" />\r\n\r\n <map");
Line 329:
Line 330: WriteLiteral(" name=\"Map\"");
Line 331:
Line 332: WriteLiteral(" id=\"Map\"");
Line 333:
Line 334: WriteLiteral(">\r\n <area");
Line 335:
Line 336: WriteLiteral(" shape=\"poly\"");
Line 337:
Line 338: WriteLiteral(@" coords=""394,982,486,1034,818,977,811,969,809,912,819,904,819,893,810,893,809,860,805,854,699,715,699,697,684,683,660,659,650,655,620,636,578,622,531,625,485,648,474,659,446,671,438,682,434,690,409,708,406,712,407,732,405,894,393,905,393,914,403,917,403,971,397,979""");
Line 339:
Line 340: WriteAttribute("href", Tuple.Create(" href=\"", 2932), Tuple.Create("\"", 3044)
Line 341:
Line 342: #line 63 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 343: , Tuple.Create(Tuple.Create("", 2939), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Home.ActionNames.PhotosByCategory, MVC.Home.Name, new { listType = ListType.Best }, null)
Line 344:
Line 345: #line default
Line 346: #line hidden
Line 347: , 2939), false)
Line 348: );
Line 349:
Line 350: WriteLiteral(" />\r\n <area");
Line 351:
Line 352: WriteLiteral(" shape=\"poly\"");
Line 353:
Line 354: WriteLiteral(@" coords=""1506,985,1831,1039,1843,1040,1930,987,1930,976,1921,971,1922,916,1933,912,1933,906,1921,896,1923,723,1921,714,1882,681,1868,669,1838,649,1796,628,1758,623,1726,628,1689,648,1679,659,1662,664,1646,681,1636,692,1628,699,1622,716,1623,721,1515,868,1515,895,1502,904,1499,911,1515,918,1515,973""");
Line 355:
Line 356: WriteAttribute("href", Tuple.Create(" href=\"", 3375), Tuple.Create("\"", 3487)
Line 357:
Line 358: #line 64 "C:\home\site\wwwroot\Views\Home\Photos.cshtml"
Line 359: , Tuple.Create(Tuple.Create("", 3382), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Home.ActionNames.PhotosByCategory, MVC.Home.Name, new { listType = ListType.News }, null)
Line 360:
Line 361: #line default
Line 362: #line hidden
Line 363: , 3382), false)
Line 364: );
Line 365:
Line 366: WriteLiteral(" />\r\n </map>\r\n</div>\r\n\r\n");
Line 367:
Line 368: DefineSection("scripts", () => {
Line 369:
Line 370: WriteLiteral("\r\n\r\n <script");
Line 371:
Line 372: WriteLiteral(" type=\"text/javascript\"");
Line 373:
Line 374: WriteLiteral(@">
Line 375:
Line 376: $(window).load(function () {
Line 377: var bgHeight = parseInt($('.imgWrapper').css('width')) * 1080 / 2337;
Line 378: $('.TopGallery img').css('max-height', (bgHeight * 0.38));
Line 379: $('.TopGallery .bigger img').css('max-height', (bgHeight * 0.48));
Line 380: });
Line 381:
Line 382: $(window).resize(function () {
Line 383: var bgHeight = parseInt($('.imgWrapper').css('height'));
Line 384: $('.TopGallery img').css('max-height', (bgHeight * 0.38));
Line 385: $('.TopGallery .bigger img').css('max-height', (bgHeight * 0.48));
Line 386: });
Line 387: </script>
Line 388: ");
Line 389:
Line 390: });
Line 391:
Line 392: }
Line 393: }
Line 394: }
Line 395:
|