Line 1: #pragma checksum "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "CB7FD3C28A85FF6653896E463F49FD823FD949828A4358BBEECBDBD9146A7E9E"
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: using Microsoft.Web.Helpers;
Line 30: using DotNetOpenAuth.AspNet;
Line 31: using WebMatrix.WebData;
Line 32: using Microsoft.Web.WebPages.OAuth;
Line 33: using WebMatrix.Data;
Line 34:
Line 35:
Line 36: public class _Page_Views_Home_Partials_PhotoListItem_cshtml : System.Web.Mvc.WebViewPage<Junki.ViewModels.PhotoItemListViewModel> {
Line 37:
Line 38: #line hidden
Line 39:
Line 40: public _Page_Views_Home_Partials_PhotoListItem_cshtml() {
Line 41: }
Line 42:
Line 43: protected ASP.global_asax ApplicationInstance {
Line 44: get {
Line 45: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 46: }
Line 47: }
Line 48:
Line 49: public override void Execute() {
Line 50: WriteLiteral("<div");
Line 51:
Line 52: WriteLiteral(" class=\"albumDiv\"");
Line 53:
Line 54: WriteLiteral(">\r\n <div");
Line 55:
Line 56: WriteLiteral(" class=\"fixedHeight\"");
Line 57:
Line 58: WriteLiteral(">\r\n <a");
Line 59:
Line 60: WriteAttribute("href", Tuple.Create(" href=\"", 115), Tuple.Create("\"", 261)
Line 61:
Line 62: #line 5 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 63: , Tuple.Create(Tuple.Create("", 122), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Home.ActionNames.TopPhoto, MVC.Home.Name, new { PhotoId = Model.Id, TopType = Junki.Core.Enums.TopPhotoType.Photographer })
Line 64:
Line 65: #line default
Line 66: #line hidden
Line 67: , 122), false)
Line 68: );
Line 69:
Line 70: WriteLiteral(">\r\n <div");
Line 71:
Line 72: WriteLiteral(" class=\"divImgsPhoto\"");
Line 73:
Line 74: WriteLiteral(">\r\n <img");
Line 75:
Line 76: WriteAttribute("src", Tuple.Create(" src=\"", 325), Tuple.Create("\"", 467)
Line 77:
Line 78: #line 7 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 79: , Tuple.Create(Tuple.Create("", 331), Tuple.Create<System.Object, System.Int32>(Href(Junki.Core.Helpers.ImagePathHelper.GetThumbnail(Junki.Core.Enums.PhotoFileType.Photo, Model.Id, Model.Guid.Value, Model.FileName))
Line 80:
Line 81: #line default
Line 82: #line hidden
Line 83: , 331), false)
Line 84: );
Line 85:
Line 86: WriteLiteral(" />\r\n\r\n <div");
Line 87:
Line 88: WriteLiteral(" class=\"shadow\"");
Line 89:
Line 90: WriteLiteral(">\r\n");
Line 91:
Line 92:
Line 93: #line 10 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 94:
Line 95:
Line 96: #line default
Line 97: #line hidden
Line 98:
Line 99: #line 10 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 100: if (!string.IsNullOrEmpty(Model.Name))
Line 101: {
Line 102:
Line 103:
Line 104: #line default
Line 105: #line hidden
Line 106:
Line 107: #line 12 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 108: Write(Model.Name);
Line 109:
Line 110:
Line 111: #line default
Line 112: #line hidden
Line 113:
Line 114: #line 12 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 115:
Line 116: }
Line 117:
Line 118:
Line 119: #line default
Line 120: #line hidden
Line 121: WriteLiteral(" </div>\r\n </div>\r\n </a>\r\n </div>\r\n\r\n");
Line 122:
Line 123:
Line 124: #line 19 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 125:
Line 126:
Line 127: #line default
Line 128: #line hidden
Line 129:
Line 130: #line 19 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 131: if (Model.IsOwner == true)
Line 132: {
Line 133:
Line 134:
Line 135: #line default
Line 136: #line hidden
Line 137: WriteLiteral(" <div");
Line 138:
Line 139: WriteLiteral(" class=\"Settings\"");
Line 140:
Line 141: WriteLiteral(">\r\n");
Line 142:
Line 143:
Line 144: #line 22 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 145:
Line 146:
Line 147: #line default
Line 148: #line hidden
Line 149:
Line 150: #line 22 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 151: if (Model.IsTheFirstOne != true)
Line 152: {
Line 153:
Line 154:
Line 155: #line default
Line 156: #line hidden
Line 157: WriteLiteral(" <a");
Line 158:
Line 159: WriteAttribute("href", Tuple.Create(" href=\"", 881), Tuple.Create("\"", 1029)
Line 160:
Line 161: #line 24 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 162: , Tuple.Create(Tuple.Create("", 888), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Photo.ActionNames.ChangeOrderPhoto, MVC.Photo.Name, new { id = Model.Id, newOrder = Junki.Core.Enums.ChangePositionType.Up })
Line 163:
Line 164: #line default
Line 165: #line hidden
Line 166: , 888), false)
Line 167: );
Line 168:
Line 169: WriteLiteral(">\r\n <div");
Line 170:
Line 171: WriteLiteral(" class=\"woodDiv\"");
Line 172:
Line 173: WriteLiteral(">\r\n <img");
Line 174:
Line 175: WriteAttribute("src", Tuple.Create(" src=\"", 1104), Tuple.Create("\"", 1148)
Line 176: , Tuple.Create(Tuple.Create("", 1110), Tuple.Create<System.Object, System.Int32>(Href("~/Content/Images/albums_arrow_left.png")
Line 177: , 1110), false)
Line 178: );
Line 179:
Line 180: WriteLiteral(" />\r\n </div>\r\n </a>\r\n");
Line 181:
Line 182:
Line 183: #line 29 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 184: }
Line 185:
Line 186:
Line 187: #line default
Line 188: #line hidden
Line 189: WriteLiteral(" ");
Line 190:
Line 191:
Line 192: #line 30 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 193: if (Model.IsTheLastOne != true)
Line 194: {
Line 195:
Line 196:
Line 197: #line default
Line 198: #line hidden
Line 199: WriteLiteral(" <a");
Line 200:
Line 201: WriteAttribute("href", Tuple.Create(" href=\"", 1298), Tuple.Create("\"", 1448)
Line 202:
Line 203: #line 32 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 204: , Tuple.Create(Tuple.Create("", 1305), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Photo.ActionNames.ChangeOrderPhoto, MVC.Photo.Name, new { id = Model.Id, newOrder = Junki.Core.Enums.ChangePositionType.Down })
Line 205:
Line 206: #line default
Line 207: #line hidden
Line 208: , 1305), false)
Line 209: );
Line 210:
Line 211: WriteLiteral(">\r\n <div");
Line 212:
Line 213: WriteLiteral(" class=\"woodDiv\"");
Line 214:
Line 215: WriteLiteral(">\r\n <img");
Line 216:
Line 217: WriteAttribute("src", Tuple.Create(" src=\"", 1523), Tuple.Create("\"", 1568)
Line 218: , Tuple.Create(Tuple.Create("", 1529), Tuple.Create<System.Object, System.Int32>(Href("~/Content/Images/albums_arrow_right.png")
Line 219: , 1529), false)
Line 220: );
Line 221:
Line 222: WriteLiteral(" />\r\n </div>\r\n </a>\r\n");
Line 223:
Line 224:
Line 225: #line 37 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 226: }
Line 227:
Line 228:
Line 229: #line default
Line 230: #line hidden
Line 231: WriteLiteral(" </div>\r\n");
Line 232:
Line 233:
Line 234: #line 39 "C:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml"
Line 235: }
Line 236:
Line 237:
Line 238: #line default
Line 239: #line hidden
Line 240: WriteLiteral("</div>");
Line 241:
Line 242: }
Line 243: }
Line 244: }
Line 245:
|