#pragma checksum "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "21533c78c8fcfb495c8e35e327408a0eaa951813"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Requests_Index), @"mvc.1.0.view", @"/Views/Requests/Index.cshtml")]
namespace AspNetCore
{
    #line hidden
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Microsoft.AspNetCore.Mvc;
    using Microsoft.AspNetCore.Mvc.Rendering;
    using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 2 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
using Shared_Traveling.Entities;

#line default
#line hidden
#nullable disable
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"21533c78c8fcfb495c8e35e327408a0eaa951813", @"/Views/Requests/Index.cshtml")]
    public class Views_Requests_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<Shared_Traveling.ViewModels.Requests.IndexVM>
    {
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("width", new global::Microsoft.AspNetCore.Html.HtmlString("45"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/images/back.png"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("style", new global::Microsoft.AspNetCore.Html.HtmlString("padding-top:5px;margin-left:15px;"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("width", new global::Microsoft.AspNetCore.Html.HtmlString("20"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_4 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/images/up-arrow.png"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_5 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("width", new global::Microsoft.AspNetCore.Html.HtmlString("25"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_6 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/images/trash.png"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        #line hidden
        #pragma warning disable 0649
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
        #pragma warning restore 0649
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
        #pragma warning disable 0169
        private string __tagHelperStringValueBuffer;
        #pragma warning restore 0169
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __tagHelperScopeManager
        {
            get
            {
                if (__backed__tagHelperScopeManager == null)
                {
                    __backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
                }
                return __backed__tagHelperScopeManager;
            }
        }
        private global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper;
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#nullable restore
#line 3 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
  
    ViewData["Title"] = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
<script src=""https://cdnjs.cloudflare.com/ajax/libs/particlesjs/2.2.2/particles.min.js""></script>

<script src=""https://cdnjs.cloudflare.com/ajax/libs/particlesjs/2.2.2/particles.min.js""></script>
<script src=""http://code.jquery.com/jquery-1.11.1.min.js""></script>
<link href=""//datatables.net/download/build/nightly/jquery.dataTables.css"" rel=""stylesheet"" type=""text/css"" />
<script src=""//datatables.net/download/build/nightly/jquery.dataTables.js""></script>

<script type=""text/javascript"">
    $(document).ready(function () {
        $('#myTable').DataTable();
    });
</script>

<div class=""row"">
    <div class=""col-3""></div>
    <div class=""col-6"">
        <br />
        <a href=""/TravelPost/Index"">
            ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "21533c78c8fcfb495c8e35e327408a0eaa9518136288", async() => {
            }
            );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            WriteLiteral("\r\n        </a>\r\n        <br /><br />\r\n        <form action=\"/Posts/Create\" method=\"post\">\r\n            <div class=\"card\">\r\n                <div class=\"card-header\">\r\n                    ");
#nullable restore
#line 32 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
               Write(Model.User.FirstName);

#line default
#line hidden
#nullable disable
            WriteLiteral(" ");
#nullable restore
#line 32 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                                     Write(Model.User.LastName);

#line default
#line hidden
#nullable disable
            WriteLiteral(" (");
#nullable restore
#line 32 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                                                           Write(Model.User.Username);

#line default
#line hidden
#nullable disable
            WriteLiteral(")\r\n                </div>\r\n                <div class=\"card-body\">\r\n                    <h5 class=\"card-title\">\r\n                        ");
#nullable restore
#line 36 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                   Write(Model.Post.CityOfDeparture);

#line default
#line hidden
#nullable disable
            WriteLiteral(" (");
#nullable restore
#line 36 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                                                Write(Model.Post.HourOfDeparture);

#line default
#line hidden
#nullable disable
            WriteLiteral(") - ");
#nullable restore
#line 36 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                                                                               Write(Model.Post.CityOfDestination);

#line default
#line hidden
#nullable disable
            WriteLiteral(" (");
#nullable restore
#line 36 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                                                                                                              Write(Model.Post.HourOfDestination);

#line default
#line hidden
#nullable disable
            WriteLiteral(")<br />\r\n                        Available Seats: ");
#nullable restore
#line 37 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                                    Write(Model.Post.AvailableSeats);

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                    </h5>\r\n                    <p class=\"card-text\">\r\n                        <strong>Address of departure</strong>: ");
#nullable restore
#line 40 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                                                          Write(Model.Post.AddressOfDeparture);

#line default
#line hidden
#nullable disable
            WriteLiteral("<br />\r\n                        <strong>Address of destination</strong>: ");
#nullable restore
#line 41 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                                                            Write(Model.Post.AddressOfDestination);

#line default
#line hidden
#nullable disable
            WriteLiteral("<br />\r\n                        <strong>Price</strong>: ");
#nullable restore
#line 42 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                                           Write(Model.Post.Price);

#line default
#line hidden
#nullable disable
            WriteLiteral(@" leva
                    </p>
                </div>
            </div>
        </form>
    </div>
    <div class=""col-3""></div>
</div>

<div class=""row"">
    <div class=""col-3""></div>
    <div class=""col-6""><hr /></div>
    <div class=""col-3""></div>
</div>

<div class=""row"">
    <div class=""col-4""></div>
    <div class=""col-4"">
        <h3>Requests:</h3>
        <table id=""myTable"" class=""borderless-table"">
            <thead>
                <tr>
                    <th scope=""col""></th>
                </tr>
            </thead>
            <tbody>
");
#nullable restore
#line 68 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                 if (Model.Post.AvailableSeats > 0)
                {
                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 70 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                     foreach (Request item in Model.Items.Distinct())
                    {

#line default
#line hidden
#nullable disable
            WriteLiteral("                        <tr>\r\n                            <td>\r\n                                ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "21533c78c8fcfb495c8e35e327408a0eaa95181312419", async() => {
            }
            );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            WriteLiteral("\r\n                                <div style=\"height: 50px\" class=\"card\">\r\n                                    <div style=\"height: 50px\" class=\"card-header\">\r\n                                        ");
#nullable restore
#line 77 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                                   Write(item.Content);

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                                        <a style=\"float:right;\"");
            BeginWriteAttribute("href", " href=\"", 3095, "\"", 3130, 2);
            WriteAttributeValue("", 3102, "/Requests/Delete?id=", 3102, 20, true);
#nullable restore
#line 78 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
WriteAttributeValue("", 3122, item.Id, 3122, 8, false);

#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(">\r\n                                            ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "21533c78c8fcfb495c8e35e327408a0eaa95181314638", async() => {
            }
            );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            WriteLiteral("\r\n                                        </a>\r\n");
#nullable restore
#line 81 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                                         using (Html.BeginForm("Approve", "TravelPost", new { requestId = item.Id }, FormMethod.Post))
                                        {

#line default
#line hidden
#nullable disable
            WriteLiteral("                                            <button style=\"float:right; margin-top: -30px\" class=\"btn btn-success\">Approve</button>\r\n");
#nullable restore
#line 84 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                                        }

#line default
#line hidden
#nullable disable
            WriteLiteral("                                    </div>\r\n                                </div>\r\n                            </td>\r\n                        </tr>\r\n");
#nullable restore
#line 89 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 89 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\Requests\Index.cshtml"
                     
                }

#line default
#line hidden
#nullable disable
            WriteLiteral(@"            </tbody>
        </table>
    </div>
    <div class=""col-4""></div>
</div>

<script>
    window.
        onload
        = function () {
            Particles.
                init
                ({
                    selector:
                        '.background'
                });
        };
    var particles = Particles.init({
        selector: '.background',
        color: ['#DA0463', '#404B69', '#DBEDF3'],
        connectParticles: true
    });
</script>
<canvas class=""background""></canvas>

");
        }
        #pragma warning restore 1998
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<Shared_Traveling.ViewModels.Requests.IndexVM> Html { get; private set; }
    }
}
#pragma warning restore 1591
