#pragma checksum "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "69fb85b2b439fe0874e25ffb0d9590a8033cd024"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_TravelPost_Aplications), @"mvc.1.0.view", @"/Views/TravelPost/Aplications.cshtml")]
namespace AspNetCore
{
    #line hidden
    using System;
    using System.Collections.Generic;
    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\TravelPost\Aplications.cshtml"
using Microsoft.AspNetCore.Http;

#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
using Shared_Traveling.Entities;

#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
using System.Linq;

#line default
#line hidden
#nullable disable
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"69fb85b2b439fe0874e25ffb0d9590a8033cd024", @"/Views/TravelPost/Aplications.cshtml")]
    public class Views_TravelPost_Aplications : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<Shared_Traveling.ViewModels.TravelPosts.AplicationVM>
    {
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#nullable restore
#line 5 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
  
    ViewData["Title"] = "Aplications";
    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>

<section class=""jumbotron text-center"" style=""opacity: 0.9"">
    <div class=""container"">
        <h1 class=""jumbotron-heading"" style="" color: #111; font-family: 'Helvetica Neue', sans-serif; font-size: 100px; font-weight: bold; letter-spacing: -1px; line-height: 1; text-align: center;"">My Travel Requests</h1>
    </div>
</section>

<div class=""row"">
    <div class=""col-5""></div>
    <div class=""col-2"">
        <c");
            WriteLiteral(@"enter>
            <a href=""/TravelPost/MyApprovedRequests"">
                <button class=""btn btn-primary btn-block btn-lg"">My Approved Requests</button>
            </a>
        </center>
    </div>
    <div class=""col-5""></div>
</div>
<br />
<br />

<div class=""row"">
    <div class=""col-3"">

    </div>
    <div class=""col-6"">
        <table id=""myTable"" class=""borderless-table"">
            <thead>
                <tr>
                    <th scope=""col""></th>
                </tr>
            </thead>
            <tbody>
");
#nullable restore
#line 55 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                 if (Model.Items != null)
                {
                    

#line default
#line hidden
#nullable disable
#nullable restore
#line 57 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                     foreach (TravelPost item in Model.Items)
                    {

#line default
#line hidden
#nullable disable
            WriteLiteral("                        <tr>\r\n                            <td>\r\n                                <div class=\"card\">\r\n                                    <div class=\"card-header\">\r\n");
#nullable restore
#line 63 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                                         foreach (User u in Model.Users)
                                        {
                                            if (u.Id == item.UserId)
                                            {

#line default
#line hidden
#nullable disable
            WriteLiteral("                                                <span>");
#nullable restore
#line 67 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                                                 Write(u.FirstName);

#line default
#line hidden
#nullable disable
            WriteLiteral(" ");
#nullable restore
#line 67 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                                                              Write(u.LastName);

#line default
#line hidden
#nullable disable
            WriteLiteral(" (");
#nullable restore
#line 67 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                                                                           Write(u.Username);

#line default
#line hidden
#nullable disable
            WriteLiteral(")</span>\r\n");
#nullable restore
#line 68 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                                            }
                                        }

#line default
#line hidden
#nullable disable
            WriteLiteral("                                    </div>\r\n                                    <div class=\"card-body\">\r\n                                        <h5 class=\"card-title\">\r\n                                            ");
#nullable restore
#line 73 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                                       Write(item.CityOfDeparture);

#line default
#line hidden
#nullable disable
            WriteLiteral(" (");
#nullable restore
#line 73 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                                                              Write(item.HourOfDeparture);

#line default
#line hidden
#nullable disable
            WriteLiteral(") - ");
#nullable restore
#line 73 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                                                                                       Write(item.CityOfDestination);

#line default
#line hidden
#nullable disable
            WriteLiteral(" (");
#nullable restore
#line 73 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                                                                                                                Write(item.HourOfDestination);

#line default
#line hidden
#nullable disable
            WriteLiteral(")<br />\r\n                                            Available Seats: ");
#nullable restore
#line 74 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                                                        Write(item.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 77 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                                                                              Write(item.AddressOfDeparture);

#line default
#line hidden
#nullable disable
            WriteLiteral("<br />\r\n                                            <strong>Address of destination</strong>: ");
#nullable restore
#line 78 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                                                                                Write(item.AddressOfDestination);

#line default
#line hidden
#nullable disable
            WriteLiteral("<br />\r\n                                            <strong>Price</strong>: ");
#nullable restore
#line 79 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                                                               Write(Math.Round(item.Price, 2));

#line default
#line hidden
#nullable disable
            WriteLiteral(" leva\r\n                                        </p>\r\n                                    </div>\r\n                                </div>\r\n                                <br />\r\n                            </td>\r\n                        </tr>\r\n");
#nullable restore
#line 86 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                    }

#line default
#line hidden
#nullable disable
#nullable restore
#line 86 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Aplications.cshtml"
                     
                }

#line default
#line hidden
#nullable disable
            WriteLiteral(@"            </tbody>
        </table>

    </div>

    <div class=""col-3"">

    </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.TravelPosts.AplicationVM> Html { get; private set; }
    }
}
#pragma warning restore 1591
