#pragma checksum "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c1050b4ec423b1824ad455510e6ad8c982d2b4e1"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_TravelPost_Index), @"mvc.1.0.view", @"/Views/TravelPost/Index.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\Index.cshtml"
using Shared_Traveling.Entities;

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

#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Index.cshtml"
using Microsoft.AspNetCore.Http;

#line default
#line hidden
#nullable disable
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c1050b4ec423b1824ad455510e6ad8c982d2b4e1", @"/Views/TravelPost/Index.cshtml")]
    public class Views_TravelPost_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<Shared_Traveling.ViewModels.TravelPosts.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/pen.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("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_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("width", new global::Microsoft.AspNetCore.Html.HtmlString("30"), 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/increase.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("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/images/trash.png"), 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/edit.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 5 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\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>

<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;"">Posts</h1>
    </div>
</section>
<br />
<br />
<div class=""row"">
    <div class=""col-3""></div>
    <div class=""col-2"">
        <");
            WriteLiteral("a href=\"/TravelPost/Create\">\r\n            ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c1050b4ec423b1824ad455510e6ad8c982d2b4e17026", 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(@"
        </a>
    </div>
    <div class=""col-2"">
        <center>
            <a href=""/TravelPost/MyApprovedRequests"">
                <button class=""btn btn-primary btn-block btn-lg"">My Approved Requests</button>
            </a>
        </center>
    </div>
    <div class=""col-2"">
        <a style=""float:right"" href=""/Home/Index"">
            ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c1050b4ec423b1824ad455510e6ad8c982d2b4e18508", 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_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            WriteLiteral(@"
        </a>
    </div>
    <div class=""col-3""></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 65 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Index.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 71 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Index.cshtml"
                               Write(Model.User.FirstName);

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

#line default
#line hidden
#nullable disable
            WriteLiteral(" (");
#nullable restore
#line 71 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\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 75 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Index.cshtml"
                                   Write(item.CityOfDeparture);

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

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

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

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

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

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

#line default
#line hidden
#nullable disable
            WriteLiteral(" leva\r\n                                    </p>\r\n                                    <a style=\"margin-right:15px\"");
            BeginWriteAttribute("href", " href=\"", 3372, "\"", 3412, 2);
            WriteAttributeValue("", 3379, "/Requests/Index?ParentId=", 3379, 25, true);
#nullable restore
#line 83 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Index.cshtml"
WriteAttributeValue("", 3404, item.Id, 3404, 8, false);

#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(">\r\n                                        ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c1050b4ec423b1824ad455510e6ad8c982d2b4e114957", 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_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                                    </a>\r\n                                    <a style=\"float:right; margin-left:15px\"");
            BeginWriteAttribute("href", " href=\"", 3622, "\"", 3659, 2);
            WriteAttributeValue("", 3629, "/TravelPost/Delete?id=", 3629, 22, true);
#nullable restore
#line 86 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Index.cshtml"
WriteAttributeValue("", 3651, item.Id, 3651, 8, false);

#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(">\r\n                                        ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c1050b4ec423b1824ad455510e6ad8c982d2b4e116686", 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_3);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            WriteLiteral("\r\n                                    </a>\r\n                                    <a style=\"float:right\"");
            BeginWriteAttribute("href", " href=\"", 3848, "\"", 3883, 2);
            WriteAttributeValue("", 3855, "/TravelPost/Edit?id=", 3855, 20, true);
#nullable restore
#line 89 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Index.cshtml"
WriteAttributeValue("", 3875, item.Id, 3875, 8, false);

#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(">\r\n                                        ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c1050b4ec423b1824ad455510e6ad8c982d2b4e118395", 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_3);
            __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                                </div>\r\n                            </div>\r\n                            <br />\r\n                        </td>\r\n                    </tr>\r\n");
#nullable restore
#line 97 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Index.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.IndexVM> Html { get; private set; }
    }
}
#pragma warning restore 1591
