#pragma checksum "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "71ceecd50ee1282845933ff9aa8ba79becba3228"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(PositioningWebApp.Pages.Home.Pages_Home_LogBook), @"mvc.1.0.razor-page", @"/Pages/Home/LogBook.cshtml")]
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(@"/Pages/Home/LogBook.cshtml", typeof(PositioningWebApp.Pages.Home.Pages_Home_LogBook), null)]
namespace PositioningWebApp.Pages.Home
{
    #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", @"71ceecd50ee1282845933ff9aa8ba79becba3228", @"/Pages/Home/LogBook.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"d829c5a2c2b9104486fa2eb5a1f7aeaef29f88eb", @"/Pages/_ViewImports.cshtml")]
    public class Pages_Home_LogBook : 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/LogBook.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\LogBook.cshtml"
  
    ViewData["Title"] = "LogBook";
    Layout = "~/Pages/Shared/_Layout.cshtml";

#line default
#line hidden
            BeginContext(147, 149, true);
            WriteLiteral("<style>\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 16 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
         if (Model.ListLogBooks.Count != 0)
		{


#line default
#line hidden
            BeginContext(342, 431, true);
            WriteLiteral(@"			<div class=""col-md-9 col-sm-9 col-xs-12"">


				<table class=""table"" id=""logBookTable"">

					<thead>
						<tr>
							<th scope=""col"">#</th>
							<th scope=""col"">Name</th>
							<th scope=""col"">Identificator</th>
							<th scope=""col"">User</th>
							<th scope=""col"">First record</th>
							<th scope=""col"">Last record</th>
							<th scope=""col"">Get Logbook</th>
						</tr>
					</thead>
					<tbody>
");
            EndContext();
#line 36 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
                         for (int i = 1; i < Model.ListLogBooks.Count + 1; i++)
						{

#line default
#line hidden
            BeginContext(845, 25, true);
            WriteLiteral("\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(871, 1, false);
#line 39 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
                               Write(i);

#line default
#line hidden
            EndContext();
            BeginContext(872, 19, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(892, 36, false);
#line 40 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
                               Write(Model.ListLogBooks[i - 1].NameDevice);

#line default
#line hidden
            EndContext();
            BeginContext(928, 19, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(948, 39, false);
#line 41 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
                               Write(Model.ListLogBooks[i - 1].Identificator);

#line default
#line hidden
            EndContext();
            BeginContext(987, 19, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(1007, 35, false);
#line 42 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
                               Write(Model.ListLogBooks[i - 1].FirstName);

#line default
#line hidden
            EndContext();
            BeginContext(1042, 1, true);
            WriteLiteral(" ");
            EndContext();
            BeginContext(1044, 33, false);
#line 42 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
                                                                    Write(Model.ListLogBooks[i - 1].Surname);

#line default
#line hidden
            EndContext();
            BeginContext(1077, 19, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(1097, 41, false);
#line 43 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
                               Write(Model.ListLogBooks[i - 1].FirstRecord.Day);

#line default
#line hidden
            EndContext();
            BeginContext(1138, 2, true);
            WriteLiteral(". ");
            EndContext();
            BeginContext(1141, 43, false);
#line 43 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
                                                                           Write(Model.ListLogBooks[i - 1].FirstRecord.Month);

#line default
#line hidden
            EndContext();
            BeginContext(1184, 2, true);
            WriteLiteral(". ");
            EndContext();
            BeginContext(1187, 42, false);
#line 43 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
                                                                                                                         Write(Model.ListLogBooks[i - 1].FirstRecord.Year);

#line default
#line hidden
            EndContext();
            BeginContext(1229, 19, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(1249, 40, false);
#line 44 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
                               Write(Model.ListLogBooks[i - 1].LastRecord.Day);

#line default
#line hidden
            EndContext();
            BeginContext(1289, 2, true);
            WriteLiteral(". ");
            EndContext();
            BeginContext(1292, 42, false);
#line 44 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
                                                                          Write(Model.ListLogBooks[i - 1].LastRecord.Month);

#line default
#line hidden
            EndContext();
            BeginContext(1334, 2, true);
            WriteLiteral(". ");
            EndContext();
            BeginContext(1337, 41, false);
#line 44 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
                                                                                                                       Write(Model.ListLogBooks[i - 1].LastRecord.Year);

#line default
#line hidden
            EndContext();
            BeginContext(1378, 18, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t<td");
            EndContext();
            BeginWriteAttribute("onclick", " onclick=\"", 1396, "\"", 1451, 3);
            WriteAttributeValue("", 1406, "download(", 1406, 9, true);
#line 45 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
WriteAttributeValue("", 1415, Model.ListLogBooks[i - 1].IdDevice, 1415, 35, false);

#line default
#line hidden
            WriteAttributeValue("", 1450, ")", 1450, 1, true);
            EndWriteAttribute();
            BeginContext(1452, 58, true);
            WriteLiteral("><i class=\"fas fa-file-download\"></i></td>\r\n\t\t\t\t\t\t\t</tr>\r\n");
            EndContext();
#line 47 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
						}

#line default
#line hidden
            BeginContext(1519, 481, true);
            WriteLiteral(@"
					</tbody>

				</table>
			</div>
			<div class=""col-md-3 col-sm-3 col-xs-12 bg-white"">
				<div class=""x_title"">
					<h2>Select date</h2>
					<br />
					<div class=""clearfix""></div>
					<div>
						<i class=""fas fa-calendar-day""></i><input type=""date"" id=""dateFrom"" placeholder=""From"" />
					</div>
					<br />
					<div>
						<i class=""fas fa-calendar-day""></i><input type=""date"" id=""dateTo"" placeholder=""To"" />
					</div>


				</div>
			</div>
");
            EndContext();
#line 69 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
		}
		else {

#line default
#line hidden
            BeginContext(2015, 50, true);
            WriteLiteral("\t\t\t<h3>Looks like you have no logbooks yet.</h3>\r\n");
            EndContext();
#line 72 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\LogBook.cshtml"
		}

#line default
#line hidden
            BeginContext(2070, 19, true);
            WriteLiteral("\t</div>\r\n</div>\r\n\r\n");
            EndContext();
            BeginContext(2089, 81, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7dc1f3c6be7144bfb294de35a8d9b817", 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();
            BeginContext(2170, 2, true);
            WriteLiteral("\r\n");
            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.LogBookModel> Html { get; private set; }
        public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PositioningWebApp.Pages.Home.LogBookModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PositioningWebApp.Pages.Home.LogBookModel>)PageContext?.ViewData;
        public PositioningWebApp.Pages.Home.LogBookModel Model => ViewData.Model;
    }
}
#pragma warning restore 1591
