Line 1: #pragma checksum "D:\WebApps\My\Employment\Views\Jobs\Listing.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "704F94735CB2A777A0CB701366E1044BAE52543B21096651AB183BC41315FD3C"
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 Uww.Employment.Core.Config;
Line 28: using Uww.Employment.Core.Data.Models;
Line 29: using Uww.Employment.Core.Data.Models.Form;
Line 30: using Uww.Employment.Core.Data.Models.View;
Line 31: using Web.Helpers;
Line 32:
Line 33:
Line 34: public class _Page_Views_Jobs_Listing_cshtml : System.Web.Mvc.WebViewPage<PositionView> {
Line 35:
Line 36: #line hidden
Line 37:
Line 38: public _Page_Views_Jobs_Listing_cshtml() {
Line 39: }
Line 40:
Line 41: protected ASP.global_asax ApplicationInstance {
Line 42: get {
Line 43: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 44: }
Line 45: }
Line 46:
Line 47: public override void Execute() {
Line 48:
Line 49: #line 3 "D:\WebApps\My\Employment\Views\Jobs\Listing.cshtml"
Line 50: Write(Html.DisplayFor(m => m));
Line 51:
Line 52:
Line 53: #line default
Line 54: #line hidden
Line 55: WriteLiteral("\r\n\r\n");
Line 56:
Line 57:
Line 58: #line 5 "D:\WebApps\My\Employment\Views\Jobs\Listing.cshtml"
Line 59: if (ViewBag.IsAdmin ?? false) {
Line 60:
Line 61:
Line 62: #line default
Line 63: #line hidden
Line 64:
Line 65: #line 6 "D:\WebApps\My\Employment\Views\Jobs\Listing.cshtml"
Line 66: Write(Html.ActionLink("Edit", "Edit", "Request", new { id = Model.Request.Id }, new { @class = "btn btn-sm btn-primary", style="margin-left:8px;" }));
Line 67:
Line 68:
Line 69: #line default
Line 70: #line hidden
Line 71:
Line 72: #line 6 "D:\WebApps\My\Employment\Views\Jobs\Listing.cshtml"
Line 73:
Line 74:
Line 75:
Line 76:
Line 77: #line default
Line 78: #line hidden
Line 79:
Line 80: #line 8 "D:\WebApps\My\Employment\Views\Jobs\Listing.cshtml"
Line 81: Write(Html.ActionLink("Details", "Details", "Request", new { id = Model.Request.Id }, new { @class = "btn btn-sm btn-primary", style="margin-left:8px;" }));
Line 82:
Line 83:
Line 84: #line default
Line 85: #line hidden
Line 86:
Line 87: #line 8 "D:\WebApps\My\Employment\Views\Jobs\Listing.cshtml"
Line 88:
Line 89:
Line 90:
Line 91:
Line 92: #line default
Line 93: #line hidden
Line 94:
Line 95: #line 10 "D:\WebApps\My\Employment\Views\Jobs\Listing.cshtml"
Line 96: Write(Html.ActionLink("History", "History", "Notification", new { id = Model.Request.Id }, new {@class = "btn btn-sm btn-primary history", style="margin-left:8px;", data_request = Model.Id, data_toggle = "modal", data_target = "#historyModal", data_remote = "false", data_backdrop = "static"}));
Line 97:
Line 98:
Line 99: #line default
Line 100: #line hidden
Line 101:
Line 102: #line 10 "D:\WebApps\My\Employment\Views\Jobs\Listing.cshtml"
Line 103:
Line 104: }
Line 105:
Line 106:
Line 107: #line default
Line 108: #line hidden
Line 109: WriteLiteral("\r\n<div");
Line 110:
Line 111: WriteLiteral(" class=\"modal fade\"");
Line 112:
Line 113: WriteLiteral(" id=\"historyModal\"");
Line 114:
Line 115: WriteLiteral(" tabindex=\"-1\"");
Line 116:
Line 117: WriteLiteral(" role=\"dialog\"");
Line 118:
Line 119: WriteLiteral(" aria-labelledby=\"myModalLabel\"");
Line 120:
Line 121: WriteLiteral(" aria-hidden=\"true\"");
Line 122:
Line 123: WriteLiteral(">\r\n <div");
Line 124:
Line 125: WriteLiteral(" class=\"modal-dialog\"");
Line 126:
Line 127: WriteLiteral(" role=\"document\"");
Line 128:
Line 129: WriteLiteral(">\r\n <div");
Line 130:
Line 131: WriteLiteral(" class=\"modal-content\"");
Line 132:
Line 133: WriteLiteral(">\r\n <div");
Line 134:
Line 135: WriteLiteral(" class=\"modal-header\"");
Line 136:
Line 137: WriteLiteral(">\r\n <button");
Line 138:
Line 139: WriteLiteral(" type=\"button\"");
Line 140:
Line 141: WriteLiteral(" class=\"close\"");
Line 142:
Line 143: WriteLiteral(" data-dismiss=\"modal\"");
Line 144:
Line 145: WriteLiteral(" aria-hidden=\"true\"");
Line 146:
Line 147: WriteLiteral(">×</button>\r\n <h4");
Line 148:
Line 149: WriteLiteral(" class=\"modal-title\"");
Line 150:
Line 151: WriteLiteral(">History</h4>\r\n </div>\r\n <div");
Line 152:
Line 153: WriteLiteral(" class=\"modal-body\"");
Line 154:
Line 155: WriteLiteral("></div>\r\n <div");
Line 156:
Line 157: WriteLiteral(" class=\"modal-footer\"");
Line 158:
Line 159: WriteLiteral(">\r\n <button");
Line 160:
Line 161: WriteLiteral(" type=\"button\"");
Line 162:
Line 163: WriteLiteral(" class=\"btn btn-primary\"");
Line 164:
Line 165: WriteLiteral(" data-dismiss=\"modal\"");
Line 166:
Line 167: WriteLiteral(">Close</button>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n");
Line 168:
Line 169: DefineSection("Head", () => {
Line 170:
Line 171: WriteLiteral("\r\n");
Line 172:
Line 173:
Line 174: #line 29 "D:\WebApps\My\Employment\Views\Jobs\Listing.cshtml"
Line 175:
Line 176:
Line 177: #line default
Line 178: #line hidden
Line 179:
Line 180: #line 29 "D:\WebApps\My\Employment\Views\Jobs\Listing.cshtml"
Line 181: if (Model.StartDate >= DateTime.Now || Model.ExpirationDate <= DateTime.Now) {
Line 182:
Line 183:
Line 184: #line default
Line 185: #line hidden
Line 186: WriteLiteral(" <meta");
Line 187:
Line 188: WriteLiteral(" name=\"robots\"");
Line 189:
Line 190: WriteLiteral(" content=\"noindex\"");
Line 191:
Line 192: WriteLiteral(">\r\n");
Line 193:
Line 194:
Line 195: #line 31 "D:\WebApps\My\Employment\Views\Jobs\Listing.cshtml"
Line 196: }
Line 197:
Line 198:
Line 199: #line default
Line 200: #line hidden
Line 201: WriteLiteral(@"
Line 202: <script>
Line 203: $(function () {
Line 204: $("".history"").click(function (e) {
Line 205: $("".modal-body"").html(""<div style='width:100%;'><div class='loader'></div></div>"");
Line 206: $.ajax({
Line 207: url: $(this).attr('href'),
Line 208: success: function (json) {
Line 209: $("".modal-body"").html(json.html);
Line 210: }
Line 211: });
Line 212: });
Line 213: })
Line 214: </script>
Line 215: ");
Line 216:
Line 217: });
Line 218:
Line 219: }
Line 220: }
Line 221: }
Line 222:
|