#pragma checksum "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Zone\Overwiev.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b0b5d3b9843b2acdcc8e3e6a72c0d48d693ce9c9"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(PositioningWebApp.Pages.Home.Zone.Pages_Home_Zone_Overwiev), @"mvc.1.0.razor-page", @"/Pages/Home/Zone/Overwiev.cshtml")]
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(@"/Pages/Home/Zone/Overwiev.cshtml", typeof(PositioningWebApp.Pages.Home.Zone.Pages_Home_Zone_Overwiev), null)]
namespace PositioningWebApp.Pages.Home.Zone
{
    #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", @"b0b5d3b9843b2acdcc8e3e6a72c0d48d693ce9c9", @"/Pages/Home/Zone/Overwiev.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"d829c5a2c2b9104486fa2eb5a1f7aeaef29f88eb", @"/Pages/_ViewImports.cshtml")]
    public class Pages_Home_Zone_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("value", "null", 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("asp-page", "/Home/Zone/EditZone", 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("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_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/js/Zone.js"), 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("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.TagHelpers.OptionTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper;
        private global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper;
        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\Zone\Overwiev.cshtml"
  
	ViewData["Title"] = "Zone";

#line default
#line hidden
            BeginContext(96, 429, true);
            WriteLiteral(@"
<style>
	/* Always set the map height explicitly to define the size of the div
	   * element that contains the map. */
	#map {
		height: 500px;
		width: 100%;
	}
	/* Optional: Makes the sample page fill the window. */
	html, body {
		height: 100%;
		margin: 0;
		padding: 0;
	}
</style>

<div class=""row"">
	<div class=""col-md-12 col-sm-12 col-xs-12"">
		<div>
			<div class=""col-md-9 col-sm-9 col-xs-12"">
				");
            EndContext();
            BeginContext(526, 84, false);
#line 26 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Zone\Overwiev.cshtml"
           Write(Html.LabelFor(z => z.ZoneViewModel.Title, new { @class = "col-md-2 control-label" }));

#line default
#line hidden
            EndContext();
            BeginContext(610, 6, true);
            WriteLiteral("\r\n\t\t\t\t");
            EndContext();
            BeginContext(617, 103, false);
#line 27 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Zone\Overwiev.cshtml"
           Write(Html.TextBoxFor(z => z.ZoneViewModel.Title, new { @class = "col-md-2 control-label", id = "nameZone" }));

#line default
#line hidden
            EndContext();
            BeginContext(720, 101, true);
            WriteLiteral("\r\n\t\t\t\t<div class=\"col-md-3 form-group\">\r\n\t\t\t\t\t<select id=\"selectDevice\" class=\"form-control\">\r\n\t\t\t\t\t\t");
            EndContext();
            BeginContext(821, 43, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3524b3ac77c44273bf1aa0093e07de7c", async() => {
                BeginContext(842, 13, true);
                WriteLiteral("Select device");
                EndContext();
            }
            );
            __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(864, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 31 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Zone\Overwiev.cshtml"
                         foreach (var item in Model.DeviceZone)
						{

#line default
#line hidden
            BeginContext(922, 7, true);
            WriteLiteral("\t\t\t\t\t\t\t");
            EndContext();
            BeginContext(929, 95, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0a31a05ad00c4243b81fb283f9ea9212", async() => {
                BeginContext(986, 29, false);
#line 33 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Zone\Overwiev.cshtml"
                                                                               Write(Html.ValueFor(d => item.Name));

#line default
#line hidden
                EndContext();
            }
            );
            __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
            BeginWriteTagHelperAttribute();
#line 33 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Zone\Overwiev.cshtml"
                               WriteLiteral(Html.ValueFor(d => item.Identificator));

#line default
#line hidden
            __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
            __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = __tagHelperStringValueBuffer;
            __tagHelperExecutionContext.AddTagHelperAttribute("value", __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1024, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 34 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Zone\Overwiev.cshtml"
						}

#line default
#line hidden
            BeginContext(1035, 469, true);
            WriteLiteral(@"					</select>
				</div>

				<div id=""map""></div>
				<button class=""btn btn-info"" id=""send"">Save</button>
			</div>
			<div class=""col-md-3 col-sm-3 col-xs-12 bg-white"">
				<div class=""x_title"">
					<h2>Your zones</h2>
					<br />
					<table class=""table"" id=""zoneTable"">
						<thead>
							<tr>
								<th scope=""col"">Name</th>
								<th scope=""col"">Edit</th>
								<th scope=""col"">Delete</th>
							</tr>
						</thead>
						<tbody>
");
            EndContext();
#line 54 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Zone\Overwiev.cshtml"
                             foreach (var d in Model.ListZones)
							{

#line default
#line hidden
            BeginContext(1558, 39, true);
            WriteLiteral("\t\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t\t");
            EndContext();
            BeginContext(1598, 7, false);
#line 58 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Zone\Overwiev.cshtml"
                                   Write(d.Title);

#line default
#line hidden
            EndContext();
            BeginContext(1605, 31, true);
            WriteLiteral("\r\n\t\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\t<td>");
            EndContext();
            BeginContext(1636, 86, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "be3381dcd3994720acd51ff480948a0a", async() => {
                BeginContext(1691, 27, true);
                WriteLiteral("<i class=\"fas fa-edit\"></i>");
                EndContext();
            }
            );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
            {
                throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
            }
            BeginWriteTagHelperAttribute();
#line 60 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Zone\Overwiev.cshtml"
                                                                            WriteLiteral(d.Id);

#line default
#line hidden
            __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
            __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1722, 47, true);
            WriteLiteral("</td>\r\n\t\t\t\t\t\t\t\t\t<td><i class=\"fas fa-trash-alt\"");
            EndContext();
            BeginWriteAttribute("onclick", " onclick=\"", 1769, "\"", 1796, 3);
            WriteAttributeValue("", 1779, "deleteZone(", 1779, 11, true);
#line 61 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Zone\Overwiev.cshtml"
WriteAttributeValue("", 1790, d.Id, 1790, 5, false);

#line default
#line hidden
            WriteAttributeValue("", 1795, ")", 1795, 1, true);
            EndWriteAttribute();
            BeginContext(1797, 27, true);
            WriteLiteral("></i></td>\r\n\t\t\t\t\t\t\t\t</tr>\r\n");
            EndContext();
#line 63 "C:\Users\Martin\Documents\diplomaproject\PositioningWebApp\PositioningWebApp\Pages\Home\Zone\Overwiev.cshtml"
							}

#line default
#line hidden
            BeginContext(1834, 83, true);
            WriteLiteral("\t\t\t\t\t\t</tbody>\r\n\t\t\t\t\t</table>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n\r\n");
            EndContext();
            BeginContext(1917, 77, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f02e49092dd340b6b83b840b511e0d5f", async() => {
                BeginContext(1983, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
            );
            __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();
            EndContext();
            BeginContext(1994, 145, true);
            WriteLiteral("\r\n<script src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSyAmZrJ6NsLlovYi8bJtEtdDb7eIkmR7RnY&callback=getLocation\"\r\n\t\tasync defer></script>");
            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.Zone.ZoneModel> Html { get; private set; }
        public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PositioningWebApp.Pages.Home.Zone.ZoneModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PositioningWebApp.Pages.Home.Zone.ZoneModel>)PageContext?.ViewData;
        public PositioningWebApp.Pages.Home.Zone.ZoneModel Model => ViewData.Model;
    }
}
#pragma warning restore 1591
