#pragma checksum "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "21d7dbf92716690d9b617deb4af6292c2943a300"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(PositioningWebApp.Pages.Home.Trip.Pages_Home_Trip_Overwiev), @"mvc.1.0.razor-page", @"/Pages/Home/Trip/Overwiev.cshtml")]
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(@"/Pages/Home/Trip/Overwiev.cshtml", typeof(PositioningWebApp.Pages.Home.Trip.Pages_Home_Trip_Overwiev), null)]
namespace PositioningWebApp.Pages.Home.Trip
{
    #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;
#line 1 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\_ViewImports.cshtml"
using PositioningWebApp;

#line default
#line hidden
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"21d7dbf92716690d9b617deb4af6292c2943a300", @"/Pages/Home/Trip/Overwiev.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"d829c5a2c2b9104486fa2eb5a1f7aeaef29f88eb", @"/Pages/_ViewImports.cshtml")]
    public class Pages_Home_Trip_Overwiev : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
    {
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", new global::Microsoft.AspNetCore.Html.HtmlString("text/javascript"), 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("~/js/Trip.js"), 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("charset", new global::Microsoft.AspNetCore.Html.HtmlString("utf-8"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        #line hidden
        #pragma warning disable 0169
        private string __tagHelperStringValueBuffer;
        #pragma warning restore 0169
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
        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()
        {
#line 3 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
  
	ViewData["Title"] = "Trips";
	Layout = "~/Pages/Shared/_Layout.cshtml";

#line default
#line hidden
            BeginContext(137, 198, true);
            WriteLiteral("\r\n<style>\r\n\t#map {\r\n\t\theight: 500px;\r\n\t\twidth: 100%;\r\n\t}\r\n\thtml, body {\r\n\t\theight: 100%;\r\n\t\tmargin: 0;\r\n\t\tpadding: 0;\r\n\t}\r\n</style>\r\n<div class=\"row\">\r\n\t<div class=\"col-md-12 col-sm-12 col-xs-12\">\r\n");
            EndContext();
#line 21 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
         if (Model.Trips.Count != 0)
		{


#line default
#line hidden
            BeginContext(374, 536, true);
            WriteLiteral(@"			<div>


				<table class=""table"" id=""tripTable"">

					<thead>
						<tr>
							<th scope=""col""></th>
							<th scope=""col"">#</th>
							<th scope=""col"">Name</th>
							<th scope=""col"">Identificator</th>
							<th scope=""col"">User</th>
							<th scope=""col"">Start</th>
							<th scope=""col"">Start destination</th>
							<th scope=""col"">End</th>
							<th scope=""col"">End destination</th>
							<th scope=""col"">Distance [m]</th>
							<th scope=""col"">Show</th>

						</tr>
					</thead>
					<tbody>
");
            EndContext();
#line 46 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
                         for (int i = 1; i < Model.Trips.Count + 1; i++)
						{

#line default
#line hidden
            BeginContext(975, 10, true);
            WriteLiteral("\t\t\t\t\t\t\t<tr");
            EndContext();
            BeginWriteAttribute("id", " id=\"", 985, "\"", 992, 1);
#line 48 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
WriteAttributeValue("", 990, i, 990, 2, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(993, 37, true);
            WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<td><input type=\"checkbox\"");
            EndContext();
            BeginWriteAttribute("value", " value=\"", 1030, "\"", 1072, 5);
            WriteAttributeValue("", 1038, "{", 1038, 1, true);
#line 49 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
WriteAttributeValue("", 1039, i, 1039, 2, false);

#line default
#line hidden
            WriteAttributeValue("", 1041, ",", 1041, 1, true);
#line 49 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
WriteAttributeValue(" ", 1042, Model.Trips[i - 1].IdDevice, 1043, 28, false);

#line default
#line hidden
            WriteAttributeValue("", 1071, "}", 1071, 1, true);
            EndWriteAttribute();
            BeginContext(1073, 22, true);
            WriteLiteral(" /></td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(1096, 1, false);
#line 50 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
                               Write(i);

#line default
#line hidden
            EndContext();
            BeginContext(1097, 19, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(1117, 29, false);
#line 51 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
                               Write(Model.Trips[i - 1].DeviceName);

#line default
#line hidden
            EndContext();
            BeginContext(1146, 19, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(1166, 32, false);
#line 52 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
                               Write(Model.Trips[i - 1].Identificator);

#line default
#line hidden
            EndContext();
            BeginContext(1198, 19, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(1218, 28, false);
#line 53 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
                               Write(Model.Trips[i - 1].FirstName);

#line default
#line hidden
            EndContext();
            BeginContext(1246, 1, true);
            WriteLiteral(" ");
            EndContext();
            BeginContext(1248, 26, false);
#line 53 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
                                                             Write(Model.Trips[i - 1].Surname);

#line default
#line hidden
            EndContext();
            BeginContext(1274, 19, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(1294, 28, false);
#line 54 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
                               Write(Model.Trips[i - 1].StartTrip);

#line default
#line hidden
            EndContext();
            BeginContext(1322, 19, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(1342, 35, false);
#line 55 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
                               Write(Model.Trips[i - 1].StartDestination);

#line default
#line hidden
            EndContext();
            BeginContext(1377, 19, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(1397, 26, false);
#line 56 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
                               Write(Model.Trips[i - 1].EndTrip);

#line default
#line hidden
            EndContext();
            BeginContext(1423, 19, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(1443, 33, false);
#line 57 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
                               Write(Model.Trips[i - 1].EndDestination);

#line default
#line hidden
            EndContext();
            BeginContext(1476, 19, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(1496, 25, false);
#line 58 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
                               Write(Model.Trips[i - 1].Length);

#line default
#line hidden
            EndContext();
            BeginContext(1521, 51, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td><i class=\"fas fa-map-marked-alt\"");
            EndContext();
            BeginWriteAttribute("onclick", " onclick=\"", 1572, "\"", 1624, 5);
            WriteAttributeValue("", 1582, "showTrip(", 1582, 9, true);
#line 59 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
WriteAttributeValue("", 1591, i, 1591, 2, false);

#line default
#line hidden
            WriteAttributeValue("", 1593, ",", 1593, 1, true);
#line 59 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
WriteAttributeValue(" ", 1594, Model.Trips[i - 1].IdDevice, 1595, 28, false);

#line default
#line hidden
            WriteAttributeValue("", 1623, ")", 1623, 1, true);
            EndWriteAttribute();
            BeginContext(1625, 26, true);
            WriteLiteral("></i></td>\r\n\t\t\t\t\t\t\t</tr>\r\n");
            EndContext();
#line 61 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
						}

#line default
#line hidden
            BeginContext(1660, 153, true);
            WriteLiteral("\r\n\t\t\t\t\t</tbody>\r\n\r\n\t\t\t\t</table>\r\n\t\t\t\t<button onclick=\"print()\" class=\"btn btn-info\">Download selected</button>\r\n\t\t\t</div>\r\n\t\t\t<div id=\"map\">\r\n\t\t\t</div>\r\n");
            EndContext();
#line 70 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
		}
		else
		{

#line default
#line hidden
            BeginContext(1831, 47, true);
            WriteLiteral("\t\t\t<h3>Looks like you have no trips yet.</h3>\r\n");
            EndContext();
#line 74 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Trip\Overwiev.cshtml"
		}

#line default
#line hidden
            BeginContext(1883, 166, true);
            WriteLiteral("\t</div>\r\n</div>\r\n\r\n<script src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSyAmZrJ6NsLlovYi8bJtEtdDb7eIkmR7RnY&callback=getLocation\"\r\n\t\tasync defer></script>\r\n\r\n");
            EndContext();
            BeginContext(2049, 78, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "78314a404f6744f196dcd50cf9666194", 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);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
        }
        #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<PositioningWebApp.Pages.Home.TripsModel> Html { get; private set; }
        public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PositioningWebApp.Pages.Home.TripsModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PositioningWebApp.Pages.Home.TripsModel>)PageContext?.ViewData;
        public PositioningWebApp.Pages.Home.TripsModel Model => ViewData.Model;
    }
}
#pragma warning restore 1591
