#pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "input-group mb-3");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.OpenElement(3, "input");
            __builder.AddAttribute(4, "type", "hidden");
            __builder.AddAttribute(5, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 7 "C:\Users\smj\source\repos\lms\Shared\PeoplePicker.razor"
                                       id

#line default
#line hidden
                                       ));
            __builder.AddAttribute(6, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => id = __value, id));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(7, "\r\n    ");
            __builder.OpenElement(8, "input");
            __builder.AddAttribute(9, "type", "text");
            __builder.AddAttribute(10, "class", "form-control" + " " + (
#line 8 "C:\Users\smj\source\repos\lms\Shared\PeoplePicker.razor"
                                       validation

#line default
#line hidden
                                       ));
            __builder.AddAttribute(11, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 8 "C:\Users\smj\source\repos\lms\Shared\PeoplePicker.razor"
                                       name

#line default
#line hidden
                                       ));
            __builder.AddAttribute(12, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => name = __value, name));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(13, "\r\n    ");
            __builder.OpenElement(14, "div");
            __builder.AddAttribute(15, "class", "input-group-append");
            __builder.AddMarkupContent(16, "\r\n        ");
            __builder.OpenElement(17, "button");
            __builder.AddAttribute(18, "class", "btn btn-outline-secondary");
            __builder.AddAttribute(19, "type", "button");
            __builder.AddAttribute(20, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 10 "C:\Users\smj\source\repos\lms\Shared\PeoplePicker.razor"
                                                                                                                                                                    async() => await getUserListAsync()

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(21, "Check");
            __builder.CloseElement();
            __builder.AddMarkupContent(22, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(23, "\r\n");
            __builder.CloseElement();
        }
Beispiel #2
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "select");
            __builder.AddAttribute(1, "class", "form-control col-3");
            __builder.AddAttribute(2, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 4 "C:\Users\AbdulAbdulbawab\Desktop\BlazorApp-master\CuriousDriveRazorLibrary\CuriousDriveRazorLibrary\SelectCity.razor"
                                       CurrentCity

#line default
#line hidden
                                       ));
            __builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => CurrentCity = __value, CurrentCity));
            __builder.SetUpdatesAttributeName("value");
            __builder.AddMarkupContent(4, "\n");
#line 5 "C:\Users\AbdulAbdulbawab\Desktop\BlazorApp-master\CuriousDriveRazorLibrary\CuriousDriveRazorLibrary\SelectCity.razor"
            if (@Cities != null)
            {
#line default
#line hidden
                __builder.AddContent(5, "        ");
                __builder.OpenElement(6, "option");
                __builder.AddAttribute(7, "value", true);
                __builder.AddContent(8, "select city..");
                __builder.CloseElement();
                __builder.AddMarkupContent(9, "\n");
#line 8 "C:\Users\AbdulAbdulbawab\Desktop\BlazorApp-master\CuriousDriveRazorLibrary\CuriousDriveRazorLibrary\SelectCity.razor"
                foreach (var city in Cities)
                {
#line default
#line hidden
                    __builder.AddContent(10, "            ");
                    __builder.OpenElement(11, "option");
                    __builder.AddAttribute(12, "value",
#line 10 "C:\Users\AbdulAbdulbawab\Desktop\BlazorApp-master\CuriousDriveRazorLibrary\CuriousDriveRazorLibrary\SelectCity.razor"
                                           city

#line default
#line hidden
                                           );
                    __builder.AddContent(13,
#line 10 "C:\Users\AbdulAbdulbawab\Desktop\BlazorApp-master\CuriousDriveRazorLibrary\CuriousDriveRazorLibrary\SelectCity.razor"
                                         city

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(14, "\n");
#line 11 "C:\Users\AbdulAbdulbawab\Desktop\BlazorApp-master\CuriousDriveRazorLibrary\CuriousDriveRazorLibrary\SelectCity.razor"
                }

#line default
#line hidden
#line 11 "C:\Users\AbdulAbdulbawab\Desktop\BlazorApp-master\CuriousDriveRazorLibrary\CuriousDriveRazorLibrary\SelectCity.razor"
            }

#line default
#line hidden
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.AddMarkupContent(0, "<h3>Binding</h3>\r\n");
            __builder.OpenElement(1, "input");
            __builder.AddAttribute(2, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 4 "C:\Users\Lenovo\source\repos\BlazorIntro\BlazorIntro\Pages\Binding.razor"
                                       FirstName

#line default
#line hidden
                                       ));
            __builder.AddAttribute(3, "oninput", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => FirstName = __value, FirstName));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(4, "\r\n\r\n");
            __builder.OpenElement(5, "h3");
            __builder.AddContent(6,
#line 6 "C:\Users\Lenovo\source\repos\BlazorIntro\BlazorIntro\Pages\Binding.razor"
                                 FirstName

#line default
#line hidden
                                 );
            __builder.CloseElement();
        }
Beispiel #4
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "input");
            __builder.AddAttribute(1, "type", "text");
            __builder.AddAttribute(2, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
                                       CurrentDate

#line default
#line hidden
#nullable disable
                                       , format:
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
                                       Format

#line default
#line hidden
#nullable disable
                                       ));
            __builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => CurrentDate = __value, CurrentDate, format: Format));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddMarkupContent(1, "\r\n  ");
            __builder.OpenElement(2, "input");
            __builder.AddAttribute(3, "type", "text");
            __builder.AddAttribute(4, "oninput", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.UIChangeEventArgs>(this,
#nullable restore
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
                                                                                                                                                                  () => {}

#line default
#line hidden
#nullable disable
                                                                                                                                                                  ));
            __builder.AddAttribute(5, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
                                       text

#line default
#line hidden
#nullable disable
                                       ));
            __builder.AddAttribute(6, "oninput", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => text = __value, text));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(7, "\r\n");
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "h1");
            __builder.AddContent(1,
#line 3 "C:\Users\samue\Documents\GitHub\Blazor - Componentes\Blazor-Componentes\22_Blazor_Tarefas_invoca_CSharp\Blazor_Tarefas\Blazor_Tarefas\Pages\DataBinding.razor"
                                 nome

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(2, "\r\n\r\n<hr>\r\n\r\n");
            __builder.OpenElement(3, "input");
            __builder.AddAttribute(4, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 7 "C:\Users\samue\Documents\GitHub\Blazor - Componentes\Blazor-Componentes\22_Blazor_Tarefas_invoca_CSharp\Blazor_Tarefas\Blazor_Tarefas\Pages\DataBinding.razor"
                                       nome

#line default
#line hidden
                                       ));
            __builder.AddAttribute(5, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => nome = __value, nome));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(6, "\r\n<hr>\r\n");
            __builder.OpenElement(7, "input");
            __builder.AddAttribute(8, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 9 "C:\Users\samue\Documents\GitHub\Blazor - Componentes\Blazor-Componentes\22_Blazor_Tarefas_invoca_CSharp\Blazor_Tarefas\Blazor_Tarefas\Pages\DataBinding.razor"
                                       nome

#line default
#line hidden
                                       ));
            __builder.AddAttribute(9, "oninput", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => nome = __value, nome));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "myvalue", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
                                       ParentValue

#line default
#line hidden
#nullable disable
                                       ));
            __builder.AddAttribute(2, "anotherevent", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => ParentValue = __value, ParentValue));
            __builder.SetUpdatesAttributeName("myvalue");
            __builder.CloseElement();
        }
Beispiel #8
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "input");
            __builder.AddAttribute(1, "type", "text");
            __builder.AddAttribute(2, "placeholder", "(99) 99999-9999");
            __builder.AddAttribute(3, "class",
#line 5 "C:\Users\rafae\OneDrive\Documentos\coding\dotnet\MaskFields\MaskFields\InputPhone.razor"
                                   CssClass

#line default
#line hidden
                                   );
            __builder.AddAttribute(4, "name",
#line 6 "C:\Users\rafae\OneDrive\Documentos\coding\dotnet\MaskFields\MaskFields\InputPhone.razor"
                                   Name

#line default
#line hidden
                                   );
            __builder.AddAttribute(5, "maxlength", "15");
            __builder.AddAttribute(6, "id",
#line 9 "C:\Users\rafae\OneDrive\Documentos\coding\dotnet\MaskFields\MaskFields\InputPhone.razor"
                                   Id

#line default
#line hidden
                                   );
            __builder.AddAttribute(7, "oninput", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.ChangeEventArgs>(this,
#line 9 "C:\Users\rafae\OneDrive\Documentos\coding\dotnet\MaskFields\MaskFields\InputPhone.razor"
                                                                                                                                                                HandleInput

#line default
#line hidden
                                                                                                                                                                ));
            __builder.AddAttribute(8, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 7 "C:\Users\rafae\OneDrive\Documentos\coding\dotnet\MaskFields\MaskFields\InputPhone.razor"
                                       CurrentValueAsString

#line default
#line hidden
                                       ));
            __builder.AddAttribute(9, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => CurrentValueAsString = __value, CurrentValueAsString));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
        }
Beispiel #9
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "input");
            __builder.AddAttribute(1, "type", "password");
            __builder.AddAttribute(2, "class",
#line 3 "C:\Users\Yorik\Desktop\Blazor_Movies\Movies_Blazor\Client\Shared\InputPassword.razor"
                                   CssClass

#line default
#line hidden
                                   );
            __builder.AddAttribute(3, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 3 "C:\Users\Yorik\Desktop\Blazor_Movies\Movies_Blazor\Client\Shared\InputPassword.razor"
                                       CurrentValue

#line default
#line hidden
                                       ));
            __builder.AddAttribute(4, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => CurrentValue = __value, CurrentValue));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "p");
            __builder.AddContent(1, "Current count: ");
            __builder.AddContent(2,
#line 3 "C:\Users\Yorik\Desktop\Blazor_Movies\Movies_Blazor\Client\Pages\Counter.razor"
                                 currentCount

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(3, "\r\n\r\n");
            __builder.OpenElement(4, "button");
            __builder.AddAttribute(5, "class", "btn btn-primary");
            __builder.AddAttribute(6, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 5 "C:\Users\Yorik\Desktop\Blazor_Movies\Movies_Blazor\Client\Pages\Counter.razor"
                                                                                                                                                                   IncrementCount

#line default
#line hidden
                                                                                                                                                                   ));
            __builder.AddContent(7, "Click me");
            __builder.CloseElement();
            __builder.AddMarkupContent(8, "\r\n\r\n");
            __builder.OpenElement(9, "input");
            __builder.AddAttribute(10, "type", "number");
            __builder.AddAttribute(11, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 7 "C:\Users\Yorik\Desktop\Blazor_Movies\Movies_Blazor\Client\Pages\Counter.razor"
                                       currentCount

#line default
#line hidden
                                       , culture: global::System.Globalization.CultureInfo.InvariantCulture));
            __builder.AddAttribute(12, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => currentCount = __value, currentCount, culture: global::System.Globalization.CultureInfo.InvariantCulture));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
        }
Beispiel #11
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.AddMarkupContent(0, "<h1>Test Page</h1>\r\n\r\n");
            __builder.OpenElement(1, "p");
            __builder.AddContent(2, "Hi, my name is: ");
            __builder.AddContent(3,
#line 4 "C:\Users\brad\blazor-test\Pages\NameChanger.razor"
                                 name

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(4, "\r\n\r\n\r\n");
            __builder.OpenElement(5, "input");
            __builder.AddAttribute(6, "placeholder", "Name");
            __builder.AddAttribute(7, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 7 "C:\Users\brad\blazor-test\Pages\NameChanger.razor"
                                       newName

#line default
#line hidden
                                       ));
            __builder.AddAttribute(8, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => newName = __value, newName));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(9, "\r\n\r\n");
            __builder.OpenElement(10, "button");
            __builder.AddAttribute(11, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 9 "C:\Users\brad\blazor-test\Pages\NameChanger.razor"
                                                                                                                                                                    changeName

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(12, "Submit");
            __builder.CloseElement();
        }
Beispiel #12
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "h1");
            __builder.AddContent(1,
#line 3 "C:\Users\samue\Documents\GitHub\Blazor\Blazor_DataBinding\Blazor_DataBinding\Pages\Index.razor"
                                 Mensagem

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(2, "\r\n\r\n");
            __builder.OpenElement(3, "input");
            __builder.AddAttribute(4, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 5 "C:\Users\samue\Documents\GitHub\Blazor\Blazor_DataBinding\Blazor_DataBinding\Pages\Index.razor"
                                       Mensagem

#line default
#line hidden
                                       ));
            __builder.AddAttribute(5, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => Mensagem = __value, Mensagem));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
        }
Beispiel #13
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "table");
            __builder.AddAttribute(1, "class", "table table-borderless");
            __builder.AddMarkupContent(2, "\n    ");
            __builder.OpenElement(3, "tr");
            __builder.AddMarkupContent(4, "\n        ");
            __builder.OpenElement(5, "td");
            __builder.AddMarkupContent(6, "\n            ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(7);
            __builder.AddAttribute(8, "For", "version");
            __builder.AddAttribute(9, "HelpText", "Framework Version");
            __builder.AddAttribute(10, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(11, "Framework Version: ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(12, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(13, "\n        ");
            __builder.OpenElement(14, "td");
            __builder.AddMarkupContent(15, "\n            ");
            __builder.OpenElement(16, "input");
            __builder.AddAttribute(17, "id", "version");
            __builder.AddAttribute(18, "class", "form-control");
            __builder.AddAttribute(19, "readonly", true);
            __builder.AddAttribute(20, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 11 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/SystemInfo/Index.razor"
                                       _version

#line default
#line hidden
                                       ));
            __builder.AddAttribute(21, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _version = __value, _version));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(22, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(23, "\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(24, "\n    ");
            __builder.OpenElement(25, "tr");
            __builder.AddMarkupContent(26, "\n        ");
            __builder.OpenElement(27, "td");
            __builder.AddMarkupContent(28, "\n            ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(29);
            __builder.AddAttribute(30, "For", "runtime");
            __builder.AddAttribute(31, "HelpText", "Blazor Runtime (Server or WebAssembly)");
            __builder.AddAttribute(32, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(33, "Blazor Runtime: ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(34, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(35, "\n        ");
            __builder.OpenElement(36, "td");
            __builder.AddMarkupContent(37, "\n            ");
            __builder.OpenElement(38, "input");
            __builder.AddAttribute(39, "id", "runtime");
            __builder.AddAttribute(40, "class", "form-control");
            __builder.AddAttribute(41, "readonly", true);
            __builder.AddAttribute(42, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 19 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/SystemInfo/Index.razor"
                                       _runtime

#line default
#line hidden
                                       ));
            __builder.AddAttribute(43, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _runtime = __value, _runtime));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(44, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(45, "\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(46, "\n    ");
            __builder.OpenElement(47, "tr");
            __builder.AddMarkupContent(48, "\n        ");
            __builder.OpenElement(49, "td");
            __builder.AddMarkupContent(50, "\n            ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(51);
            __builder.AddAttribute(52, "For", "clrversion");
            __builder.AddAttribute(53, "HelpText", "Common Language Runtime Version");
            __builder.AddAttribute(54, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(55, "CLR Version: ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(56, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(57, "\n        ");
            __builder.OpenElement(58, "td");
            __builder.AddMarkupContent(59, "\n            ");
            __builder.OpenElement(60, "input");
            __builder.AddAttribute(61, "id", "clrversion");
            __builder.AddAttribute(62, "class", "form-control");
            __builder.AddAttribute(63, "readonly", true);
            __builder.AddAttribute(64, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 27 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/SystemInfo/Index.razor"
                                       _clrversion

#line default
#line hidden
                                       ));
            __builder.AddAttribute(65, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _clrversion = __value, _clrversion));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(66, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(67, "\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(68, "\n    ");
            __builder.OpenElement(69, "tr");
            __builder.AddMarkupContent(70, "\n        ");
            __builder.OpenElement(71, "td");
            __builder.AddMarkupContent(72, "\n            ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(73);
            __builder.AddAttribute(74, "For", "osversion");
            __builder.AddAttribute(75, "HelpText", "Operating System Version");
            __builder.AddAttribute(76, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(77, "OS Version: ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(78, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(79, "\n        ");
            __builder.OpenElement(80, "td");
            __builder.AddMarkupContent(81, "\n            ");
            __builder.OpenElement(82, "input");
            __builder.AddAttribute(83, "id", "osversion");
            __builder.AddAttribute(84, "class", "form-control");
            __builder.AddAttribute(85, "readonly", true);
            __builder.AddAttribute(86, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 35 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/SystemInfo/Index.razor"
                                       _osversion

#line default
#line hidden
                                       ));
            __builder.AddAttribute(87, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _osversion = __value, _osversion));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(88, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(89, "\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(90, "\n    ");
            __builder.OpenElement(91, "tr");
            __builder.AddMarkupContent(92, "\n        ");
            __builder.OpenElement(93, "td");
            __builder.AddMarkupContent(94, "\n            ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(95);
            __builder.AddAttribute(96, "For", "serverpath");
            __builder.AddAttribute(97, "HelpText", "Server Path");
            __builder.AddAttribute(98, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(99, "Server Path: ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(100, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(101, "\n        ");
            __builder.OpenElement(102, "td");
            __builder.AddMarkupContent(103, "\n            ");
            __builder.OpenElement(104, "input");
            __builder.AddAttribute(105, "id", "serverpath");
            __builder.AddAttribute(106, "class", "form-control");
            __builder.AddAttribute(107, "readonly", true);
            __builder.AddAttribute(108, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 43 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/SystemInfo/Index.razor"
                                       _serverpath

#line default
#line hidden
                                       ));
            __builder.AddAttribute(109, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _serverpath = __value, _serverpath));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(110, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(111, "\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(112, "\n    ");
            __builder.OpenElement(113, "tr");
            __builder.AddMarkupContent(114, "\n        ");
            __builder.OpenElement(115, "td");
            __builder.AddMarkupContent(116, "\n            ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(117);
            __builder.AddAttribute(118, "For", "servertime");
            __builder.AddAttribute(119, "HelpText", "Server Time");
            __builder.AddAttribute(120, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(121, "Server Time: ");
            }
                                                                                                         ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(122, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(123, "\n        ");
            __builder.OpenElement(124, "td");
            __builder.AddMarkupContent(125, "\n            ");
            __builder.OpenElement(126, "input");
            __builder.AddAttribute(127, "id", "servertime");
            __builder.AddAttribute(128, "class", "form-control");
            __builder.AddAttribute(129, "readonly", true);
            __builder.AddAttribute(130, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 51 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/SystemInfo/Index.razor"
                                       _servertime

#line default
#line hidden
                                       ));
            __builder.AddAttribute(131, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _servertime = __value, _servertime));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(132, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(133, "\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(134, "\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(135, "\n");
            __builder.AddMarkupContent(136, "<a class=\"btn btn-primary\" href=\"swagger/index.html\" target=\"_new\">Access Framework API</a>");
        }
Beispiel #14
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#line 9 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
            if (_initialized)
            {
#line default
#line hidden
                __builder.AddContent(0, "    ");
                __builder.OpenElement(1, "table");
                __builder.AddAttribute(2, "class", "table table-borderless");
                __builder.AddMarkupContent(3, "\n        ");
                __builder.OpenElement(4, "tr");
                __builder.AddMarkupContent(5, "\n            ");
                __builder.OpenElement(6, "td");
                __builder.AddMarkupContent(7, "\n                ");
                __builder.OpenComponent <Oqtane.Modules.Controls.Label>(8);
                __builder.AddAttribute(9, "For", "name");
                __builder.AddAttribute(10, "HelpText", "Enter the name of the site");
                __builder.AddAttribute(11, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(12, "Name: ");
                }
                                                                                                            ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(13, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(14, "\n            ");
                __builder.OpenElement(15, "td");
                __builder.AddMarkupContent(16, "\n                ");
                __builder.OpenElement(17, "input");
                __builder.AddAttribute(18, "id", "name");
                __builder.AddAttribute(19, "class", "form-control");
                __builder.AddAttribute(20, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 17 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                           _name

#line default
#line hidden
                                           ));
                __builder.AddAttribute(21, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _name = __value, _name));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(22, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(23, "\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(24, "\n        ");
                __builder.OpenElement(25, "tr");
                __builder.AddMarkupContent(26, "\n            ");
                __builder.OpenElement(27, "td");
                __builder.AddMarkupContent(28, "\n                ");
                __builder.OpenComponent <Oqtane.Modules.Controls.Label>(29);
                __builder.AddAttribute(30, "For", "tenant");
                __builder.AddAttribute(31, "HelpText", "Enter the tenant for the site");
                __builder.AddAttribute(32, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(33, "Tenant: ");
                }
                                                                                                            ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(34, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(35, "\n            ");
                __builder.OpenElement(36, "td");
                __builder.AddMarkupContent(37, "\n                ");
                __builder.OpenElement(38, "input");
                __builder.AddAttribute(39, "id", "tenant");
                __builder.AddAttribute(40, "class", "form-control");
                __builder.AddAttribute(41, "readonly", true);
                __builder.AddAttribute(42, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 25 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                           _tenant

#line default
#line hidden
                                           ));
                __builder.AddAttribute(43, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _tenant = __value, _tenant));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(44, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(45, "\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(46, "\n        ");
                __builder.OpenElement(47, "tr");
                __builder.AddMarkupContent(48, "\n            ");
                __builder.OpenElement(49, "td");
                __builder.AddMarkupContent(50, "\n                ");
                __builder.OpenComponent <Oqtane.Modules.Controls.Label>(51);
                __builder.AddAttribute(52, "For", "alias");
                __builder.AddAttribute(53, "HelpText", "Enter the alias for the server");
                __builder.AddAttribute(54, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(55, "Aliases: ");
                }
                                                                                                            ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(56, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(57, "\n            ");
                __builder.OpenElement(58, "td");
                __builder.AddMarkupContent(59, "\n                ");
                __builder.OpenElement(60, "textarea");
                __builder.AddAttribute(61, "id", "alias");
                __builder.AddAttribute(62, "class", "form-control");
                __builder.AddAttribute(63, "rows", "3");
                __builder.AddAttribute(64, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 33 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                           _urls

#line default
#line hidden
                                           ));
                __builder.AddAttribute(65, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _urls = __value, _urls));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(66, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(67, "\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(68, "\n        ");
                __builder.OpenElement(69, "tr");
                __builder.AddMarkupContent(70, "\n            ");
                __builder.OpenElement(71, "td");
                __builder.AddMarkupContent(72, "\n                ");
                __builder.OpenComponent <Oqtane.Modules.Controls.Label>(73);
                __builder.AddAttribute(74, "For", "defaultTheme");
                __builder.AddAttribute(75, "HelpText", "Select the default theme for the website");
                __builder.AddAttribute(76, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(77, "Default Theme: ");
                }
                                                                                                            ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(78, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(79, "\n            ");
                __builder.OpenElement(80, "td");
                __builder.AddMarkupContent(81, "\n                ");
                __builder.OpenElement(82, "select");
                __builder.AddAttribute(83, "id", "defaultTheme");
                __builder.AddAttribute(84, "class", "form-control");
                __builder.AddAttribute(85, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.ChangeEventArgs>(this,
#line 41 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                                                                                                                                                      (e => ThemeChanged(e))

#line default
#line hidden
                                                                                                                                                                      ));
                __builder.AddMarkupContent(86, "\n                    ");
                __builder.OpenElement(87, "option");
                __builder.AddAttribute(88, "value", "-");
                __builder.AddContent(89, "<Select Theme>");
                __builder.CloseElement();
                __builder.AddMarkupContent(90, "\n");
#line 43 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                foreach (var theme in _themes)
                {
                    if (theme.TypeName == _themetype)
                    {
#line default
#line hidden
                        __builder.AddContent(91, "                            ");
                        __builder.OpenElement(92, "option");
                        __builder.AddAttribute(93, "value",
#line 47 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                               theme.TypeName

#line default
#line hidden
                                               );
                        __builder.AddAttribute(94, "selected", true);
                        __builder.AddContent(95,
#line 47 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                             theme.Name

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(96, "\n");
#line 48 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                    }
                    else
                    {
#line default
#line hidden
                        __builder.AddContent(97, "                            ");
                        __builder.OpenElement(98, "option");
                        __builder.AddAttribute(99, "value",
#line 51 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                               theme.TypeName

#line default
#line hidden
                                               );
                        __builder.AddContent(100,
#line 51 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                             theme.Name

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(101, "\n");
#line 52 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                    }
                }

#line default
#line hidden
                __builder.AddContent(102, "                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(103, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(104, "\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(105, "\n");
#line 57 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                if (_layouts.Count > 0)
                {
#line default
#line hidden
                    __builder.AddContent(106, "            ");
                    __builder.OpenElement(107, "tr");
                    __builder.AddMarkupContent(108, "\n                ");
                    __builder.OpenElement(109, "td");
                    __builder.AddMarkupContent(110, "\n                    ");
                    __builder.OpenComponent <Oqtane.Modules.Controls.Label>(111);
                    __builder.AddAttribute(112, "For", "defaultLayout");
                    __builder.AddAttribute(113, "HelpText", "Select the default layout for the site");
                    __builder.AddAttribute(114, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                        __builder2.AddContent(115, "Default Layout: ");
                    }
                                                                                                                 ));
                    __builder.CloseComponent();
                    __builder.AddMarkupContent(116, "\n                ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(117, "\n                ");
                    __builder.OpenElement(118, "td");
                    __builder.AddMarkupContent(119, "\n                    ");
                    __builder.OpenElement(120, "select");
                    __builder.AddAttribute(121, "id", "defaultLayout");
                    __builder.AddAttribute(122, "class", "form-control");
                    __builder.AddAttribute(123, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 64 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                               _layouttype

#line default
#line hidden
                                               ));
                    __builder.AddAttribute(124, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _layouttype = __value, _layouttype));
                    __builder.SetUpdatesAttributeName("value");
                    __builder.AddMarkupContent(125, "\n                        ");
                    __builder.OpenElement(126, "option");
                    __builder.AddAttribute(127, "value", "-");
                    __builder.AddContent(128, "<Select Layout>");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(129, "\n");
#line 66 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                    foreach (var layout in _layouts)
                    {
#line default
#line hidden
                        __builder.AddContent(130, "                            ");
                        __builder.OpenElement(131, "option");
                        __builder.AddAttribute(132, "value",
#line 68 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                               layout.TypeName

#line default
#line hidden
                                               );
                        __builder.AddContent(133,
#line 68 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                             layout.Name

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(134, "\n");
#line 69 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                    }

#line default
#line hidden
                    __builder.AddContent(135, "                    ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(136, "\n                ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(137, "\n            ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(138, "\n");
#line 73 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                }

#line default
#line hidden
                __builder.AddContent(139, "        ");
                __builder.OpenElement(140, "tr");
                __builder.AddMarkupContent(141, "\n            ");
                __builder.OpenElement(142, "td");
                __builder.AddMarkupContent(143, "\n                ");
                __builder.OpenComponent <Oqtane.Modules.Controls.Label>(144);
                __builder.AddAttribute(145, "For", "defaultContainer");
                __builder.AddAttribute(146, "HelpText", "Select the default container for the site");
                __builder.AddAttribute(147, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(148, "Default Container: ");
                }
                                                                                                             ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(149, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(150, "\n            ");
                __builder.OpenElement(151, "td");
                __builder.AddMarkupContent(152, "\n                ");
                __builder.OpenElement(153, "select");
                __builder.AddAttribute(154, "id", "defaultIdea");
                __builder.AddAttribute(155, "class", "form-control");
                __builder.AddAttribute(156, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 79 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                           _containertype

#line default
#line hidden
                                           ));
                __builder.AddAttribute(157, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _containertype = __value, _containertype));
                __builder.SetUpdatesAttributeName("value");
                __builder.AddMarkupContent(158, "\n                    ");
                __builder.OpenElement(159, "option");
                __builder.AddAttribute(160, "value", "-");
                __builder.AddContent(161, "<Select Container>");
                __builder.CloseElement();
                __builder.AddMarkupContent(162, "\n");
#line 81 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                foreach (var container in _containers)
                {
#line default
#line hidden
                    __builder.AddContent(163, "                        ");
                    __builder.OpenElement(164, "option");
                    __builder.AddAttribute(165, "value",
#line 83 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                           container.TypeName

#line default
#line hidden
                                           );
                    __builder.AddContent(166,
#line 83 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                         container.Name

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(167, "\n");
#line 84 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                }

#line default
#line hidden
                __builder.AddContent(168, "                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(169, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(170, "\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(171, "\n        ");
                __builder.OpenElement(172, "tr");
                __builder.AddMarkupContent(173, "\n            ");
                __builder.OpenElement(174, "td");
                __builder.AddMarkupContent(175, "\n                ");
                __builder.OpenComponent <Oqtane.Modules.Controls.Label>(176);
                __builder.AddAttribute(177, "For", "isDeleted");
                __builder.AddAttribute(178, "HelpText", "Has this site been deleted?");
                __builder.AddAttribute(179, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(180, "Is Deleted? ");
                }
                                                                                                             ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(181, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(182, "\n            ");
                __builder.OpenElement(183, "td");
                __builder.AddMarkupContent(184, "\n                ");
                __builder.OpenElement(185, "select");
                __builder.AddAttribute(186, "id", "isDeleted");
                __builder.AddAttribute(187, "class", "form-control");
                __builder.AddAttribute(188, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 93 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                           _isdeleted

#line default
#line hidden
                                           ));
                __builder.AddAttribute(189, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _isdeleted = __value, _isdeleted));
                __builder.SetUpdatesAttributeName("value");
                __builder.AddMarkupContent(190, "\n                    ");
                __builder.OpenElement(191, "option");
                __builder.AddAttribute(192, "value", "True");
                __builder.AddContent(193, "Yes");
                __builder.CloseElement();
                __builder.AddMarkupContent(194, "\n                    ");
                __builder.OpenElement(195, "option");
                __builder.AddAttribute(196, "value", "False");
                __builder.AddContent(197, "No");
                __builder.CloseElement();
                __builder.AddMarkupContent(198, "\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(199, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(200, "\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(201, "\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(202, "\n    <br>\n    ");
                __builder.OpenElement(203, "button");
                __builder.AddAttribute(204, "type", "button");
                __builder.AddAttribute(205, "class", "btn btn-success");
                __builder.AddAttribute(206, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 101 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                                                                                                                                                         SaveSite

#line default
#line hidden
                                                                                                                                                                         ));
                __builder.AddContent(207, "Save");
                __builder.CloseElement();
                __builder.AddMarkupContent(208, "\n    ");
                __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(209);
                __builder.AddAttribute(210, "class", "btn btn-secondary");
                __builder.AddAttribute(211, "href",
#line 102 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                       NavigateUrl()

#line default
#line hidden
                                       );
                __builder.AddAttribute(212, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(213, "Cancel");
                }
                                                                                                             ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(214, "\n    <br>\n    <br>\n    ");
                __builder.OpenComponent <Oqtane.Modules.Controls.AuditInfo>(215);
                __builder.AddAttribute(216, "CreatedBy", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 105 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                           _createdby

#line default
#line hidden
                                           ));
                __builder.AddAttribute(217, "CreatedOn", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.DateTime>(
#line 105 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                           _createdon

#line default
#line hidden
                                           ));
                __builder.AddAttribute(218, "ModifiedBy", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 105 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                           _modifiedby

#line default
#line hidden
                                           ));
                __builder.AddAttribute(219, "ModifiedOn", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.DateTime>(
#line 105 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                           _modifiedon

#line default
#line hidden
                                           ));
                __builder.AddAttribute(220, "DeletedBy", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 105 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                           _deletedby

#line default
#line hidden
                                           ));
                __builder.AddAttribute(221, "DeletedOn", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.DateTime?>(
#line 105 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
                                           _deletedon

#line default
#line hidden
                                           ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(222, "\n");
#line 106 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Sites/Edit.razor"
            }

#line default
#line hidden
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "dialog-title");
            __builder.AddMarkupContent(2, "\n            ");
            __builder.OpenElement(3, "h2");
            __builder.AddContent(4,
#line 5 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                 Pizza.Special.Name

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(5, "\n            ");
            __builder.AddContent(6,
#line 6 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                 Pizza.Special.Description

#line default
#line hidden
                                 );
            __builder.AddMarkupContent(7, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(8, "\n\n        ");
            __builder.OpenElement(9, "form");
            __builder.AddAttribute(10, "class", "dialog-body");
            __builder.AddMarkupContent(11, "\n            ");
            __builder.OpenElement(12, "div");
            __builder.AddMarkupContent(13, "\n                ");
            __builder.AddMarkupContent(14, "<label>Size:</label>\n                ");
            __builder.OpenElement(15, "input");
            __builder.AddAttribute(16, "type", "range");
            __builder.AddAttribute(17, "min",
#line 12 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                   Pizza.MinimumSize

#line default
#line hidden
                                   );
            __builder.AddAttribute(18, "max",
#line 12 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                   Pizza.MaximumSize

#line default
#line hidden
                                   );
            __builder.AddAttribute(19, "step", "1");
            __builder.AddAttribute(20, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 12 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                       Pizza.Size

#line default
#line hidden
                                       ));
            __builder.AddAttribute(21, "oninput", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => Pizza.Size = __value, Pizza.Size));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(22, "\n                ");
            __builder.OpenElement(23, "span");
            __builder.AddAttribute(24, "class", "size-label");
            __builder.AddMarkupContent(25, "\n                    ");
            __builder.AddContent(26,
#line 14 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                 Pizza.Size

#line default
#line hidden
                                 );
            __builder.AddMarkupContent(27, "\" (£");
            __builder.AddContent(28,
#line 14 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                 Pizza.GetFormattedTotalPrice()

#line default
#line hidden
                                 );
            __builder.AddMarkupContent(29, ")\n                ");
            __builder.CloseElement();
            __builder.AddMarkupContent(30, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(31, "\n            ");
            __builder.OpenElement(32, "div");
            __builder.AddMarkupContent(33, "\n                ");
            __builder.AddMarkupContent(34, "<label>Extra Toppings:</label>\n");
#line 19 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
            if (toppings == null)
            {
#line default
#line hidden
                __builder.AddContent(35, "                    ");
                __builder.OpenElement(36, "select");
                __builder.AddAttribute(37, "class", "custom-select");
                __builder.AddAttribute(38, "disabled", true);
                __builder.AddMarkupContent(39, "\n                        ");
                __builder.OpenElement(40, "option");
                __builder.AddContent(41, "(loading...)");
                __builder.CloseElement();
                __builder.AddMarkupContent(42, "\n                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(43, "\n");
#line 24 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
            }
            else if (Pizza.Toppings.Count >= 6)
            {
#line default
#line hidden
                __builder.AddContent(44, "                    ");
                __builder.AddMarkupContent(45, "<div>(maximum reached)</div>\n");
#line 28 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
            }
            else
            {
#line default
#line hidden
                __builder.AddContent(46, "                    ");
                __builder.OpenElement(47, "select");
                __builder.AddAttribute(48, "class", "custom-select");
                __builder.AddAttribute(49, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.ChangeEventArgs>(this,
#line 31 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                                                                                                                                                      ToppingSelected

#line default
#line hidden
                                                                                                                                                                      ));
                __builder.AddMarkupContent(50, "\n                        ");
                __builder.OpenElement(51, "option");
                __builder.AddAttribute(52, "value", "-1");
                __builder.AddAttribute(53, "disabled", true);
                __builder.AddAttribute(54, "selected", true);
                __builder.AddContent(55, "(select)");
                __builder.CloseElement();
                __builder.AddMarkupContent(56, "\n");
#line 33 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                for (var i = 0; i < toppings.Count; i++)
                {
#line default
#line hidden
                    __builder.AddContent(57, "                            ");
                    __builder.OpenElement(58, "option");
                    __builder.AddAttribute(59, "value",
#line 35 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                           i

#line default
#line hidden
                                           );
                    __builder.AddContent(60,
#line 35 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                         toppings[i].Name

#line default
#line hidden
                                         );
                    __builder.AddMarkupContent(61, " - (£");
                    __builder.AddContent(62,
#line 35 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                         toppings[i].GetFormattedPrice()

#line default
#line hidden
                                         );
                    __builder.AddContent(63, ")");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(64, "\n");
#line 36 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                }

#line default
#line hidden
                __builder.AddContent(65, "                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(66, "\n");
#line 38 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
            }

#line default
#line hidden
            __builder.AddContent(67, "            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(68, "\n\n            ");
            __builder.OpenElement(69, "div");
            __builder.AddAttribute(70, "class", "toppings");
            __builder.AddMarkupContent(71, "\n");
#line 42 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
            foreach (var topping in Pizza.Toppings)
            {
#line default
#line hidden
                __builder.AddContent(72, "                    ");
                __builder.OpenElement(73, "div");
                __builder.AddAttribute(74, "class", "topping");
                __builder.AddMarkupContent(75, "\n                        ");
                __builder.AddContent(76,
#line 45 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                     topping.Topping.Name

#line default
#line hidden
                                     );
                __builder.AddMarkupContent(77, "\n                        ");
                __builder.OpenElement(78, "span");
                __builder.AddAttribute(79, "class", "topping-price");
                __builder.AddContent(80,
#line 46 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                     topping.Topping.GetFormattedPrice()

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.AddMarkupContent(81, "\n                        ");
                __builder.OpenElement(82, "button");
                __builder.AddAttribute(83, "type", "button");
                __builder.AddAttribute(84, "class", "delete-topping");
                __builder.AddAttribute(85, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 47 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                                                                                                                                                        () => RemoveTopping(topping.Topping)

#line default
#line hidden
                                                                                                                                                                        ));
                __builder.AddContent(86, "x");
                __builder.CloseElement();
                __builder.AddMarkupContent(87, "\n                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(88, "\n");
#line 49 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
            }

#line default
#line hidden
            __builder.AddContent(89, "            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(90, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(91, "\n\n        ");
            __builder.OpenElement(92, "div");
            __builder.AddAttribute(93, "class", "dialog-buttons");
            __builder.AddMarkupContent(94, "\n            ");
            __builder.OpenElement(95, "button");
            __builder.AddAttribute(96, "class", "btn btn-secondary mr-auto");
            __builder.AddAttribute(97, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 54 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                                                                                                                                                    OnCancel

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(98, "Cancel");
            __builder.CloseElement();
            __builder.AddMarkupContent(99, "\n            ");
            __builder.OpenElement(100, "span");
            __builder.AddAttribute(101, "class", "mr-center");
            __builder.AddMarkupContent(102, "\n                Price: ");
            __builder.OpenElement(103, "span");
            __builder.AddAttribute(104, "class", "price");
            __builder.AddContent(105,
#line 56 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                 Pizza.GetFormattedTotalPrice()

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(106, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(107, "\n            ");
            __builder.OpenElement(108, "button");
            __builder.AddAttribute(109, "class", "btn btn-success ml-auto");
            __builder.AddAttribute(110, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 58 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Shared\ConfigurePizzaDialog.razor"
                                                                                                                                                                     OnConfirm

#line default
#line hidden
                                                                                                                                                                     ));
            __builder.AddContent(111, "Order >");
            __builder.CloseElement();
            __builder.AddMarkupContent(112, "\n        ");
            __builder.CloseElement();
        }
Beispiel #16
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "container");
            __builder.AddMarkupContent(2, "\n    ");
            __builder.OpenElement(3, "div");
            __builder.AddAttribute(4, "class", "form-group");
            __builder.AddMarkupContent(5, "\n        ");
            __builder.AddMarkupContent(6, "<label for=\"Username\" class=\"control-label\">Username: </label>\n        ");
            __builder.OpenElement(7, "input");
            __builder.AddAttribute(8, "type", "text");
            __builder.AddAttribute(9, "class", "form-control");
            __builder.AddAttribute(10, "placeholder", "Username");
            __builder.AddAttribute(11, "readonly", true);
            __builder.AddAttribute(12, "id", "Username");
            __builder.AddAttribute(13, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 9 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Reset/Index.razor"
                                       _username

#line default
#line hidden
                                       ));
            __builder.AddAttribute(14, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _username = __value, _username));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(15, "\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(16, "\n    ");
            __builder.OpenElement(17, "div");
            __builder.AddAttribute(18, "class", "form-group");
            __builder.AddMarkupContent(19, "\n        ");
            __builder.AddMarkupContent(20, "<label for=\"Password\" class=\"control-label\">Password: </label>\n        ");
            __builder.OpenElement(21, "input");
            __builder.AddAttribute(22, "type", "password");
            __builder.AddAttribute(23, "class", "form-control");
            __builder.AddAttribute(24, "placeholder", "Password");
            __builder.AddAttribute(25, "id", "Password");
            __builder.AddAttribute(26, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 13 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Reset/Index.razor"
                                       _password

#line default
#line hidden
                                       ));
            __builder.AddAttribute(27, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _password = __value, _password));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(28, "\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(29, "\n    ");
            __builder.OpenElement(30, "div");
            __builder.AddAttribute(31, "class", "form-group");
            __builder.AddMarkupContent(32, "\n        ");
            __builder.AddMarkupContent(33, "<label for=\"Confirm\" class=\"control-label\">Confirm Password: </label>\n        ");
            __builder.OpenElement(34, "input");
            __builder.AddAttribute(35, "type", "password");
            __builder.AddAttribute(36, "class", "form-control");
            __builder.AddAttribute(37, "placeholder", "Password");
            __builder.AddAttribute(38, "id", "Confirm");
            __builder.AddAttribute(39, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 17 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Reset/Index.razor"
                                       _confirm

#line default
#line hidden
                                       ));
            __builder.AddAttribute(40, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _confirm = __value, _confirm));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(41, "\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(42, "\n    ");
            __builder.OpenElement(43, "button");
            __builder.AddAttribute(44, "type", "button");
            __builder.AddAttribute(45, "class", "btn btn-primary");
            __builder.AddAttribute(46, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 19 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Reset/Index.razor"
                                                                                                                                                                    Reset

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(47, "Reset Password");
            __builder.CloseElement();
            __builder.AddMarkupContent(48, "\n    ");
            __builder.OpenElement(49, "button");
            __builder.AddAttribute(50, "type", "button");
            __builder.AddAttribute(51, "class", "btn btn-secondary");
            __builder.AddAttribute(52, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 20 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Reset/Index.razor"
                                                                                                                                                                    Cancel

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(53, "Cancel");
            __builder.CloseElement();
            __builder.AddMarkupContent(54, "\n");
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.AddMarkupContent(0, "<h3>Schedule Manager</h3>\r\n<hr>\r\n\r\n");
#line 6 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
            if (loaded)
            {
#line default
#line hidden
                __builder.AddContent(1, "    ");
                __builder.OpenElement(2, "button");
                __builder.AddAttribute(3, "type", "button");
                __builder.AddAttribute(4, "class", "btn btn-success m-1");
                __builder.AddAttribute(5, "data-toggle", "modal");
                __builder.AddAttribute(6, "data-target", "#createScheduleModal");
                __builder.AddAttribute(7, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 8 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                                                                                                                                                       ClearCreateSchedule

#line default
#line hidden
                                                                                                                                                                       ));
                __builder.AddContent(8, "Add new");
                __builder.CloseElement();
                __builder.AddMarkupContent(9, "\r\n");
#line 9 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"

                if (schedules != null)
                {
#line default
#line hidden
                    __builder.AddContent(10, "        ");
                    __builder.OpenElement(11, "table");
                    __builder.AddAttribute(12, "class", "table");
                    __builder.AddMarkupContent(13, "\r\n            ");
                    __builder.AddMarkupContent(14, "<thead>\r\n                <tr>\r\n                    <th>Name</th>\r\n                    <th>Min Water Level</th>\r\n                    <th>Auto</th>\r\n                    <th>Connected sensors</th>\r\n                </tr>\r\n            </thead>\r\n            ");
                    __builder.OpenElement(15, "tbody");
                    __builder.AddMarkupContent(16, "\r\n");
#line 22 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                    foreach (var schedule in schedules)
                    {
#line default
#line hidden
                        __builder.AddContent(17, "                    ");
                        __builder.OpenElement(18, "tr");
                        __builder.AddMarkupContent(19, "\r\n                        ");
                        __builder.OpenElement(20, "td");
                        __builder.AddContent(21,
#line 25 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                             schedule.Name

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(22, "\r\n                        ");
                        __builder.OpenElement(23, "td");
                        __builder.AddContent(24,
#line 26 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                             schedule.MinWaterLevel

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(25, "\r\n                        ");
                        __builder.OpenElement(26, "td");
                        __builder.AddContent(27,
#line 27 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                             schedule.Auto

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(28, "\r\n                        ");
                        __builder.OpenElement(29, "td");
                        __builder.AddContent(30,
#line 28 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                             schedule.NumberOfSensors

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(31, "\r\n                        ");
                        __builder.OpenElement(32, "td");
                        __builder.AddMarkupContent(33, "\r\n                            ");
                        __builder.OpenElement(34, "button");
                        __builder.AddAttribute(35, "type", "button");
                        __builder.AddAttribute(36, "class", "btn btn-warning m-1");
                        __builder.AddAttribute(37, "data-toggle", "modal");
                        __builder.AddAttribute(38, "data-target", "#editScheduleModal");
                        __builder.AddAttribute(39, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 30 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                                                                                                                                                                () => SetEditSchedule(schedule.Id)

#line default
#line hidden
                                                                                                                                                                                ));
                        __builder.AddContent(40, "Edit");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(41, "\r\n                            ");
                        __builder.OpenElement(42, "button");
                        __builder.AddAttribute(43, "type", "button");
                        __builder.AddAttribute(44, "class", "btn btn-danger m-1");
                        __builder.AddAttribute(45, "data-toggle", "modal");
                        __builder.AddAttribute(46, "data-target", "#deleteScheduleModal");
                        __builder.AddAttribute(47, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 31 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                                                                                                                                                                () => SetDeleteSchedule(schedule.Id)

#line default
#line hidden
                                                                                                                                                                                ));
                        __builder.AddContent(48, "Delete");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(49, "\r\n                        ");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(50, "\r\n                    ");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(51, "\r\n");
#line 34 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                    }

#line default
#line hidden
                    __builder.AddContent(52, "            ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(53, "\r\n        ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(54, "\r\n");
#line 37 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                }

                else
                {
#line default
#line hidden
                    __builder.AddContent(55, "        ");
                    __builder.AddMarkupContent(56, "<p>No schedule available!</p>\r\n");
#line 42 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                }
            }

            else
            {
#line default
#line hidden
                __builder.AddMarkupContent(57, "    <hr>\r\n    ");
                __builder.AddMarkupContent(58, "<span>Loading...</span>\r\n");
#line 49 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(59, "\r\n\r\n");
#line 52 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
            if (createSchedule != null)
            {
#line default
#line hidden
                __builder.AddContent(60, "    ");
                __builder.OpenElement(61, "div");
                __builder.AddAttribute(62, "class", "modal fade");
                __builder.AddAttribute(63, "id", "createScheduleModal");
                __builder.AddAttribute(64, "tabindex", "-1");
                __builder.AddAttribute(65, "role", "dialog");
                __builder.AddMarkupContent(66, "\r\n        ");
                __builder.OpenElement(67, "div");
                __builder.AddAttribute(68, "class", "modal-dialog");
                __builder.AddAttribute(69, "role", "document");
                __builder.AddMarkupContent(70, "\r\n            ");
                __builder.OpenElement(71, "div");
                __builder.AddAttribute(72, "class", "modal-content");
                __builder.AddMarkupContent(73, "\r\n                ");
                __builder.AddMarkupContent(74, "<div class=\"modal-header\">\r\n                    <h5 class=\"modal-title\">Create new zone </h5>\r\n                </div>\r\n                ");
                __builder.OpenElement(75, "div");
                __builder.AddAttribute(76, "class", "modal-body");
                __builder.AddMarkupContent(77, "\r\n                    ");
                __builder.OpenElement(78, "form");
                __builder.AddMarkupContent(79, "\r\n                        ");
                __builder.OpenElement(80, "div");
                __builder.AddAttribute(81, "class", "form-group");
                __builder.AddMarkupContent(82, "\r\n                            ");
                __builder.AddMarkupContent(83, "<label for=\"nameInput\" class=\"mt-2\">Name:</label>\r\n                            ");
                __builder.OpenElement(84, "input");
                __builder.AddAttribute(85, "type", "text");
                __builder.AddAttribute(86, "class", "form-control");
                __builder.AddAttribute(87, "id", "nameInput");
                __builder.AddAttribute(88, "placeholder", "Schedule name");
                __builder.AddAttribute(89, "required", true);
                __builder.AddAttribute(90, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 64 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                           createSchedule.Name

#line default
#line hidden
                                           ));
                __builder.AddAttribute(91, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => createSchedule.Name = __value, createSchedule.Name));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(92, "\r\n                            ");
                __builder.AddMarkupContent(93, "<label for=\"minWaterLevelInput\" class=\"mt-2\">MinWaterLevel:</label>\r\n                            ");
                __builder.OpenElement(94, "input");
                __builder.AddAttribute(95, "type", "number");
                __builder.AddAttribute(96, "class", "form-control");
                __builder.AddAttribute(97, "id", "minWaterLevelInput");
                __builder.AddAttribute(98, "placeholder", "Min water level");
                __builder.AddAttribute(99, "max", "100");
                __builder.AddAttribute(100, "min", "0");
                __builder.AddAttribute(101, "required", true);
                __builder.AddAttribute(102, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 66 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                           createSchedule.MinWaterLevel

#line default
#line hidden
                                           , culture: global::System.Globalization.CultureInfo.InvariantCulture));
                __builder.AddAttribute(103, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => createSchedule.MinWaterLevel = __value, createSchedule.MinWaterLevel, culture: global::System.Globalization.CultureInfo.InvariantCulture));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(104, "\r\n                            ");
                __builder.AddMarkupContent(105, "<label for=\"autoInput\" class=\"mt-2\">Auto:</label>\r\n                            ");
                __builder.OpenElement(106, "input");
                __builder.AddAttribute(107, "type", "checkbox");
                __builder.AddAttribute(108, "class", "form-control");
                __builder.AddAttribute(109, "id", "autoInput");
                __builder.AddAttribute(110, "required", true);
                __builder.AddAttribute(111, "checked", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 68 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                           createSchedule.Auto

#line default
#line hidden
                                           ));
                __builder.AddAttribute(112, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => createSchedule.Auto = __value, createSchedule.Auto));
                __builder.SetUpdatesAttributeName("checked");
                __builder.CloseElement();
                __builder.AddMarkupContent(113, "\r\n                        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(114, "\r\n                        ");
                __builder.OpenElement(115, "button");
                __builder.AddAttribute(116, "type", "button");
                __builder.AddAttribute(117, "class", "btn btn-success");
                __builder.AddAttribute(118, "data-dismiss", "modal");
                __builder.AddAttribute(119, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 70 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                                                                                                                                                         PostCreateSchedule

#line default
#line hidden
                                                                                                                                                                         ));
                __builder.AddContent(120, "Create");
                __builder.CloseElement();
                __builder.AddMarkupContent(121, "\r\n                        ");
                __builder.AddMarkupContent(122, "<button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Cancel</button>\r\n                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(123, "\r\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(124, "\r\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(125, "\r\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(126, "\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(127, "\r\n");
#line 77 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(128, "\r\n\r\n");
            __builder.OpenElement(129, "div");
            __builder.AddAttribute(130, "class", "modal fade");
            __builder.AddAttribute(131, "id", "deleteScheduleModal");
            __builder.AddAttribute(132, "tabindex", "-1");
            __builder.AddAttribute(133, "role", "dialog");
            __builder.AddMarkupContent(134, "\r\n    ");
            __builder.OpenElement(135, "div");
            __builder.AddAttribute(136, "class", "modal-dialog");
            __builder.AddAttribute(137, "role", "document");
            __builder.AddMarkupContent(138, "\r\n        ");
            __builder.OpenElement(139, "div");
            __builder.AddAttribute(140, "class", "modal-content");
            __builder.AddMarkupContent(141, "\r\n            ");
            __builder.AddMarkupContent(142, "<div class=\"modal-header\">\r\n                <h5 class=\"modal-title\">Do you want to delete this schedule? </h5>\r\n            </div>\r\n            ");
            __builder.OpenElement(143, "div");
            __builder.AddAttribute(144, "class", "modal-body");
            __builder.AddMarkupContent(145, "\r\n                ");
            __builder.OpenElement(146, "button");
            __builder.AddAttribute(147, "type", "button");
            __builder.AddAttribute(148, "class", "btn btn-danger m-1");
            __builder.AddAttribute(149, "data-dismiss", "modal");
            __builder.AddAttribute(150, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 87 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                                                                                                                                                     DeleteSelectedSchedule

#line default
#line hidden
                                                                                                                                                                     ));
            __builder.AddContent(151, "Delete");
            __builder.CloseElement();
            __builder.AddMarkupContent(152, "\r\n                ");
            __builder.AddMarkupContent(153, "<button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">No</button>\r\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(154, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(155, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(156, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(157, "\r\n\r\n\r\n");
#line 95 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
            if (editSchedule != null)
            {
#line default
#line hidden
                __builder.AddMarkupContent(158, "    \r\n    ");
                __builder.OpenElement(159, "div");
                __builder.AddAttribute(160, "class", "modal fade");
                __builder.AddAttribute(161, "id", "editScheduleModal");
                __builder.AddAttribute(162, "tabindex", "-1");
                __builder.AddAttribute(163, "role", "dialog");
                __builder.AddMarkupContent(164, "\r\n        ");
                __builder.OpenElement(165, "div");
                __builder.AddAttribute(166, "class", "modal-dialog");
                __builder.AddAttribute(167, "role", "document");
                __builder.AddMarkupContent(168, "\r\n            ");
                __builder.OpenElement(169, "div");
                __builder.AddAttribute(170, "class", "modal-content");
                __builder.AddMarkupContent(171, "\r\n                ");
                __builder.AddMarkupContent(172, "<div class=\"modal-header\">\r\n                    <h5 class=\"modal-title\">Edit schedule</h5>\r\n                </div>\r\n                ");
                __builder.OpenElement(173, "div");
                __builder.AddAttribute(174, "class", "modal-body");
                __builder.AddMarkupContent(175, "\r\n                    ");
                __builder.OpenElement(176, "form");
                __builder.AddMarkupContent(177, "\r\n                        ");
                __builder.OpenElement(178, "div");
                __builder.AddAttribute(179, "class", "form-group");
                __builder.AddMarkupContent(180, "\r\n                            ");
                __builder.AddMarkupContent(181, "<label for=\"nameInput\" class=\"mt-2\">Name:</label>\r\n                            ");
                __builder.OpenElement(182, "input");
                __builder.AddAttribute(183, "type", "text");
                __builder.AddAttribute(184, "class", "form-control");
                __builder.AddAttribute(185, "id", "nameInput");
                __builder.AddAttribute(186, "required", true);
                __builder.AddAttribute(187, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 108 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                           editSchedule.Name

#line default
#line hidden
                                           ));
                __builder.AddAttribute(188, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => editSchedule.Name = __value, editSchedule.Name));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(189, "\r\n                            ");
                __builder.AddMarkupContent(190, "<label for=\"minWaterLevelInput\" class=\"mt-2\">MinWaterLevel:</label>\r\n                            ");
                __builder.OpenElement(191, "input");
                __builder.AddAttribute(192, "type", "number");
                __builder.AddAttribute(193, "class", "form-control");
                __builder.AddAttribute(194, "id", "minWaterLevelInput");
                __builder.AddAttribute(195, "max", "100");
                __builder.AddAttribute(196, "min", "0");
                __builder.AddAttribute(197, "required", true);
                __builder.AddAttribute(198, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 110 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                           editSchedule.MinWaterLevel

#line default
#line hidden
                                           , culture: global::System.Globalization.CultureInfo.InvariantCulture));
                __builder.AddAttribute(199, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => editSchedule.MinWaterLevel = __value, editSchedule.MinWaterLevel, culture: global::System.Globalization.CultureInfo.InvariantCulture));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(200, "\r\n                            ");
                __builder.AddMarkupContent(201, "<label for=\"autoInput\" class=\"mt-2\">Auto:</label>\r\n                            ");
                __builder.OpenElement(202, "input");
                __builder.AddAttribute(203, "type", "checkbox");
                __builder.AddAttribute(204, "class", "form-control");
                __builder.AddAttribute(205, "id", "autoInput");
                __builder.AddAttribute(206, "required", true);
                __builder.AddAttribute(207, "checked", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 112 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                           editSchedule.Auto

#line default
#line hidden
                                           ));
                __builder.AddAttribute(208, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => editSchedule.Auto = __value, editSchedule.Auto));
                __builder.SetUpdatesAttributeName("checked");
                __builder.CloseElement();
                __builder.AddMarkupContent(209, "\r\n                        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(210, "\r\n                        ");
                __builder.OpenElement(211, "button");
                __builder.AddAttribute(212, "type", "button");
                __builder.AddAttribute(213, "class", "btn btn-success");
                __builder.AddAttribute(214, "data-dismiss", "modal");
                __builder.AddAttribute(215, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 114 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
                                                                                                                                                                         EditSelectedSchedule

#line default
#line hidden
                                                                                                                                                                         ));
                __builder.AddContent(216, "Edit");
                __builder.CloseElement();
                __builder.AddMarkupContent(217, "\r\n                        ");
                __builder.AddMarkupContent(218, "<button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Cancel</button>\r\n                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(219, "\r\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(220, "\r\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(221, "\r\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(222, "\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(223, "\r\n");
#line 121 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SchedulePage.razor"
            }

#line default
#line hidden
        }
Beispiel #18
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.AddMarkupContent(0, "<h4>Create Player</h4>\r\n");
            __builder.OpenElement(1, "form");
            __builder.AddAttribute(2, "class", "justify-content-center");
            __builder.AddMarkupContent(3, "\r\n    ");
            __builder.OpenElement(4, "div");
            __builder.AddAttribute(5, "class", "form-group row");
            __builder.AddMarkupContent(6, "\r\n        ");
            __builder.AddMarkupContent(7, "<label for=\"txtFirstName\" class=\"col-sm-2 col-form-label\">FirstName</label>\r\n        ");
            __builder.OpenElement(8, "div");
            __builder.AddAttribute(9, "class", "col-sm-8");
            __builder.AddMarkupContent(10, "\r\n            ");
            __builder.OpenElement(11, "input");
            __builder.AddAttribute(12, "type", "text");
            __builder.AddAttribute(13, "class", "form-control");
            __builder.AddAttribute(14, "id", "txtFirstName");
            __builder.AddAttribute(15, "placeholder", "First Name");
            __builder.AddAttribute(16, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 10 "D:\corePractise\Blazor.CRUD.Sample\Pages\AddPlayer.razor"
                                       player.FirstName

#line default
#line hidden
                                       ));
            __builder.AddAttribute(17, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => player.FirstName = __value, player.FirstName));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(18, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(19, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(20, "\r\n    ");
            __builder.OpenElement(21, "div");
            __builder.AddAttribute(22, "class", "form-group row");
            __builder.AddMarkupContent(23, "\r\n        ");
            __builder.AddMarkupContent(24, "<label for=\"txtLastName\" class=\"col-sm-2 col-form-label\">LastName</label>\r\n        ");
            __builder.OpenElement(25, "div");
            __builder.AddAttribute(26, "class", "col-sm-8");
            __builder.AddMarkupContent(27, "\r\n            ");
            __builder.OpenElement(28, "input");
            __builder.AddAttribute(29, "type", "text");
            __builder.AddAttribute(30, "class", "form-control");
            __builder.AddAttribute(31, "id", "txtLastName");
            __builder.AddAttribute(32, "placeholder", "Last Name");
            __builder.AddAttribute(33, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 16 "D:\corePractise\Blazor.CRUD.Sample\Pages\AddPlayer.razor"
                                       player.LastName

#line default
#line hidden
                                       ));
            __builder.AddAttribute(34, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => player.LastName = __value, player.LastName));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(35, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(36, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(37, "\r\n    ");
            __builder.OpenElement(38, "div");
            __builder.AddAttribute(39, "class", "form-group row");
            __builder.AddMarkupContent(40, "\r\n        ");
            __builder.AddMarkupContent(41, "<label for=\"txtCurrentAge\" class=\"col-sm-2 col-form-label\">Current Age</label>\r\n        ");
            __builder.OpenElement(42, "div");
            __builder.AddAttribute(43, "class", "col-sm-8");
            __builder.AddMarkupContent(44, "\r\n            ");
            __builder.OpenElement(45, "input");
            __builder.AddAttribute(46, "type", "text");
            __builder.AddAttribute(47, "class", "form-control");
            __builder.AddAttribute(48, "id", "txtCurrentAge");
            __builder.AddAttribute(49, "placeholder", "Current age");
            __builder.AddAttribute(50, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 22 "D:\corePractise\Blazor.CRUD.Sample\Pages\AddPlayer.razor"
                                       player.CurrentAge

#line default
#line hidden
                                       ));
            __builder.AddAttribute(51, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => player.CurrentAge = __value, player.CurrentAge));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(52, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(53, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(54, "\r\n    ");
            __builder.OpenElement(55, "div");
            __builder.AddAttribute(56, "class", "form-group row");
            __builder.AddMarkupContent(57, "\r\n        ");
            __builder.AddMarkupContent(58, "<label for=\"txtTeams\" class=\"col-sm-2 col-form-lable\">Major Teams</label>\r\n        ");
            __builder.OpenElement(59, "div");
            __builder.AddAttribute(60, "class", "col-sm-8");
            __builder.AddMarkupContent(61, "\r\n            ");
            __builder.OpenElement(62, "input");
            __builder.AddAttribute(63, "type", "text");
            __builder.AddAttribute(64, "class", "form-control");
            __builder.AddAttribute(65, "id", "txtTeams");
            __builder.AddAttribute(66, "placeholder", "Major Teams");
            __builder.AddAttribute(67, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 28 "D:\corePractise\Blazor.CRUD.Sample\Pages\AddPlayer.razor"
                                       player.Teams

#line default
#line hidden
                                       ));
            __builder.AddAttribute(68, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => player.Teams = __value, player.Teams));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(69, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(70, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(71, "\r\n    ");
            __builder.OpenElement(72, "div");
            __builder.AddAttribute(73, "class", "form-group row");
            __builder.AddMarkupContent(74, "\r\n        ");
            __builder.AddMarkupContent(75, "<label for=\"txtPlayingRole\" class=\"col-sm-2 col-form-label\">Playing Role</label>\r\n        ");
            __builder.OpenElement(76, "div");
            __builder.AddAttribute(77, "class", "col-sm-8");
            __builder.AddMarkupContent(78, "\r\n            ");
            __builder.OpenElement(79, "input");
            __builder.AddAttribute(80, "type", "text");
            __builder.AddAttribute(81, "class", "form-control");
            __builder.AddAttribute(82, "id", "txtPlayingRole");
            __builder.AddAttribute(83, "placeholder", "Playing Role");
            __builder.AddAttribute(84, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 34 "D:\corePractise\Blazor.CRUD.Sample\Pages\AddPlayer.razor"
                                       player.PlayingRole

#line default
#line hidden
                                       ));
            __builder.AddAttribute(85, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => player.PlayingRole = __value, player.PlayingRole));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(86, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(87, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(88, "\r\n    ");
            __builder.OpenElement(89, "div");
            __builder.AddAttribute(90, "class", "form-group row");
            __builder.AddMarkupContent(91, "\r\n        ");
            __builder.AddMarkupContent(92, "<label for=\"txtBattingStyle\" class=\"col-sm-2 col-form-label\">Batting Style</label>\r\n        ");
            __builder.OpenElement(93, "div");
            __builder.AddAttribute(94, "class", "col-sm-8");
            __builder.AddMarkupContent(95, "\r\n            ");
            __builder.OpenElement(96, "input");
            __builder.AddAttribute(97, "type", "text");
            __builder.AddAttribute(98, "class", "form-control");
            __builder.AddAttribute(99, "id", "txtBattingStyle");
            __builder.AddAttribute(100, "placeholder", "Batting Style");
            __builder.AddAttribute(101, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 40 "D:\corePractise\Blazor.CRUD.Sample\Pages\AddPlayer.razor"
                                       player.BattingStyle

#line default
#line hidden
                                       ));
            __builder.AddAttribute(102, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => player.BattingStyle = __value, player.BattingStyle));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(103, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(104, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(105, "\r\n    ");
            __builder.OpenElement(106, "div");
            __builder.AddAttribute(107, "class", "form-group row");
            __builder.AddMarkupContent(108, "\r\n        ");
            __builder.AddMarkupContent(109, "<label for=\"txtBowlingStyle\" class=\"col-sm-2 col-form-label\">Bowling Style</label>\r\n        ");
            __builder.OpenElement(110, "div");
            __builder.AddAttribute(111, "class", "col-sm-8");
            __builder.AddMarkupContent(112, "\r\n            ");
            __builder.OpenElement(113, "input");
            __builder.AddAttribute(114, "type", "text");
            __builder.AddAttribute(115, "class", "form-control");
            __builder.AddAttribute(116, "id", "txtBowlingStyle");
            __builder.AddAttribute(117, "placeholder", "Bowling Style");
            __builder.AddAttribute(118, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 46 "D:\corePractise\Blazor.CRUD.Sample\Pages\AddPlayer.razor"
                                       player.BowlingStyle

#line default
#line hidden
                                       ));
            __builder.AddAttribute(119, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => player.BowlingStyle = __value, player.BowlingStyle));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(120, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(121, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(122, "\r\n    ");
            __builder.OpenElement(123, "div");
            __builder.AddAttribute(124, "class", "form-group row");
            __builder.AddMarkupContent(125, "\r\n        ");
            __builder.OpenElement(126, "div");
            __builder.AddAttribute(127, "class", "col-sm-8");
            __builder.AddMarkupContent(128, "\r\n            ");
            __builder.OpenElement(129, "button");
            __builder.AddAttribute(130, "type", "button");
            __builder.AddAttribute(131, "class", "btn btn-primary");
            __builder.AddAttribute(132, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 51 "D:\corePractise\Blazor.CRUD.Sample\Pages\AddPlayer.razor"
                                                                                                                                                                     Add

#line default
#line hidden
                                                                                                                                                                     ));
            __builder.AddContent(133, "Add");
            __builder.CloseElement();
            __builder.AddMarkupContent(134, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(135, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(136, "\r\n");
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "nav");
            __builder.AddAttribute(1, "aria-label", "breadcrumb");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.OpenElement(3, "ol");
            __builder.AddAttribute(4, "class", "breadcrumb");
            __builder.AddMarkupContent(5, "\r\n        ");
            __builder.OpenElement(6, "li");
            __builder.AddAttribute(7, "class", "breadcrumb-item");
            __builder.AddAttribute(8, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 14 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                                                   () => uri.NavigateTo("/BackOffice/Configuraciones")

#line default
#line hidden
                                                                                                                                                                   ));
            __builder.AddContent(9, "Configuraciones");
            __builder.CloseElement();
            __builder.AddMarkupContent(10, "\r\n        ");
            __builder.OpenElement(11, "li");
            __builder.AddAttribute(12, "class", "breadcrumb-item");
            __builder.AddAttribute(13, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 15 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                                                    () => uri.NavigateTo("/BackOffice/Configuraciones/ListadoProvincias")

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(14, "Provincias");
            __builder.CloseElement();
            __builder.AddMarkupContent(15, "\r\n\r\n        ");
            __builder.OpenElement(16, "li");
            __builder.AddAttribute(17, "class", "breadcrumb-item active");
            __builder.AddAttribute(18, "aria-current", "page");
            __builder.AddAttribute(19, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 17 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                                                    () => uri.NavigateTo($"/BackOffice/Configuraciones/Provincia/{Id}")

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(20, "Detalle Provincia");
            __builder.CloseElement();
            __builder.AddMarkupContent(21, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(22, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(23, "\r\n\r\n");
            __builder.AddMarkupContent(24, "<div class=\"border-bottom border-secondary my-2\">\r\n    <h2 class>Provincia</h2>\r\n</div>\r\n\r\n");
            __Blazor.SurcosBlazor.Client.Pages.BackOffice.Configuracion.Provincia.DetalleProvincia.TypeInference.CreateBotoneraAcciones_0(__builder, 25, 26,
#line 26 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                          provincia

#line default
#line hidden
                                                                                                                                          , 27,
#line 27 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                          BuscarProvincias

#line default
#line hidden
                                                                                                                                          , 28,
#line 28 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                          ((provincia) => ElementoSeleccionado(provincia))

#line default
#line hidden
                                                                                                                                          , 29,
#line 29 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                          true

#line default
#line hidden
                                                                                                                                          , 30,
#line 30 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                          true

#line default
#line hidden
                                                                                                                                          , 31, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 30 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                                                                                             (async() => { EliminarProvincia(provincia); uri.NavigateTo("Configuraciones/ListadoProvincias"); })

#line default
#line hidden
                                                                                                                                                                                                             ), 32, (__builder2) => {
                __builder2.AddMarkupContent(33, "\r\n        ");
                __builder2.OpenComponent <SurcosBlazor.Client.Pages.BackOffice.Configuracion.Provincia.ProvinciaForm>(34);
                __builder2.AddAttribute(35, "accion", "Editar");
                __builder2.AddAttribute(36, "provincia", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <SurcosBlazor.Shared.Entidades.Provincia>(
#line 32 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                            provincia

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(37, "callback", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 32 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                                                                                                                               async() => { await ListarProvincia(); }

#line default
#line hidden
                                                                                                                                                                                                                                               )));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(38, "\r\n    ");
            }
                                                                                                                                          , 39, (provinciaContext) => (__builder2) => {
                __builder2.AddMarkupContent(40, "\r\n        ");
                __builder2.AddContent(41,
#line 36 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                      provincia.nombre

#line default
#line hidden
                                      );
                __builder2.AddMarkupContent(42, "\r\n    ");
            }
                                                                                                                                          );
            __builder.AddMarkupContent(43, "\r\n\r\n\r\n");
            __builder.OpenElement(44, "div");
            __builder.AddAttribute(45, "class", "departamentos mt-4");
            __builder.AddMarkupContent(46, "\r\n");
#line 42 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
            if (provincia == null)
            {
#line default
#line hidden
                __builder.AddContent(47, "        ");
                __builder.AddMarkupContent(48, "<h2> <strong>No se ha encontrado la provincia</strong></h2>\r\n");
#line 45 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
            }
            else
            {
#line default
#line hidden
                __builder.AddContent(49, "        ");
                __builder.OpenElement(50, "div");
                __builder.AddAttribute(51, "class", "detalleEntidad my-4 bg-light p-4");
                __builder.AddMarkupContent(52, "\r\n            ");
                __builder.OpenElement(53, "div");
                __builder.AddMarkupContent(54, "\r\n                ");
                __builder.OpenElement(55, "h4");
                __builder.AddMarkupContent(56, "<strong>Id: </strong>");
                __builder.OpenElement(57, "span");
                __builder.AddAttribute(58, "class", true);
                __builder.AddContent(59,
#line 51 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                     provincia.Id

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.CloseElement();
                __builder.AddMarkupContent(60, "\r\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(61, "\r\n            ");
                __builder.OpenElement(62, "div");
                __builder.AddMarkupContent(63, "\r\n                ");
                __builder.OpenElement(64, "h4");
                __builder.AddContent(65, " ");
                __builder.AddMarkupContent(66, "<strong>Nombre: </strong>");
                __builder.OpenElement(67, "span");
                __builder.AddAttribute(68, "class", true);
                __builder.AddContent(69,
#line 54 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                     provincia.nombre

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.CloseElement();
                __builder.AddMarkupContent(70, "\r\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(71, "\r\n            ");
                __builder.OpenElement(72, "div");
                __builder.AddAttribute(73, "class", "d-flex");
                __builder.AddMarkupContent(74, "\r\n                ");
                __builder.AddMarkupContent(75, "<h4> <strong>Habilitada para E-Commerce: </strong></h4>");
                __builder.OpenElement(76, "input");
                __builder.AddAttribute(77, "type", "checkbox");
                __builder.AddAttribute(78, "disabled", true);
                __builder.AddAttribute(79, "class", "");
                __builder.AddAttribute(80, "checked", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 57 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                           provincia.eCommerce

#line default
#line hidden
                                           ));
                __builder.AddAttribute(81, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => provincia.eCommerce = __value, provincia.eCommerce));
                __builder.SetUpdatesAttributeName("checked");
                __builder.CloseElement();
                __builder.AddContent(82,
#line 57 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                     provincia.eCommerce? "On":"Off"

#line default
#line hidden
                                     );
                __builder.AddMarkupContent(83, "\r\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(84, "\r\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(85, "\r\n");
#line 60 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"

                //DEPARTAMENTOS

#line default
#line hidden
                __builder.AddContent(86, "        ");
                __builder.AddMarkupContent(87, "<div class=\"border-bottom border-secondary my-2\">\r\n            <h3 class>Departamentos</h3>\r\n        </div>\r\n        ");
                __Blazor.SurcosBlazor.Client.Pages.BackOffice.Configuracion.Provincia.DetalleProvincia.TypeInference.CreateBotoneraAcciones_1(__builder, 88, 89,
#line 66 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                              departamento

#line default
#line hidden
                                                                                                                                              , 90,
#line 67 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                              true

#line default
#line hidden
                                                                                                                                              , 91, (__builder2) => {
                    __builder2.AddMarkupContent(92, "\r\n                ");
                    __builder2.OpenComponent <SurcosBlazor.Client.Pages.BackOffice.Configuracion.Provincia.DepartamentoForm>(93);
                    __builder2.AddAttribute(94, "departamento", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <SurcosBlazor.Shared.Entidades.Departamento>(
#line 70 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                new Departamento()

#line default
#line hidden
                                                ));
                    __builder2.AddAttribute(95, "provincia", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <SurcosBlazor.Shared.Entidades.Provincia>(
#line 70 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                provincia

#line default
#line hidden
                                                ));
                    __builder2.AddAttribute(96, "accion", "Crear");
                    __builder2.AddAttribute(97, "callback", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 70 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                                                                                                                                   (async() => { this.StateHasChanged(); await tablaGenerica.ListarItemsApi(); })

#line default
#line hidden
                                                                                                                                                                                                                                                   )));
                    __builder2.CloseComponent();
                    __builder2.AddMarkupContent(98, "\r\n            ");
                }
                                                                                                                                              );
                __builder.AddMarkupContent(99, "\r\n");
                __builder.AddContent(100, "        ");
                __Blazor.SurcosBlazor.Client.Pages.BackOffice.Configuracion.Provincia.DetalleProvincia.TypeInference.CreateTablaGenerica_2(__builder, 101, 102,
#line 76 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                           new List <string[]> {
                    new string[3] {
                        "Id", "Id", "Texto"
                    }, new string[3] {
                        "Nombre", "nombre", "Text"
                    }, new string[3] {
                        "E-Commerce", "eCommerce", "Checkbox"
                    }
                }

#line default
#line hidden
                                                                                                                                           , 103,
#line 77 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                           true

#line default
#line hidden
                                                                                                                                           , 104,
#line 78 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                           new TablaGenerica <Departamento> .ConsultarApi {
                    baseUrl = $"api/departamento?provinciaId={provincia.Id}&", consultaApi = true, paginacion = true, cantidadDeRegistrosAMostrar = 10
                }

#line default
#line hidden
                                                                                                                                           , 105,
#line 79 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                           true

#line default
#line hidden
                                                                                                                                           , 106, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 80 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                                                                                               ((Departamento departamento) => DepartamentoSeleccionado(departamento))

#line default
#line hidden
                                                                                                                                                                                                               ), 107,
#line 81 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                           true

#line default
#line hidden
                                                                                                                                           , 108, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 82 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                                                                                               async() => await EliminarDepartamento(departamento)

#line default
#line hidden
                                                                                                                                                                                                               ), 109, (__builder2) => {
                    __builder2.AddMarkupContent(110, "\r\n                ");
                    __builder2.OpenComponent <SurcosBlazor.Client.Pages.BackOffice.Configuracion.Provincia.DepartamentoForm>(111);
                    __builder2.AddAttribute(112, "departamento", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <SurcosBlazor.Shared.Entidades.Departamento>(
#line 85 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                this.departamento

#line default
#line hidden
                                                ));
                    __builder2.AddAttribute(113, "provincia", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <SurcosBlazor.Shared.Entidades.Provincia>(
#line 85 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                provincia

#line default
#line hidden
                                                ));
                    __builder2.AddAttribute(114, "accion", "Editar");
                    __builder2.AddAttribute(115, "callback", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 85 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                                                                                                                                                                                                                                                    (() => this.StateHasChanged())

#line default
#line hidden
                                                                                                                                                                                                                                                    )));
                    __builder2.CloseComponent();
                    __builder2.AddMarkupContent(116, "\r\n            ");
                }
                                                                                                                                           , 117, (__value) => {
#line 75 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
                    tablaGenerica = __value;

#line default
#line hidden
                }
                                                                                                                                           );
                __builder.AddMarkupContent(118, "\r\n");
#line 89 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\Provincia\DetalleProvincia.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(119, "\r\n");
            __builder.CloseElement();
        }
Beispiel #20
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "nav");
            __builder.AddAttribute(1, "aria-label", "breadcrumb");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.OpenElement(3, "ol");
            __builder.AddAttribute(4, "class", "breadcrumb");
            __builder.AddMarkupContent(5, "\r\n        ");
            __builder.OpenElement(6, "li");
            __builder.AddAttribute(7, "class", "breadcrumb-item");
            __builder.AddAttribute(8, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 13 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                                                                                                                                   () => uri.NavigateTo("/BackOffice/Inventario")

#line default
#line hidden
                                                                                                                                                                   ));
            __builder.AddContent(9, "Invetario");
            __builder.CloseElement();
            __builder.AddMarkupContent(10, "\r\n        ");
            __builder.OpenElement(11, "li");
            __builder.AddAttribute(12, "class", "breadcrumb-item");
            __builder.AddAttribute(13, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 14 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                                                                                                                                    () => uri.NavigateTo("/BackOffice/Inventario/Listado")

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(14, "Inventarios");
            __builder.CloseElement();
            __builder.AddMarkupContent(15, "\r\n\r\n        ");
            __builder.OpenElement(16, "li");
            __builder.AddAttribute(17, "class", "breadcrumb-item active");
            __builder.AddAttribute(18, "aria-current", "page");
            __builder.AddAttribute(19, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 16 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                                                                                                                                    () => uri.NavigateTo($"/BackOffice/Inventario/MovimientoInventario/{inventarioId}")

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(20, "Movimientos Inventario");
            __builder.CloseElement();
            __builder.AddMarkupContent(21, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(22, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(23, "\r\n");
            __builder.AddMarkupContent(24, "<h3>Movimientos Inventario</h3>\r\n");
            __builder.OpenElement(25, "div");
            __builder.AddAttribute(26, "class", "col-md-12 row mx-0  p-4 rounded-1");
            __builder.AddAttribute(27, "style", "box-shadow:2px 2px 4px #262626");
            __builder.AddMarkupContent(28, "\r\n    ");
            __builder.OpenElement(29, "div");
            __builder.AddAttribute(30, "class", "col-md-4");
            __builder.AddMarkupContent(31, "\r\n        ");
            __builder.OpenComponent <SurcosBlazor.Client.Shared.SelectGenerico <Deposito> >(32);
            __builder.AddAttribute(33, "TList", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Collections.Generic.List <Deposito> >(
#line 22 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                       depositos

#line default
#line hidden
                                       ));
            __builder.AddAttribute(34, "Label", "Deposito");
            __builder.AddAttribute(35, "TItemActual", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Deposito>(
#line 22 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                       deposito

#line default
#line hidden
                                       ));
            __builder.AddAttribute(36, "SelectItem", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Deposito> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Deposito>(this,
#line 23 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                                                                                                                                                                                                                                   (Deposito deposito) => { this.deposito = deposito; }

#line default
#line hidden
                                                                                                                                                                                                                                                                   )));
            __builder.AddAttribute(37, "TTemplate", (Microsoft.AspNetCore.Components.RenderFragment <Deposito>)((Deposito) => (__builder2) => {
                __builder2.AddContent(38,
#line 24 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                      Deposito.nombre

#line default
#line hidden
                                      );
            }
                                                                                                                ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(39, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(40, "\r\n    ");
            __builder.OpenElement(41, "div");
            __builder.AddAttribute(42, "class", "col-md-4");
            __builder.AddMarkupContent(43, "\r\n\r\n        ");
            __builder.OpenComponent <SurcosBlazor.Client.Shared.SelectGenerico <ProductoPresentacion> >(44);
            __builder.AddAttribute(45, "TList", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Collections.Generic.List <ProductoPresentacion> >(
#line 29 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                       productosPresentacion

#line default
#line hidden
                                       ));
            __builder.AddAttribute(46, "Label", "Producto");
            __builder.AddAttribute(47, "TItemActual", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <ProductoPresentacion>(
#line 29 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                       productoPresentacion

#line default
#line hidden
                                       ));
            __builder.AddAttribute(48, "SelectItem", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <ProductoPresentacion> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <ProductoPresentacion>(this,
#line 30 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                                                                                                                                                                                                                                                           (ProductoPresentacion producto) => { this.productoPresentacion = producto; }

#line default
#line hidden
                                                                                                                                                                                                                                                                                           )));
            __builder.AddAttribute(49, "TTemplate", (Microsoft.AspNetCore.Components.RenderFragment <ProductoPresentacion>)((Producto) => (__builder2) => {
                __builder2.AddContent(50,
#line 31 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                      Producto.Producto.nombre

#line default
#line hidden
                                      );
                __builder2.AddContent(51, ", ");
                __builder2.AddContent(52,
#line 31 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                      Producto.PresentacionProducto.nombre

#line default
#line hidden
                                      );
            }
                                                                                                                            ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(53, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(54, "\r\n");
#line 34 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
            if (deposito != null && productoPresentacion != null)
            {
#line default
#line hidden
                __builder.AddContent(55, "        ");
                __builder.OpenElement(56, "div");
                __builder.AddAttribute(57, "class", "col-md-2 btn btn-sm btn-info text-center align-items-center");
                __builder.AddAttribute(58, "style", "width:10%");
                __builder.AddAttribute(59, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 36 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                                                                                                                                        async() => await BuscarInventario(productoPresentacion.Id, deposito.Id)

#line default
#line hidden
                                                                                                                                                                        ));
                __builder.AddMarkupContent(60, "\r\n            ");
                __builder.AddMarkupContent(61, "<span><i class=\"fas fa-search mr-1\"></i>Buscar</span>\r\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(62, "\r\n");
#line 39 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
            }

#line default
#line hidden
            __builder.CloseElement();
            __builder.AddMarkupContent(63, "\r\n");
#line 41 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
            if (inventario != null)
            {
#line default
#line hidden
#line 43 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                if (inventario.Id != 0)
                {
#line default
#line hidden
                    __builder.AddContent(64, "        ");
                    __builder.OpenElement(65, "div");
                    __builder.AddAttribute(66, "class", "d-flex justify-content-between align-items-center my-3 col-md-12 mx-0 px-0");
                    __builder.AddMarkupContent(67, "\r\n\r\n            ");
                    __builder.OpenElement(68, "h3");
                    __builder.AddAttribute(69, "class", "my-4");
                    __builder.AddContent(70,
#line 47 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                         inventario.ProductoPresentacion.Producto.nombre

#line default
#line hidden
                                         );
                    __builder.AddContent(71, ", ");
                    __builder.AddContent(72,
#line 47 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                         inventario.ProductoPresentacion.PresentacionProducto.nombre

#line default
#line hidden
                                         );
                    __builder.AddContent(73, " - ");
                    __builder.AddContent(74,
#line 47 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                         inventario.Deposito.nombre

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(75, "\r\n            ");
                    __builder.OpenElement(76, "div");
                    __builder.AddAttribute(77, "class", "btn btn-sm btn-info");
                    __builder.AddAttribute(78, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 48 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                                                                                                                                            async() => await ToggleModal("NuevoMovimiento")

#line default
#line hidden
                                                                                                                                                                            ));
                    __builder.AddContent(79, "Nuevo Movimiento");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(80, "\r\n        ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(81, "\r\n        ");
                    __builder.OpenElement(82, "div");
                    __builder.AddAttribute(83, "class", "d-flex justify-content-between");
                    __builder.AddMarkupContent(84, "\r\n            ");
                    __builder.OpenElement(85, "div");
                    __builder.AddAttribute(86, "class", "row mx-0 px-0");
                    __builder.OpenElement(87, "strong");
                    __builder.AddContent(88, "Total en existencia: ");
                    __builder.AddContent(89,
#line 51 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                         inventario.cantidadUnidadesEnExistencia

#line default
#line hidden
                                         );
                    __builder.AddContent(90, " Unidades");
                    __builder.CloseElement();
                    __builder.CloseElement();
                    __builder.AddMarkupContent(91, "\r\n            ");
                    __builder.OpenElement(92, "div");
                    __builder.AddMarkupContent(93, "\r\n                ");
                    __builder.OpenElement(94, "input");
                    __builder.AddAttribute(95, "type", "checkbox");
                    __builder.AddAttribute(96, "checked", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 53 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                               mostrarColores

#line default
#line hidden
                                               ));
                    __builder.AddAttribute(97, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => mostrarColores = __value, mostrarColores));
                    __builder.SetUpdatesAttributeName("checked");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(98, " Mostrar Colores\r\n            ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(99, "\r\n        ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(100, "\r\n");
                    __builder.AddContent(101, "        ");
                    __builder.OpenElement(102, "table");
                    __builder.AddAttribute(103, "class", "table table-sm table-striped");
                    __builder.AddMarkupContent(104, "\r\n            ");
                    __builder.AddMarkupContent(105, @"<thead>
                <tr class=""bg-dark text-white"">
                    <th>Fecha</th>
                    <th>Orden Producción</th>

                    <th>Descripción</th>
                    <th>Entra</th>
                    <th>Sale</th>
                    <th>Cantidad Movida</th>
                    <th>En Stock</th>
                </tr>
            </thead>
            ");
                    __builder.OpenElement(106, "tbody");
                    __builder.AddMarkupContent(107, "\r\n");
#line 71 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                    if (inventario.MovimientosInventario != null)
                    {
                        decimal cantidad = inventario.cantidadUnidadesEnExistencia;
                        int     anterior = 0;
                        int     aux      = 0;


#line default
#line hidden
#line 76 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                        foreach (MovimientoInventario movimiento in inventario.MovimientosInventario)
                        {
                            if (aux != 0)
                            {
                                cantidad += anterior;
                            }
                            aux++;
                            anterior = movimiento.entra ? -1 * movimiento.cantidadUnidadesMovida : movimiento.cantidadUnidadesMovida;

#line default
#line hidden
                            __builder.AddContent(108, "                        ");
                            __builder.OpenElement(109, "tr");
                            __builder.AddAttribute(110, "style", "background:" + " " + (
#line 85 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                       mostrarColores ? movimiento.entra ? "#9CE36D" : "#E36E54" : ""

#line default
#line hidden
                                                       ));
                            __builder.AddMarkupContent(111, "\r\n                            ");
                            __builder.OpenElement(112, "td");
                            __builder.AddContent(113,
#line 86 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                 movimiento.fecha

#line default
#line hidden
                                                 );
                            __builder.CloseElement();
                            __builder.AddMarkupContent(114, "\r\n                            ");
                            __builder.OpenElement(115, "td");
                            __builder.AddMarkupContent(116, "\r\n");
#line 88 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                            if (movimiento.OrdenProduccion != null)
                            {
#line default
#line hidden
                                __builder.OpenElement(117, "a");
                                __builder.AddAttribute(118, "href",
#line 89 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                       $"/BackOffice/Produccion/DetalleOrdenProduccion/{movimiento.OrdenProduccionId}"

#line default
#line hidden
                                                       );
                                __builder.AddContent(119,
#line 89 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                     $"Ord.Producción #{movimiento.OrdenProduccionId}"

#line default
#line hidden
                                                     );
                                __builder.CloseElement();
#line 89 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                            }

#line default
#line hidden
                            __builder.AddContent(120, "                        ");
                            __builder.CloseElement();
                            __builder.AddMarkupContent(121, "\r\n                        ");
                            __builder.OpenElement(122, "td");
                            __builder.AddMarkupContent(123, "\r\n                            ");
                            __builder.AddContent(124,
#line 92 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                 (MarkupString)movimiento.descripcion

#line default
#line hidden
                                                 );
                            __builder.AddMarkupContent(125, "\r\n                        ");
                            __builder.CloseElement();
                            __builder.AddMarkupContent(126, "\r\n                        ");
                            __builder.OpenElement(127, "td");
                            __builder.OpenElement(128, "i");
                            __builder.AddAttribute(129, "class",
#line 94 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                   movimiento.entra  ? " fas fa-check text-success" : "fas fa-times text-danger"

#line default
#line hidden
                                                   );
                            __builder.CloseElement();
                            __builder.CloseElement();
                            __builder.AddMarkupContent(130, "\r\n                        ");
                            __builder.OpenElement(131, "td");
                            __builder.OpenElement(132, "i");
                            __builder.AddAttribute(133, "class",
#line 95 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                   movimiento.sale ? " fas fa-check text-success" : "fas fa-times text-danger"

#line default
#line hidden
                                                   );
                            __builder.CloseElement();
                            __builder.CloseElement();
                            __builder.AddMarkupContent(134, "\r\n                        ");
                            __builder.OpenElement(135, "td");
                            __builder.AddAttribute(136, "class", "text-dark");
                            __builder.AddContent(137,
#line 96 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                 movimiento.cantidadUnidadesMovida

#line default
#line hidden
                                                 );
                            __builder.CloseElement();
                            __builder.AddMarkupContent(138, "\r\n                        ");
                            __builder.OpenElement(139, "td");
                            __builder.AddAttribute(140, "class", "text-dark");
                            __builder.AddContent(141,
#line 97 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                 cantidad

#line default
#line hidden
                                                 );
                            __builder.CloseElement();
                            __builder.AddMarkupContent(142, "\r\n\r\n                    ");
                            __builder.CloseElement();
                            __builder.AddMarkupContent(143, "\r\n");
#line 100 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                        }

#line default
#line hidden
#line 100 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                    }

#line default
#line hidden
                    __builder.AddContent(144, "            ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(145, "\r\n        ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(146, "\r\n        ");
                    __builder.OpenComponent <SurcosBlazor.Client.Shared.PaginacionComp>(147);
                    __builder.AddAttribute(148, "PaginaActual", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32>(
#line 104 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                               paginaActual

#line default
#line hidden
                                               ));
                    __builder.AddAttribute(149, "PaginaSeleccionada", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.Int32> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.Int32>(this,
#line 104 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                                                                                                                                                                                                                                                            paginaSeleccionada

#line default
#line hidden
                                                                                                                                                                                                                                                                                            )));
                    __builder.AddAttribute(150, "PaginasTotales", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32>(
#line 104 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                               paginasTotales

#line default
#line hidden
                                               ));
                    __builder.CloseComponent();
                    __builder.AddMarkupContent(151, "\r\n");
#line 105 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                }
                else
                {
#line default
#line hidden
                    __builder.AddContent(152, "        ");
                    __builder.OpenElement(153, "div");
                    __builder.AddAttribute(154, "class", "d-flex justify-content-between align-items-center my-3 col-md-12 mx-0 px-0");
                    __builder.AddMarkupContent(155, "\r\n            ");
                    __builder.AddMarkupContent(156, "<h4>Este inventario no registra movimientos </h4>\r\n            ");
                    __builder.OpenElement(157, "div");
                    __builder.AddAttribute(158, "class", "btn btn-sm btn-info");
                    __builder.AddAttribute(159, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 111 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                                                                                                                                             async() => await ToggleModal("NuevoMovimiento")

#line default
#line hidden
                                                                                                                                                                             ));
                    __builder.AddContent(160, "Nuevo Movimiento");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(161, "\r\n        ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(162, "\r\n");
#line 113 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                }

#line default
#line hidden
#line 113 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(163, "\r\n");
            __builder.OpenComponent <SurcosBlazor.Client.Shared.Modal>(164);
            __builder.AddAttribute(165, "modalId", "NuevoMovimiento");
            __builder.AddAttribute(166, "modalTamaño", "modal-md");
            __builder.AddAttribute(167, "modalTitulo", "Nuevo Movimiento de Inventario");
            __builder.AddAttribute(168, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(169, "\r\n    ");
                __builder2.OpenComponent <SurcosBlazor.Client.Pages.BackOffice.Inventario.MovimientoInventarioForm>(170);
                __builder2.AddAttribute(171, "movimiento", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <SurcosBlazor.Shared.Entidades.MovimientoInventario>(
#line 117 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                            movimientoInventario

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(172, "callback", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <SurcosBlazor.Shared.Entidades.Inventario> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <SurcosBlazor.Shared.Entidades.Inventario>(this,
#line 117 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\MovimientosInventarioDetalle.razor"
                                                                                                                                                                                                                                                                                                                                       async(Inventario inventario) => { await BuscarInventario(inventario.ProductoPresentacionId, inventario.DepositoId); this.StateHasChanged(); }

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                       )));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(173, "\r\n");
            }
                                                                                                         ));
            __builder.CloseComponent();
        }
Beispiel #21
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "container");
            __builder.AddMarkupContent(2, "\n");
            __builder.OpenElement(3, "h1");
            __builder.AddContent(4,
#line 5 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                 Title

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(5, "\n");
#line 6 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
            if (pets == null)
            {
#line default
#line hidden
                __builder.AddContent(6, "        ");
                __builder.AddMarkupContent(7, "<p><em>Loading...</em></p>\n");
#line 9 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
            }
            else
            {
#line default
#line hidden
                __builder.AddContent(8, "        ");
                __builder.OpenElement(9, "div");
                __builder.AddAttribute(10, "class", "filter-bar");
                __builder.AddMarkupContent(11, "\n            ");
                __builder.OpenElement(12, "input");
                __builder.AddAttribute(13, "type", "text");
                __builder.AddAttribute(14, "placeholder", "Filter");
                __builder.AddAttribute(15, "name", "filter");
                __builder.AddAttribute(16, "title", "Filter Teable");
                __builder.AddAttribute(17, "onkeyup", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.KeyboardEventArgs>(this,
#line 13 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                                                                                                                                                           FilterPets

#line default
#line hidden
                                                                                                                                                                           ));
                __builder.AddAttribute(18, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 13 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                           FilterValue

#line default
#line hidden
                                           ));
                __builder.AddAttribute(19, "oninput", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => FilterValue = __value, FilterValue));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(20, "\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(21, "\n        ");
                __builder.OpenElement(22, "table");
                __builder.AddAttribute(23, "class", "bz-grid");
                __builder.AddMarkupContent(24, "\n            ");
                __builder.OpenElement(25, "thead");
                __builder.AddMarkupContent(26, "\n                ");
                __builder.OpenElement(27, "tr");
                __builder.AddMarkupContent(28, "\n                    ");
                __builder.OpenElement(29, "th");
                __builder.AddAttribute(30, "class", "name");
                __builder.AddAttribute(31, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 18 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                                                                                                                                                        () => SortTable("Name")

#line default
#line hidden
                                                                                                                                                                        ));
                __builder.AddMarkupContent(32, "\n                        ");
                __builder.AddMarkupContent(33, "<span>Name</span> \n                        ");
                __builder.OpenElement(34, "span");
                __builder.AddMarkupContent(35, "\n                            ");
                __builder.OpenElement(36, "img");
                __builder.AddAttribute(37, "src", "/css/chevron.png");
                __builder.AddAttribute(38, "class",
#line 21 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                       NameSort

#line default
#line hidden
                                       );
                __builder.CloseElement();
                __builder.AddMarkupContent(39, "\n                        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(40, " \n                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(41, "\n                    ");
                __builder.OpenElement(42, "th");
                __builder.AddAttribute(43, "class", "breed");
                __builder.AddAttribute(44, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 24 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                                                                                                                                                        () => SortTable("Breed")

#line default
#line hidden
                                                                                                                                                                        ));
                __builder.AddMarkupContent(45, "\n                        ");
                __builder.AddMarkupContent(46, "<span>Breed</span> \n                        ");
                __builder.OpenElement(47, "span");
                __builder.AddMarkupContent(48, "\n                            ");
                __builder.OpenElement(49, "img");
                __builder.AddAttribute(50, "src", "/css/chevron.png");
                __builder.AddAttribute(51, "class",
#line 27 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                       BreedSort

#line default
#line hidden
                                       );
                __builder.CloseElement();
                __builder.AddMarkupContent(52, "\n                        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(53, " \n                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(54, "\n                    ");
                __builder.OpenElement(55, "th");
                __builder.AddAttribute(56, "class", "age");
                __builder.AddAttribute(57, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 30 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                                                                                                                                                        () => SortTable("Age")

#line default
#line hidden
                                                                                                                                                                        ));
                __builder.AddMarkupContent(58, "\n                        ");
                __builder.AddMarkupContent(59, "<span>Age </span>\n                        ");
                __builder.OpenElement(60, "span");
                __builder.AddMarkupContent(61, "\n                            ");
                __builder.OpenElement(62, "img");
                __builder.AddAttribute(63, "src", "/css/chevron.png");
                __builder.AddAttribute(64, "class",
#line 33 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                       AgeSort

#line default
#line hidden
                                       );
                __builder.CloseElement();
                __builder.AddMarkupContent(65, "\n                        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(66, " \n                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(67, "\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(68, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(69, "\n            ");
                __builder.OpenElement(70, "tbody");
                __builder.AddMarkupContent(71, "\n");
#line 39 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                foreach (var pet in visiblePets)
                {
#line default
#line hidden
                    __builder.AddContent(72, "                    ");
                    __builder.OpenElement(73, "tr");
                    __builder.AddAttribute(74, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 40 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                                                                                                                                                            () => OpenPopup(pet)

#line default
#line hidden
                                                                                                                                                                            ));
                    __builder.AddMarkupContent(75, "\n                        ");
                    __builder.OpenElement(76, "td");
                    __builder.AddContent(77,
#line 41 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                         pet.Name

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(78, "\n                        ");
                    __builder.OpenElement(79, "td");
                    __builder.AddContent(80,
#line 42 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                         pet.Breed

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(81, "\n                        ");
                    __builder.OpenElement(82, "td");
                    __builder.AddContent(83,
#line 43 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                         pet.Age

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(84, "\n                    ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(85, "\n");
#line 45 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                }

#line default
#line hidden
                __builder.AddContent(86, "            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(87, "\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(88, "\n         ");
                __builder.OpenElement(89, "div");
                __builder.AddAttribute(90, "id", "background");
                __builder.AddAttribute(91, "class",
#line 48 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                       DetailOpen

#line default
#line hidden
                                       );
                __builder.CloseElement();
                __builder.AddMarkupContent(92, "\n        ");
                __builder.OpenElement(93, "div");
                __builder.AddAttribute(94, "id", "popup");
                __builder.AddAttribute(95, "class",
#line 49 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                       DetailOpen

#line default
#line hidden
                                       );
                __builder.AddMarkupContent(96, "\n            ");
                __builder.OpenElement(97, "div");
                __builder.AddAttribute(98, "class", "header-row");
                __builder.AddMarkupContent(99, "\n                ");
                __builder.AddMarkupContent(100, "<span>DETAILS</span>\n                ");
                __builder.OpenElement(101, "span");
                __builder.AddAttribute(102, "id", "close-btn");
                __builder.AddAttribute(103, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 52 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                                                                                                                                                         ClosePopup

#line default
#line hidden
                                                                                                                                                                         ));
                __builder.AddContent(104, "X");
                __builder.CloseElement();
                __builder.AddMarkupContent(105, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(106, "\n            ");
                __builder.OpenElement(107, "div");
                __builder.AddAttribute(108, "class", "detail-row");
                __builder.AddMarkupContent(109, "\n                ");
                __builder.AddMarkupContent(110, "<span class=\"detail-title\">Name:</span>\n                ");
                __builder.OpenElement(111, "span");
                __builder.AddAttribute(112, "class", "detail-info");
                __builder.AddContent(113,
#line 56 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                     selectedRow.Name

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.AddMarkupContent(114, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(115, "\n            ");
                __builder.OpenElement(116, "div");
                __builder.AddAttribute(117, "class", "detail-row");
                __builder.AddMarkupContent(118, "\n                ");
                __builder.AddMarkupContent(119, "<span class=\"detail-title\">Breed:</span>\n                ");
                __builder.OpenElement(120, "span");
                __builder.AddAttribute(121, "class", "detail-info");
                __builder.AddContent(122,
#line 60 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                     selectedRow.Breed

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.AddMarkupContent(123, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(124, "\n            ");
                __builder.OpenElement(125, "div");
                __builder.AddAttribute(126, "class", "detail-row");
                __builder.AddMarkupContent(127, "\n                ");
                __builder.AddMarkupContent(128, "<span class=\"detail-title\">Age:</span>\n                ");
                __builder.OpenElement(129, "span");
                __builder.AddAttribute(130, "class", "detail-info");
                __builder.AddContent(131,
#line 64 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
                                     selectedRow.Age

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.AddMarkupContent(132, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(133, "\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(134, "\n");
#line 67 "/Users/John/Development/Projects/BlazorGridToo/Pages/GridWrapper.razor"
            }

#line default
#line hidden
            __builder.CloseElement();
        }
Beispiel #22
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "table");
            __builder.AddAttribute(1, "class", "table table-borderless");
            __builder.AddMarkupContent(2, "\n    ");
            __builder.OpenElement(3, "tbody");
            __builder.AddMarkupContent(4, "\n        ");
            __builder.OpenElement(5, "tr");
            __builder.AddMarkupContent(6, "\n            ");
            __builder.OpenElement(7, "td");
            __builder.AddMarkupContent(8, "\n                ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(9);
            __builder.AddAttribute(10, "For", "content");
            __builder.AddAttribute(11, "HelpText", "Enter the module content");
            __builder.AddAttribute(12, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(13, "Content: ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(14, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(15, "\n            ");
            __builder.OpenElement(16, "td");
            __builder.AddMarkupContent(17, "\n                ");
            __builder.OpenElement(18, "textarea");
            __builder.AddAttribute(19, "id", "content");
            __builder.AddAttribute(20, "class", "form-control");
            __builder.AddAttribute(21, "rows", "5");
            __builder.AddAttribute(22, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 13 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Modules/Export.razor"
                                       _content

#line default
#line hidden
                                       ));
            __builder.AddAttribute(23, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _content = __value, _content));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(24, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(25, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(26, "\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(27, "\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(28, "\n");
            __builder.OpenElement(29, "button");
            __builder.AddAttribute(30, "type", "button");
            __builder.AddAttribute(31, "class", "btn btn-success");
            __builder.AddAttribute(32, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 18 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Modules/Export.razor"
                                                                                                                                                                    ExportModule

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(33, "Export");
            __builder.CloseElement();
            __builder.AddMarkupContent(34, "\n");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(35);
            __builder.AddAttribute(36, "class", "btn btn-secondary");
            __builder.AddAttribute(37, "href",
#line 19 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Modules/Export.razor"
                                   NavigateUrl()

#line default
#line hidden
                                   );
            __builder.AddAttribute(38, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(39, "Cancel");
            }
                                                                                                        ));
            __builder.CloseComponent();
        }
Beispiel #23
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "h1");
            __builder.AddContent(1, "Todo (");
            __builder.AddContent(2,
#line 3 "G:\Prokkis\edx\Blazor\BlazorApp1\BlazorApp1\Client\Pages\Todo.razor"
                                 todos.Count(todo => !todo.IsDone)

#line default
#line hidden
                                 );
            __builder.AddContent(3, ")");
            __builder.CloseElement();
            __builder.AddMarkupContent(4, "\r\n\r\n");
            __builder.OpenElement(5, "ul");
            __builder.AddMarkupContent(6, "\r\n");
#line 6 "G:\Prokkis\edx\Blazor\BlazorApp1\BlazorApp1\Client\Pages\Todo.razor"
            foreach (var todo in todos)
            {
#line default
#line hidden
                __builder.AddContent(7, "        ");
                __builder.OpenElement(8, "li");
                __builder.AddMarkupContent(9, "\r\n            ");
                __builder.OpenElement(10, "input");
                __builder.AddAttribute(11, "type", "checkbox");
                __builder.AddAttribute(12, "checked", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 9 "G:\Prokkis\edx\Blazor\BlazorApp1\BlazorApp1\Client\Pages\Todo.razor"
                                           todo.IsDone

#line default
#line hidden
                                           ));
                __builder.AddAttribute(13, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => todo.IsDone = __value, todo.IsDone));
                __builder.SetUpdatesAttributeName("checked");
                __builder.CloseElement();
                __builder.AddMarkupContent(14, "\r\n            ");
                __builder.OpenElement(15, "input");
                __builder.AddAttribute(16, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 10 "G:\Prokkis\edx\Blazor\BlazorApp1\BlazorApp1\Client\Pages\Todo.razor"
                                           todo.Title

#line default
#line hidden
                                           ));
                __builder.AddAttribute(17, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => todo.Title = __value, todo.Title));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(18, "\r\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(19, "\r\n");
#line 12 "G:\Prokkis\edx\Blazor\BlazorApp1\BlazorApp1\Client\Pages\Todo.razor"
            }

#line default
#line hidden
            __builder.CloseElement();
            __builder.AddMarkupContent(20, "\r\n");
            __builder.OpenElement(21, "input");
            __builder.AddAttribute(22, "placeholder", "Something todo");
            __builder.AddAttribute(23, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 14 "G:\Prokkis\edx\Blazor\BlazorApp1\BlazorApp1\Client\Pages\Todo.razor"
                                       newTodo

#line default
#line hidden
                                       ));
            __builder.AddAttribute(24, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => newTodo = __value, newTodo));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(25, "\r\n");
            __builder.OpenElement(26, "button");
            __builder.AddAttribute(27, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 15 "G:\Prokkis\edx\Blazor\BlazorApp1\BlazorApp1\Client\Pages\Todo.razor"
                                                                                                                                                                    AddTodo

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(28, "Add todo");
            __builder.CloseElement();
        }
Beispiel #24
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.AddMarkupContent(0, "<h3>Sensor Manager</h3>\r\n<hr>\r\n\r\n");
#line 6 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
            if (loaded)
            {
#line default
#line hidden
                __builder.AddContent(1, "    ");
                __builder.OpenElement(2, "button");
                __builder.AddAttribute(3, "type", "button");
                __builder.AddAttribute(4, "class", "btn btn-success m-1");
                __builder.AddAttribute(5, "data-toggle", "modal");
                __builder.AddAttribute(6, "data-target", "#createSensorModal");
                __builder.AddAttribute(7, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 8 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                                                                                                                                                       ClearCreateSensor

#line default
#line hidden
                                                                                                                                                                       ));
                __builder.AddContent(8, "Add new");
                __builder.CloseElement();
                __builder.AddMarkupContent(9, "\r\n");
#line 9 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"

                if (sensors != null)
                {
#line default
#line hidden
                    __builder.AddContent(10, "        ");
                    __builder.OpenElement(11, "table");
                    __builder.AddAttribute(12, "class", "table");
                    __builder.AddMarkupContent(13, "\r\n            ");
                    __builder.AddMarkupContent(14, @"<thead>
                <tr>
                    <th>Name</th>
                    <th>Ip</th>
                    <th>Mac</th>
                    <th>Water Level</th>
                    <th>Schedule Name</th>
                    <th>Switch Name</th>
                    <th>Zone Name</th>
                </tr>
            </thead>
            ");
                    __builder.OpenElement(15, "tbody");
                    __builder.AddMarkupContent(16, "\r\n");
#line 25 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                    foreach (var sensor in sensors)
                    {
#line default
#line hidden
                        __builder.AddContent(17, "                    ");
                        __builder.OpenElement(18, "tr");
                        __builder.AddMarkupContent(19, "\r\n                        ");
                        __builder.OpenElement(20, "td");
                        __builder.AddContent(21,
#line 28 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                             sensor.Name

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(22, "\r\n                        ");
                        __builder.OpenElement(23, "td");
                        __builder.AddContent(24,
#line 29 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                             sensor.Ip

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(25, "\r\n                        ");
                        __builder.OpenElement(26, "td");
                        __builder.AddContent(27,
#line 30 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                             sensor.Mac

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(28, "\r\n                        ");
                        __builder.OpenElement(29, "td");
                        __builder.AddContent(30,
#line 31 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                             sensor.Data

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(31, "\r\n                        ");
                        __builder.OpenElement(32, "td");
                        __builder.AddContent(33,
#line 32 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                             sensor.ScheduleName

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(34, "\r\n                        ");
                        __builder.OpenElement(35, "td");
                        __builder.AddContent(36,
#line 33 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                             sensor.SwitchName

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(37, "\r\n                        ");
                        __builder.OpenElement(38, "td");
                        __builder.AddContent(39,
#line 34 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                             sensor.ZoneName

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(40, "\r\n                        ");
                        __builder.OpenElement(41, "td");
                        __builder.AddMarkupContent(42, "\r\n                            ");
                        __builder.OpenElement(43, "button");
                        __builder.AddAttribute(44, "type", "button");
                        __builder.AddAttribute(45, "class", "btn btn-warning m-1");
                        __builder.AddAttribute(46, "data-toggle", "modal");
                        __builder.AddAttribute(47, "data-target", "#editSensorModal");
                        __builder.AddAttribute(48, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 36 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                                                                                                                                                                () => SetEditSensor(sensor.Id)

#line default
#line hidden
                                                                                                                                                                                ));
                        __builder.AddContent(49, "Edit");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(50, "\r\n                            ");
                        __builder.OpenElement(51, "button");
                        __builder.AddAttribute(52, "type", "button");
                        __builder.AddAttribute(53, "class", "btn btn-danger m-1");
                        __builder.AddAttribute(54, "data-toggle", "modal");
                        __builder.AddAttribute(55, "data-target", "#deleteSensorModal");
                        __builder.AddAttribute(56, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 37 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                                                                                                                                                                () => SetDeleteSensor(sensor.Id)

#line default
#line hidden
                                                                                                                                                                                ));
                        __builder.AddContent(57, "Delete");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(58, "\r\n                            ");
                        __builder.OpenElement(59, "button");
                        __builder.AddAttribute(60, "type", "button");
                        __builder.AddAttribute(61, "class", "btn btn-success m-1");
                        __builder.AddAttribute(62, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 38 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                                                                                                                                                                () => RefillSensorClick(sensor.Id)

#line default
#line hidden
                                                                                                                                                                                ));
                        __builder.AddContent(63, "Refill");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(64, "\r\n                        ");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(65, "\r\n                    ");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(66, "\r\n");
#line 41 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                    }

#line default
#line hidden
                    __builder.AddContent(67, "            ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(68, "\r\n        ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(69, "\r\n");
#line 44 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                }

                else
                {
#line default
#line hidden
                    __builder.AddContent(70, "        ");
                    __builder.AddMarkupContent(71, "<p>No sensor available!</p>\r\n");
#line 49 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                }
            }

            else
            {
#line default
#line hidden
                __builder.AddMarkupContent(72, "    <hr>\r\n    ");
                __builder.AddMarkupContent(73, "<span>Loading...</span>\r\n");
#line 56 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(74, "\r\n\r\n");
#line 59 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
            if (createSensor != null)
            {
#line default
#line hidden
                __builder.AddContent(75, "    ");
                __builder.OpenElement(76, "div");
                __builder.AddAttribute(77, "class", "modal fade");
                __builder.AddAttribute(78, "id", "createSensorModal");
                __builder.AddAttribute(79, "tabindex", "-1");
                __builder.AddAttribute(80, "role", "dialog");
                __builder.AddMarkupContent(81, "\r\n        ");
                __builder.OpenElement(82, "div");
                __builder.AddAttribute(83, "class", "modal-dialog");
                __builder.AddAttribute(84, "role", "document");
                __builder.AddMarkupContent(85, "\r\n            ");
                __builder.OpenElement(86, "div");
                __builder.AddAttribute(87, "class", "modal-content");
                __builder.AddMarkupContent(88, "\r\n                ");
                __builder.AddMarkupContent(89, "<div class=\"modal-header\">\r\n                    <h5 class=\"modal-title\">Create new sensor </h5>\r\n                </div>\r\n                ");
                __builder.OpenElement(90, "div");
                __builder.AddAttribute(91, "class", "modal-body");
                __builder.AddMarkupContent(92, "\r\n                    ");
                __builder.OpenElement(93, "form");
                __builder.AddMarkupContent(94, "\r\n                        ");
                __builder.OpenElement(95, "div");
                __builder.AddAttribute(96, "class", "form-group");
                __builder.AddMarkupContent(97, "\r\n                            ");
                __builder.AddMarkupContent(98, "<label for=\"nameInput\" class=\"mt-2\">Name:</label>\r\n                            ");
                __builder.OpenElement(99, "input");
                __builder.AddAttribute(100, "type", "text");
                __builder.AddAttribute(101, "class", "form-control");
                __builder.AddAttribute(102, "id", "nameInput");
                __builder.AddAttribute(103, "placeholder", "Name");
                __builder.AddAttribute(104, "required", true);
                __builder.AddAttribute(105, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 71 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                           createSensor.Name

#line default
#line hidden
                                           ));
                __builder.AddAttribute(106, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => createSensor.Name = __value, createSensor.Name));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(107, "\r\n                            ");
                __builder.AddMarkupContent(108, "<label for=\"ipInput\" class=\"mt-2\">Ip:</label>\r\n                            ");
                __builder.OpenElement(109, "input");
                __builder.AddAttribute(110, "type", "text");
                __builder.AddAttribute(111, "class", "form-control");
                __builder.AddAttribute(112, "id", "ipInput");
                __builder.AddAttribute(113, "placeholder", "IP");
                __builder.AddAttribute(114, "required", true);
                __builder.AddAttribute(115, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 73 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                           createSensor.Ip

#line default
#line hidden
                                           ));
                __builder.AddAttribute(116, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => createSensor.Ip = __value, createSensor.Ip));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(117, "\r\n                            ");
                __builder.AddMarkupContent(118, "<label for=\"macInput\" class=\"mt-2\">Mac:</label>\r\n                            ");
                __builder.OpenElement(119, "input");
                __builder.AddAttribute(120, "type", "text");
                __builder.AddAttribute(121, "class", "form-control");
                __builder.AddAttribute(122, "id", "macInput");
                __builder.AddAttribute(123, "placeholder", "MAC");
                __builder.AddAttribute(124, "required", true);
                __builder.AddAttribute(125, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 75 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                           createSensor.Mac

#line default
#line hidden
                                           ));
                __builder.AddAttribute(126, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => createSensor.Mac = __value, createSensor.Mac));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(127, "\r\n                        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(128, "\r\n                        ");
                __builder.OpenElement(129, "button");
                __builder.AddAttribute(130, "type", "button");
                __builder.AddAttribute(131, "class", "btn btn-success");
                __builder.AddAttribute(132, "data-dismiss", "modal");
                __builder.AddAttribute(133, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 77 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                                                                                                                                                         PostCreateSensor

#line default
#line hidden
                                                                                                                                                                         ));
                __builder.AddContent(134, "Create");
                __builder.CloseElement();
                __builder.AddMarkupContent(135, "\r\n                        ");
                __builder.AddMarkupContent(136, "<button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Cancel</button>\r\n                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(137, "\r\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(138, "\r\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(139, "\r\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(140, "\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(141, "\r\n");
#line 84 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(142, "\r\n\r\n");
            __builder.OpenElement(143, "div");
            __builder.AddAttribute(144, "class", "modal fade");
            __builder.AddAttribute(145, "id", "deleteSensorModal");
            __builder.AddAttribute(146, "tabindex", "-1");
            __builder.AddAttribute(147, "role", "dialog");
            __builder.AddMarkupContent(148, "\r\n    ");
            __builder.OpenElement(149, "div");
            __builder.AddAttribute(150, "class", "modal-dialog");
            __builder.AddAttribute(151, "role", "document");
            __builder.AddMarkupContent(152, "\r\n        ");
            __builder.OpenElement(153, "div");
            __builder.AddAttribute(154, "class", "modal-content");
            __builder.AddMarkupContent(155, "\r\n            ");
            __builder.AddMarkupContent(156, "<div class=\"modal-header\">\r\n                <h5 class=\"modal-title\">Do you want to delete this schedule? </h5>\r\n            </div>\r\n            ");
            __builder.OpenElement(157, "div");
            __builder.AddAttribute(158, "class", "modal-body");
            __builder.AddMarkupContent(159, "\r\n                ");
            __builder.OpenElement(160, "button");
            __builder.AddAttribute(161, "type", "button");
            __builder.AddAttribute(162, "class", "btn btn-danger m-1");
            __builder.AddAttribute(163, "data-dismiss", "modal");
            __builder.AddAttribute(164, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 94 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                                                                                                                                                     DeleteSelectedSensor

#line default
#line hidden
                                                                                                                                                                     ));
            __builder.AddContent(165, "Delete");
            __builder.CloseElement();
            __builder.AddMarkupContent(166, "\r\n                ");
            __builder.AddMarkupContent(167, "<button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">No</button>\r\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(168, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(169, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(170, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(171, "\r\n\r\n\r\n");
#line 102 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
            if (editSensor != null)
            {
#line default
#line hidden
                __builder.AddMarkupContent(172, "    \r\n    ");
                __builder.OpenElement(173, "div");
                __builder.AddAttribute(174, "class", "modal fade");
                __builder.AddAttribute(175, "id", "editSensorModal");
                __builder.AddAttribute(176, "tabindex", "-1");
                __builder.AddAttribute(177, "role", "dialog");
                __builder.AddMarkupContent(178, "\r\n        ");
                __builder.OpenElement(179, "div");
                __builder.AddAttribute(180, "class", "modal-dialog");
                __builder.AddAttribute(181, "role", "document");
                __builder.AddMarkupContent(182, "\r\n            ");
                __builder.OpenElement(183, "div");
                __builder.AddAttribute(184, "class", "modal-content");
                __builder.AddMarkupContent(185, "\r\n                ");
                __builder.AddMarkupContent(186, "<div class=\"modal-header\">\r\n                    <h5 class=\"modal-title\">Edit sensor</h5>\r\n                </div>\r\n                ");
                __builder.OpenElement(187, "div");
                __builder.AddAttribute(188, "class", "modal-body");
                __builder.AddMarkupContent(189, "\r\n                    ");
                __builder.OpenElement(190, "form");
                __builder.AddMarkupContent(191, "\r\n                        ");
                __builder.OpenElement(192, "div");
                __builder.AddAttribute(193, "class", "form-group");
                __builder.AddMarkupContent(194, "\r\n                            ");
                __builder.AddMarkupContent(195, "<label for=\"nameInput\" class=\"mt-2\">Name:</label>\r\n                            ");
                __builder.OpenElement(196, "input");
                __builder.AddAttribute(197, "type", "text");
                __builder.AddAttribute(198, "class", "form-control");
                __builder.AddAttribute(199, "id", "nameInput");
                __builder.AddAttribute(200, "required", true);
                __builder.AddAttribute(201, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 115 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                           editSensor.Name

#line default
#line hidden
                                           ));
                __builder.AddAttribute(202, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => editSensor.Name = __value, editSensor.Name));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(203, "\r\n                            ");
                __builder.AddMarkupContent(204, "<label for=\"ipInput\" class=\"mt-2\">Ip:</label>\r\n                            ");
                __builder.OpenElement(205, "input");
                __builder.AddAttribute(206, "type", "text");
                __builder.AddAttribute(207, "class", "form-control");
                __builder.AddAttribute(208, "id", "ipInput");
                __builder.AddAttribute(209, "required", true);
                __builder.AddAttribute(210, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 117 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                           editSensor.Ip

#line default
#line hidden
                                           ));
                __builder.AddAttribute(211, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => editSensor.Ip = __value, editSensor.Ip));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(212, "\r\n                            ");
                __builder.AddMarkupContent(213, "<label for=\"macInput\" class=\"mt-2\">Mac:</label>\r\n                            ");
                __builder.OpenElement(214, "input");
                __builder.AddAttribute(215, "type", "text");
                __builder.AddAttribute(216, "class", "form-control");
                __builder.AddAttribute(217, "id", "macInput");
                __builder.AddAttribute(218, "required", true);
                __builder.AddAttribute(219, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 119 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                           editSensor.Mac

#line default
#line hidden
                                           ));
                __builder.AddAttribute(220, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => editSensor.Mac = __value, editSensor.Mac));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(221, "\r\n                            ");
                __builder.AddMarkupContent(222, "<label for=\"scheduleSelector\" class=\"mt-2\">Schedule:</label>\r\n                            ");
                __builder.OpenElement(223, "select");
                __builder.AddAttribute(224, "id", "scheduleSelector");
                __builder.AddAttribute(225, "class", "custom-select my-2");
                __builder.AddAttribute(226, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 121 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                           selectedScheduleId

#line default
#line hidden
                                           ));
                __builder.AddAttribute(227, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => selectedScheduleId = __value, selectedScheduleId));
                __builder.SetUpdatesAttributeName("value");
                __builder.AddMarkupContent(228, "\r\n                                ");
                __builder.OpenElement(229, "option");
                __builder.AddAttribute(230, "value", "0");
                __builder.AddContent(231, "Not selected");
                __builder.CloseElement();
                __builder.AddMarkupContent(232, "\r\n");
#line 123 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                foreach (var sc in schedules)
                {
#line default
#line hidden
                    __builder.AddContent(233, "                                    ");
                    __builder.OpenElement(234, "option");
                    __builder.AddAttribute(235, "value",
#line 125 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                           sc.Id

#line default
#line hidden
                                           );
                    __builder.AddContent(236,
#line 125 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                         sc.Name

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(237, "\r\n");
#line 126 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                }

#line default
#line hidden
                __builder.AddMarkupContent(238, "\r\n                            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(239, "\r\n                            ");
                __builder.AddMarkupContent(240, "<label for=\"switchSelector\" class=\"mt-2\">Switch:</label>\r\n                            ");
                __builder.OpenElement(241, "select");
                __builder.AddAttribute(242, "id", "switchSelector");
                __builder.AddAttribute(243, "class", "custom-select my-2");
                __builder.AddAttribute(244, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 130 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                           selectedSwitchId

#line default
#line hidden
                                           ));
                __builder.AddAttribute(245, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => selectedSwitchId = __value, selectedSwitchId));
                __builder.SetUpdatesAttributeName("value");
                __builder.AddMarkupContent(246, "\r\n                                ");
                __builder.OpenElement(247, "option");
                __builder.AddAttribute(248, "value", "0");
                __builder.AddContent(249, "Not selected");
                __builder.CloseElement();
                __builder.AddMarkupContent(250, "\r\n");
#line 132 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                foreach (var sw in switches)
                {
#line default
#line hidden
                    __builder.AddContent(251, "                                    ");
                    __builder.OpenElement(252, "option");
                    __builder.AddAttribute(253, "value",
#line 134 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                           sw.Id

#line default
#line hidden
                                           );
                    __builder.AddContent(254,
#line 134 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                         sw.Name

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(255, "\r\n");
#line 135 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                }

#line default
#line hidden
                __builder.AddMarkupContent(256, "\r\n                            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(257, "\r\n\r\n                            ");
                __builder.AddMarkupContent(258, "<label for=\"zoneSelector\" class=\"mt-2\">Zone:</label>\r\n                            ");
                __builder.OpenElement(259, "select");
                __builder.AddAttribute(260, "id", "zoneSelector");
                __builder.AddAttribute(261, "class", "custom-select my-2");
                __builder.AddAttribute(262, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 140 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                           selectedZoneId

#line default
#line hidden
                                           ));
                __builder.AddAttribute(263, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => selectedZoneId = __value, selectedZoneId));
                __builder.SetUpdatesAttributeName("value");
                __builder.AddMarkupContent(264, "\r\n                                ");
                __builder.OpenElement(265, "option");
                __builder.AddAttribute(266, "value", "0");
                __builder.AddContent(267, "Not selected");
                __builder.CloseElement();
                __builder.AddMarkupContent(268, "\r\n");
#line 142 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                foreach (var zone in zones)
                {
#line default
#line hidden
                    __builder.AddContent(269, "                                    ");
                    __builder.OpenElement(270, "option");
                    __builder.AddAttribute(271, "value",
#line 144 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                           zone.Id

#line default
#line hidden
                                           );
                    __builder.AddContent(272,
#line 144 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                         zone.Name

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(273, "\r\n");
#line 145 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                }

#line default
#line hidden
                __builder.AddMarkupContent(274, "\r\n                            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(275, "\r\n\r\n                        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(276, "\r\n                        ");
                __builder.OpenElement(277, "button");
                __builder.AddAttribute(278, "type", "button");
                __builder.AddAttribute(279, "class", "btn btn-success");
                __builder.AddAttribute(280, "data-dismiss", "modal");
                __builder.AddAttribute(281, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 150 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
                                                                                                                                                                         EditSelectedSensor

#line default
#line hidden
                                                                                                                                                                         ));
                __builder.AddContent(282, "Edit");
                __builder.CloseElement();
                __builder.AddMarkupContent(283, "\r\n                        ");
                __builder.AddMarkupContent(284, "<button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Cancel</button>\r\n                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(285, "\r\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(286, "\r\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(287, "\r\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(288, "\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(289, "\r\n");
#line 157 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\SensorPage.razor"
            }

#line default
#line hidden
        }
Beispiel #25
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.AddMarkupContent(0, "<h3>Zone manager</h3>\r\n<hr>\r\n\r\n");
#line 6 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
            if (loaded)
            {
                if (zones != null)
                {
#line default
#line hidden
                    __builder.AddContent(1, "        ");
                    __builder.AddMarkupContent(2, "<h5>Select a zone:</h5>\r\n        ");
                    __builder.OpenElement(3, "table");
                    __builder.AddAttribute(4, "class", "table");
                    __builder.AddMarkupContent(5, "\r\n            ");
                    __builder.OpenElement(6, "tbody");
                    __builder.AddMarkupContent(7, "\r\n                ");
                    __builder.OpenElement(8, "tr");
                    __builder.AddMarkupContent(9, "\r\n                    ");
                    __builder.OpenElement(10, "td");
                    __builder.AddMarkupContent(11, "\r\n                        ");
                    __builder.OpenElement(12, "select");
                    __builder.AddAttribute(13, "id", "zone_selector");
                    __builder.AddAttribute(14, "class", "custom-select my-2");
                    __builder.AddAttribute(15, "value",
#line 15 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                           zones[0].Id

#line default
#line hidden
                                           );
                    __builder.AddAttribute(16, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.ChangeEventArgs>(this,
#line 15 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                                                                                                                                                          ZoneSelectorChanged

#line default
#line hidden
                                                                                                                                                                          ));
                    __builder.AddMarkupContent(17, "\r\n");
#line 16 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                    foreach (var zone in zones)
                    {
#line default
#line hidden
                        __builder.AddContent(18, "                                ");
                        __builder.OpenElement(19, "option");
                        __builder.AddAttribute(20, "value",
#line 18 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                               zone.Id

#line default
#line hidden
                                               );
                        __builder.AddContent(21,
#line 18 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                             zone.Name

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(22, "\r\n");
#line 19 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                    }

#line default
#line hidden
                    __builder.AddMarkupContent(23, "\r\n                        ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(24, "\r\n                    ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(25, "\r\n                    ");
                    __builder.AddMarkupContent(26, @"<td>
                        <button type=""button"" class=""btn btn-warning m-1"" data-toggle=""modal"" data-target=""#editZoneModal"">Edit</button>
                        <button type=""button"" class=""btn btn-danger m-1"" data-toggle=""modal"" data-target=""#deleteZoneModal"">Delete</button>
                    </td>
                ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(27, "\r\n\r\n            ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(28, "\r\n        ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(29, "\r\n");
#line 31 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                }

                else
                {
#line default
#line hidden
                    __builder.AddContent(30, "        ");
                    __builder.AddMarkupContent(31, "<p>No zone available!</p>\r\n");
#line 36 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                }

#line default
#line hidden
                __builder.AddContent(32, "    ");
                __builder.OpenElement(33, "button");
                __builder.AddAttribute(34, "type", "button");
                __builder.AddAttribute(35, "class", "btn btn-success m-1");
                __builder.AddAttribute(36, "data-toggle", "modal");
                __builder.AddAttribute(37, "data-target", "#addZoneModal");
                __builder.AddAttribute(38, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 37 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                                                                                                                                                        ClearCreateZone

#line default
#line hidden
                                                                                                                                                                        ));
                __builder.AddContent(39, "Create new zone");
                __builder.CloseElement();
                __builder.AddMarkupContent(40, "\r\n    <hr>\r\n    ");
                __builder.AddMarkupContent(41, "<h5>Sensors in this zone:</h5>\r\n");
#line 40 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"

                if (sensors != null)
                {
#line default
#line hidden
                    __builder.AddContent(42, "        ");
                    __builder.OpenElement(43, "button");
                    __builder.AddAttribute(44, "type", "button");
                    __builder.AddAttribute(45, "class", "btn btn-success m-1");
                    __builder.AddAttribute(46, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 43 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                                                                                                                                                            RefillAllClicked

#line default
#line hidden
                                                                                                                                                                            ));
                    __builder.AddContent(47, "Refill all");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(48, "\r\n        ");
                    __builder.OpenElement(49, "table");
                    __builder.AddAttribute(50, "class", "table");
                    __builder.AddMarkupContent(51, "\r\n            ");
                    __builder.AddMarkupContent(52, "<thead>\r\n                <tr>\r\n                    <th>Name</th>\r\n                    <th>Ip</th>\r\n                    <th>Water Level</th>\r\n                </tr>\r\n            </thead>\r\n            ");
                    __builder.OpenElement(53, "tbody");
                    __builder.AddMarkupContent(54, "\r\n");
#line 53 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                    foreach (var sensor in sensors)
                    {
#line default
#line hidden
                        __builder.AddContent(55, "                    ");
                        __builder.OpenElement(56, "tr");
                        __builder.AddMarkupContent(57, "\r\n                        ");
                        __builder.OpenElement(58, "td");
                        __builder.AddContent(59,
#line 56 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                             sensor.Name

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(60, "\r\n                        ");
                        __builder.OpenElement(61, "td");
                        __builder.AddContent(62,
#line 57 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                             sensor.Ip

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(63, "\r\n                        ");
                        __builder.OpenElement(64, "td");
                        __builder.AddContent(65,
#line 58 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                             sensor.Data

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(66, "\r\n                    ");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(67, "\r\n");
#line 60 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                    }

#line default
#line hidden
                    __builder.AddContent(68, "            ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(69, "\r\n        ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(70, "\r\n");
#line 63 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                }
                else
                {
#line default
#line hidden
                    __builder.AddContent(71, "        ");
                    __builder.AddMarkupContent(72, "<p>No sensor available in this zone!</p>\r\n");
#line 67 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                }
            }
            else
            {
#line default
#line hidden
                __builder.AddContent(73, "    ");
                __builder.AddMarkupContent(74, "<p>Loading...</p>\r\n");
#line 73 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(75, "\r\n\r\n");
#line 76 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
            if (createZone != null)
            {
#line default
#line hidden
                __builder.AddContent(76, "    ");
                __builder.OpenElement(77, "div");
                __builder.AddAttribute(78, "class", "modal fade");
                __builder.AddAttribute(79, "id", "addZoneModal");
                __builder.AddAttribute(80, "tabindex", "-1");
                __builder.AddAttribute(81, "role", "dialog");
                __builder.AddMarkupContent(82, "\r\n        ");
                __builder.OpenElement(83, "div");
                __builder.AddAttribute(84, "class", "modal-dialog");
                __builder.AddAttribute(85, "role", "document");
                __builder.AddMarkupContent(86, "\r\n            ");
                __builder.OpenElement(87, "div");
                __builder.AddAttribute(88, "class", "modal-content");
                __builder.AddMarkupContent(89, "\r\n                ");
                __builder.AddMarkupContent(90, "<div class=\"modal-header\">\r\n                    <h5 class=\"modal-title\">Create new zone </h5>\r\n                </div>\r\n                ");
                __builder.OpenElement(91, "div");
                __builder.AddAttribute(92, "class", "modal-body");
                __builder.AddMarkupContent(93, "\r\n                    ");
                __builder.OpenElement(94, "form");
                __builder.AddMarkupContent(95, "\r\n                        ");
                __builder.OpenElement(96, "div");
                __builder.AddAttribute(97, "class", "form-group");
                __builder.AddMarkupContent(98, "\r\n                            ");
                __builder.AddMarkupContent(99, "<label for=\"nameInput\" class=\"mt-2\">Name:</label>\r\n                            ");
                __builder.OpenElement(100, "input");
                __builder.AddAttribute(101, "type", "text");
                __builder.AddAttribute(102, "class", "form-control");
                __builder.AddAttribute(103, "id", "nameInput");
                __builder.AddAttribute(104, "placeholder", "Zone name");
                __builder.AddAttribute(105, "required", true);
                __builder.AddAttribute(106, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 88 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                           createZone.Name

#line default
#line hidden
                                           ));
                __builder.AddAttribute(107, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => createZone.Name = __value, createZone.Name));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(108, "\r\n                        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(109, "\r\n                        ");
                __builder.OpenElement(110, "button");
                __builder.AddAttribute(111, "type", "button");
                __builder.AddAttribute(112, "class", "btn btn-success");
                __builder.AddAttribute(113, "data-dismiss", "modal");
                __builder.AddAttribute(114, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 90 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                                                                                                                                                         PostCreateZone

#line default
#line hidden
                                                                                                                                                                         ));
                __builder.AddContent(115, "Create");
                __builder.CloseElement();
                __builder.AddMarkupContent(116, "\r\n                        ");
                __builder.AddMarkupContent(117, "<button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Cancel</button>\r\n                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(118, "\r\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(119, "\r\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(120, "\r\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(121, "\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(122, "\r\n");
#line 97 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(123, "\r\n");
#line 99 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
            if (selectedZone != null)
            {
#line default
#line hidden
                __builder.AddMarkupContent(124, "    \r\n    ");
                __builder.OpenElement(125, "div");
                __builder.AddAttribute(126, "class", "modal fade");
                __builder.AddAttribute(127, "id", "deleteZoneModal");
                __builder.AddAttribute(128, "tabindex", "-1");
                __builder.AddAttribute(129, "role", "dialog");
                __builder.AddMarkupContent(130, "\r\n        ");
                __builder.OpenElement(131, "div");
                __builder.AddAttribute(132, "class", "modal-dialog");
                __builder.AddAttribute(133, "role", "document");
                __builder.AddMarkupContent(134, "\r\n            ");
                __builder.OpenElement(135, "div");
                __builder.AddAttribute(136, "class", "modal-content");
                __builder.AddMarkupContent(137, "\r\n                ");
                __builder.OpenElement(138, "div");
                __builder.AddAttribute(139, "class", "modal-header");
                __builder.AddMarkupContent(140, "\r\n                    ");
                __builder.OpenElement(141, "h5");
                __builder.AddAttribute(142, "class", "modal-title");
                __builder.AddContent(143, "Do you want to delete ");
                __builder.AddContent(144,
#line 106 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                     selectedZone.Name

#line default
#line hidden
                                     );
                __builder.AddContent(145, " zone? ");
                __builder.CloseElement();
                __builder.AddMarkupContent(146, "\r\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(147, "\r\n                ");
                __builder.OpenElement(148, "div");
                __builder.AddAttribute(149, "class", "modal-body");
                __builder.AddMarkupContent(150, "\r\n                    ");
                __builder.OpenElement(151, "button");
                __builder.AddAttribute(152, "type", "button");
                __builder.AddAttribute(153, "class", "btn btn-danger m-1");
                __builder.AddAttribute(154, "data-dismiss", "modal");
                __builder.AddAttribute(155, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 109 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                                                                                                                                                         DeleteSelectedZone

#line default
#line hidden
                                                                                                                                                                         ));
                __builder.AddContent(156, "Delete");
                __builder.CloseElement();
                __builder.AddMarkupContent(157, "\r\n                    ");
                __builder.AddMarkupContent(158, "<button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">No</button>\r\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(159, "\r\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(160, "\r\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(161, "\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(162, "\r\n");
#line 115 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(163, "\r\n\r\n");
#line 118 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
            if (selectedZone != null)
            {
#line default
#line hidden
                __builder.AddMarkupContent(164, "    \r\n    ");
                __builder.OpenElement(165, "div");
                __builder.AddAttribute(166, "class", "modal fade");
                __builder.AddAttribute(167, "id", "editZoneModal");
                __builder.AddAttribute(168, "tabindex", "-1");
                __builder.AddAttribute(169, "role", "dialog");
                __builder.AddMarkupContent(170, "\r\n        ");
                __builder.OpenElement(171, "div");
                __builder.AddAttribute(172, "class", "modal-dialog");
                __builder.AddAttribute(173, "role", "document");
                __builder.AddMarkupContent(174, "\r\n            ");
                __builder.OpenElement(175, "div");
                __builder.AddAttribute(176, "class", "modal-content");
                __builder.AddMarkupContent(177, "\r\n                ");
                __builder.AddMarkupContent(178, "<div class=\"modal-header\">\r\n                    <h5 class=\"modal-title\">Edit zone</h5>\r\n                </div>\r\n                ");
                __builder.OpenElement(179, "div");
                __builder.AddAttribute(180, "class", "modal-body");
                __builder.AddMarkupContent(181, "\r\n                    ");
                __builder.OpenElement(182, "form");
                __builder.AddMarkupContent(183, "\r\n                        ");
                __builder.OpenElement(184, "div");
                __builder.AddAttribute(185, "class", "form-group");
                __builder.AddMarkupContent(186, "\r\n                            ");
                __builder.AddMarkupContent(187, "<label for=\"nameInput\" class=\"mt-2\">Name:</label>\r\n                            ");
                __builder.OpenElement(188, "input");
                __builder.AddAttribute(189, "type", "text");
                __builder.AddAttribute(190, "class", "form-control");
                __builder.AddAttribute(191, "id", "nameInput");
                __builder.AddAttribute(192, "placeholder",
#line 131 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                       selectedZone.Name

#line default
#line hidden
                                       );
                __builder.AddAttribute(193, "required", true);
                __builder.AddAttribute(194, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 131 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                           selectedZone.Name

#line default
#line hidden
                                           ));
                __builder.AddAttribute(195, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => selectedZone.Name = __value, selectedZone.Name));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(196, "\r\n                        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(197, "\r\n                        ");
                __builder.OpenElement(198, "button");
                __builder.AddAttribute(199, "type", "button");
                __builder.AddAttribute(200, "class", "btn btn-success");
                __builder.AddAttribute(201, "data-dismiss", "modal");
                __builder.AddAttribute(202, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 133 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
                                                                                                                                                                         EditSelectedZone

#line default
#line hidden
                                                                                                                                                                         ));
                __builder.AddContent(203, "Edit");
                __builder.CloseElement();
                __builder.AddMarkupContent(204, "\r\n                        ");
                __builder.AddMarkupContent(205, "<button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Cancel</button>\r\n                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(206, "\r\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(207, "\r\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(208, "\r\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(209, "\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(210, "\r\n");
#line 140 "D:\Work\WaterLevelController\WaterLevelController\WaterLevelControllerClient\Pages\ZonePage.razor"
            }

#line default
#line hidden
        }
Beispiel #26
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "table");
            __builder.AddAttribute(1, "class", "table table-borderless");
            __builder.AddMarkupContent(2, "\n        ");
            __builder.OpenElement(3, "tr");
            __builder.AddMarkupContent(4, "\n            ");
            __builder.OpenElement(5, "td");
            __builder.AddMarkupContent(6, "\n                ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(7);
            __builder.AddAttribute(8, "For", "dateTime");
            __builder.AddAttribute(9, "HelpText", "The date and time of this log");
            __builder.AddAttribute(10, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(11, "Date/Time: ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(12, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(13, "\n            ");
            __builder.OpenElement(14, "td");
            __builder.AddMarkupContent(15, "\n                ");
            __builder.OpenElement(16, "input");
            __builder.AddAttribute(17, "id", "dateTime");
            __builder.AddAttribute(18, "class", "form-control");
            __builder.AddAttribute(19, "readonly", true);
            __builder.AddAttribute(20, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 16 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                       _logDate

#line default
#line hidden
                                       ));
            __builder.AddAttribute(21, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _logDate = __value, _logDate));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(22, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(23, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(24, "\n        ");
            __builder.OpenElement(25, "tr");
            __builder.AddMarkupContent(26, "\n            ");
            __builder.OpenElement(27, "td");
            __builder.AddMarkupContent(28, "\n                ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(29);
            __builder.AddAttribute(30, "For", "level");
            __builder.AddAttribute(31, "HelpText", "The level of this log");
            __builder.AddAttribute(32, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(33, "Level: ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(34, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(35, "\n            ");
            __builder.OpenElement(36, "td");
            __builder.AddMarkupContent(37, "\n                ");
            __builder.OpenElement(38, "input");
            __builder.AddAttribute(39, "id", "level");
            __builder.AddAttribute(40, "class", "form-control");
            __builder.AddAttribute(41, "readonly", true);
            __builder.AddAttribute(42, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 24 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                       _level

#line default
#line hidden
                                       ));
            __builder.AddAttribute(43, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _level = __value, _level));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(44, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(45, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(46, "\n        ");
            __builder.OpenElement(47, "tr");
            __builder.AddMarkupContent(48, "\n            ");
            __builder.OpenElement(49, "td");
            __builder.AddMarkupContent(50, "\n                ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(51);
            __builder.AddAttribute(52, "For", "feature");
            __builder.AddAttribute(53, "HelpText", "The feature that was affected");
            __builder.AddAttribute(54, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(55, "Feature: ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(56, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(57, "\n            ");
            __builder.OpenElement(58, "td");
            __builder.AddMarkupContent(59, "\n                ");
            __builder.OpenElement(60, "input");
            __builder.AddAttribute(61, "id", "feature");
            __builder.AddAttribute(62, "class", "form-control");
            __builder.AddAttribute(63, "readonly", true);
            __builder.AddAttribute(64, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 32 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                       _feature

#line default
#line hidden
                                       ));
            __builder.AddAttribute(65, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _feature = __value, _feature));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(66, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(67, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(68, "\n        ");
            __builder.OpenElement(69, "tr");
            __builder.AddMarkupContent(70, "\n            ");
            __builder.OpenElement(71, "td");
            __builder.AddMarkupContent(72, "\n                ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(73);
            __builder.AddAttribute(74, "For", "function");
            __builder.AddAttribute(75, "HelpText", "The function that was performed");
            __builder.AddAttribute(76, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(77, "Function: ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(78, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(79, "\n            ");
            __builder.OpenElement(80, "td");
            __builder.AddMarkupContent(81, "\n                ");
            __builder.OpenElement(82, "input");
            __builder.AddAttribute(83, "id", "function");
            __builder.AddAttribute(84, "class", "form-control");
            __builder.AddAttribute(85, "readonly", true);
            __builder.AddAttribute(86, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 40 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                       _function

#line default
#line hidden
                                       ));
            __builder.AddAttribute(87, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _function = __value, _function));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(88, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(89, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(90, "\n        ");
            __builder.OpenElement(91, "tr");
            __builder.AddMarkupContent(92, "\n            ");
            __builder.OpenElement(93, "td");
            __builder.AddMarkupContent(94, "\n                ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(95);
            __builder.AddAttribute(96, "For", "category");
            __builder.AddAttribute(97, "HelpText", "The categories that were affected");
            __builder.AddAttribute(98, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(99, "Category: ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(100, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(101, "\n            ");
            __builder.OpenElement(102, "td");
            __builder.AddMarkupContent(103, "\n                ");
            __builder.OpenElement(104, "input");
            __builder.AddAttribute(105, "id", "category");
            __builder.AddAttribute(106, "class", "form-control");
            __builder.AddAttribute(107, "readonly", true);
            __builder.AddAttribute(108, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 48 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                       _category

#line default
#line hidden
                                       ));
            __builder.AddAttribute(109, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _category = __value, _category));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(110, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(111, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(112, "\n");
#line 51 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
            if (_pageName != string.Empty)
            {
#line default
#line hidden
                __builder.AddContent(113, "            ");
                __builder.OpenElement(114, "tr");
                __builder.AddMarkupContent(115, "\n                ");
                __builder.OpenElement(116, "td");
                __builder.AddMarkupContent(117, "\n                    ");
                __builder.OpenComponent <Oqtane.Modules.Controls.Label>(118);
                __builder.AddAttribute(119, "For", "page");
                __builder.AddAttribute(120, "HelpText", "The page that was affected");
                __builder.AddAttribute(121, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(122, "Page: ");
                }
                                                                                                             ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(123, "\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(124, "\n                ");
                __builder.OpenElement(125, "td");
                __builder.AddMarkupContent(126, "\n                    ");
                __builder.OpenElement(127, "input");
                __builder.AddAttribute(128, "id", "page");
                __builder.AddAttribute(129, "class", "form-control");
                __builder.AddAttribute(130, "readonly", true);
                __builder.AddAttribute(131, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 58 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                           _pageName

#line default
#line hidden
                                           ));
                __builder.AddAttribute(132, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _pageName = __value, _pageName));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(133, "\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(134, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(135, "\n");
#line 61 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
            }

#line default
#line hidden
#line 62 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
            if (_moduleTitle != string.Empty)
            {
#line default
#line hidden
                __builder.AddContent(136, "            ");
                __builder.OpenElement(137, "tr");
                __builder.AddMarkupContent(138, "\n                ");
                __builder.OpenElement(139, "td");
                __builder.AddMarkupContent(140, "\n                    ");
                __builder.OpenComponent <Oqtane.Modules.Controls.Label>(141);
                __builder.AddAttribute(142, "For", "module");
                __builder.AddAttribute(143, "HelpText", "The module that was affected");
                __builder.AddAttribute(144, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(145, "Module: ");
                }
                                                                                                             ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(146, "\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(147, "\n                ");
                __builder.OpenElement(148, "td");
                __builder.AddMarkupContent(149, "\n                    ");
                __builder.OpenElement(150, "input");
                __builder.AddAttribute(151, "id", "module");
                __builder.AddAttribute(152, "class", "form-control");
                __builder.AddAttribute(153, "readonly", true);
                __builder.AddAttribute(154, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 69 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                           _moduleTitle

#line default
#line hidden
                                           ));
                __builder.AddAttribute(155, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _moduleTitle = __value, _moduleTitle));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(156, "\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(157, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(158, "\n");
#line 72 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
            }

#line default
#line hidden
#line 73 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
            if (_username != string.Empty)
            {
#line default
#line hidden
                __builder.AddContent(159, "            ");
                __builder.OpenElement(160, "tr");
                __builder.AddMarkupContent(161, "\n                ");
                __builder.OpenElement(162, "td");
                __builder.AddMarkupContent(163, "\n                    ");
                __builder.OpenComponent <Oqtane.Modules.Controls.Label>(164);
                __builder.AddAttribute(165, "For", "user");
                __builder.AddAttribute(166, "HelpText", "The user that caused this log");
                __builder.AddAttribute(167, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(168, "User: "******"\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(170, "\n                ");
                __builder.OpenElement(171, "td");
                __builder.AddMarkupContent(172, "\n                    ");
                __builder.OpenElement(173, "input");
                __builder.AddAttribute(174, "id", "user");
                __builder.AddAttribute(175, "class", "form-control");
                __builder.AddAttribute(176, "readonly", true);
                __builder.AddAttribute(177, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 80 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                           _username

#line default
#line hidden
                                           ));
                __builder.AddAttribute(178, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _username = __value, _username));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(179, "\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(180, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(181, "\n");
#line 83 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
            }

#line default
#line hidden
            __builder.AddContent(182, "        ");
            __builder.OpenElement(183, "tr");
            __builder.AddMarkupContent(184, "\n            ");
            __builder.OpenElement(185, "td");
            __builder.AddMarkupContent(186, "\n                ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(187);
            __builder.AddAttribute(188, "For", "url");
            __builder.AddAttribute(189, "HelpText", "The url the log comes from");
            __builder.AddAttribute(190, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(191, "Url: ");
            }
                                                                                                         ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(192, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(193, "\n            ");
            __builder.OpenElement(194, "td");
            __builder.AddMarkupContent(195, "\n                ");
            __builder.OpenElement(196, "input");
            __builder.AddAttribute(197, "id", "url");
            __builder.AddAttribute(198, "class", "form-control");
            __builder.AddAttribute(199, "readonly", true);
            __builder.AddAttribute(200, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 89 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                       _url

#line default
#line hidden
                                       ));
            __builder.AddAttribute(201, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _url = __value, _url));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(202, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(203, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(204, "\n        ");
            __builder.OpenElement(205, "tr");
            __builder.AddMarkupContent(206, "\n            ");
            __builder.OpenElement(207, "td");
            __builder.AddMarkupContent(208, "\n                ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(209);
            __builder.AddAttribute(210, "For", "template");
            __builder.AddAttribute(211, "HelpText", "What the log is about");
            __builder.AddAttribute(212, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(213, "Template: ");
            }
                                                                                                         ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(214, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(215, "\n            ");
            __builder.OpenElement(216, "td");
            __builder.AddMarkupContent(217, "\n                ");
            __builder.OpenElement(218, "input");
            __builder.AddAttribute(219, "id", "template");
            __builder.AddAttribute(220, "class", "form-control");
            __builder.AddAttribute(221, "readonly", true);
            __builder.AddAttribute(222, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 97 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                       _template

#line default
#line hidden
                                       ));
            __builder.AddAttribute(223, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _template = __value, _template));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(224, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(225, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(226, "\n        ");
            __builder.OpenElement(227, "tr");
            __builder.AddMarkupContent(228, "\n            ");
            __builder.OpenElement(229, "td");
            __builder.AddMarkupContent(230, "\n                ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(231);
            __builder.AddAttribute(232, "For", "message");
            __builder.AddAttribute(233, "HelpText", "The message that the system generated");
            __builder.AddAttribute(234, "class", "control-label");
            __builder.AddAttribute(235, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(236, "Message: ");
            }
                                                                                                         ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(237, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(238, "\n            ");
            __builder.OpenElement(239, "td");
            __builder.AddMarkupContent(240, "\n                ");
            __builder.OpenElement(241, "textarea");
            __builder.AddAttribute(242, "id", "message");
            __builder.AddAttribute(243, "class", "form-control");
            __builder.AddAttribute(244, "rows", "5");
            __builder.AddAttribute(245, "readonly", true);
            __builder.AddAttribute(246, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 105 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                       _message

#line default
#line hidden
                                       ));
            __builder.AddAttribute(247, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _message = __value, _message));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(248, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(249, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(250, "\n");
#line 108 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
            if (!string.IsNullOrEmpty(_exception))
            {
#line default
#line hidden
                __builder.AddContent(251, "            ");
                __builder.OpenElement(252, "tr");
                __builder.AddMarkupContent(253, "\n                ");
                __builder.OpenElement(254, "td");
                __builder.AddMarkupContent(255, "\n                    ");
                __builder.OpenComponent <Oqtane.Modules.Controls.Label>(256);
                __builder.AddAttribute(257, "For", "exception");
                __builder.AddAttribute(258, "HelpText", "The exceptions generated by the system");
                __builder.AddAttribute(259, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(260, "Exception: ");
                }
                                                                                                             ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(261, "\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(262, "\n                ");
                __builder.OpenElement(263, "td");
                __builder.AddMarkupContent(264, "\n                    ");
                __builder.OpenElement(265, "textarea");
                __builder.AddAttribute(266, "id", "exception");
                __builder.AddAttribute(267, "class", "form-control");
                __builder.AddAttribute(268, "rows", "5");
                __builder.AddAttribute(269, "readonly", true);
                __builder.AddAttribute(270, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 115 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                           _exception

#line default
#line hidden
                                           ));
                __builder.AddAttribute(271, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _exception = __value, _exception));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(272, "\n                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(273, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(274, "\n");
#line 118 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
            }

#line default
#line hidden
            __builder.AddContent(275, "        ");
            __builder.OpenElement(276, "tr");
            __builder.AddMarkupContent(277, "\n            ");
            __builder.OpenElement(278, "td");
            __builder.AddMarkupContent(279, "\n                ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(280);
            __builder.AddAttribute(281, "For", "properties");
            __builder.AddAttribute(282, "HelpText", "The properties that were affected");
            __builder.AddAttribute(283, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(284, "Properties: ");
            }
                                                                                                         ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(285, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(286, "\n            ");
            __builder.OpenElement(287, "td");
            __builder.AddMarkupContent(288, "\n                ");
            __builder.OpenElement(289, "textarea");
            __builder.AddAttribute(290, "id", "properties");
            __builder.AddAttribute(291, "class", "form-control");
            __builder.AddAttribute(292, "rows", "5");
            __builder.AddAttribute(293, "readonly", true);
            __builder.AddAttribute(294, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 124 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                       _properties

#line default
#line hidden
                                       ));
            __builder.AddAttribute(295, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _properties = __value, _properties));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(296, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(297, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(298, "\n        ");
            __builder.OpenElement(299, "tr");
            __builder.AddMarkupContent(300, "\n            ");
            __builder.OpenElement(301, "td");
            __builder.AddMarkupContent(302, "\n                ");
            __builder.OpenComponent <Oqtane.Modules.Controls.Label>(303);
            __builder.AddAttribute(304, "For", "server");
            __builder.AddAttribute(305, "HelpText", "The server that was affected");
            __builder.AddAttribute(306, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(307, "Server: ");
            }
                                                                                                         ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(308, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(309, "\n            ");
            __builder.OpenElement(310, "td");
            __builder.AddMarkupContent(311, "\n                ");
            __builder.OpenElement(312, "input");
            __builder.AddAttribute(313, "id", "server");
            __builder.AddAttribute(314, "class", "form-control");
            __builder.AddAttribute(315, "readonly", true);
            __builder.AddAttribute(316, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 132 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                       _server

#line default
#line hidden
                                       ));
            __builder.AddAttribute(317, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _server = __value, _server));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(318, "\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(319, "\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(320, "\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(321, "\n");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(322);
            __builder.AddAttribute(323, "class", "btn btn-secondary");
            __builder.AddAttribute(324, "href",
#line 136 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Logs/Detail.razor"
                                   NavigateUrl()

#line default
#line hidden
                                   );
            __builder.AddAttribute(325, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(326, "Cancel");
            }
                                                                                                         ));
            __builder.CloseComponent();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "nav");
            __builder.AddAttribute(1, "aria-label", "breadcrumb");
            __builder.AddMarkupContent(2, "\r\n        ");
            __builder.OpenElement(3, "ol");
            __builder.AddAttribute(4, "class", "breadcrumb");
            __builder.AddMarkupContent(5, "\r\n            ");
            __builder.OpenElement(6, "li");
            __builder.AddAttribute(7, "class", "breadcrumb-item");
            __builder.AddAttribute(8, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 11 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                                                                                                                                                   () => uri.NavigateTo("/BackOffice/Inventario")

#line default
#line hidden
                                                                                                                                                                   ));
            __builder.AddContent(9, "Invetario");
            __builder.CloseElement();
            __builder.AddMarkupContent(10, "\r\n            ");
            __builder.OpenElement(11, "li");
            __builder.AddAttribute(12, "class", "breadcrumb-item active");
            __builder.AddAttribute(13, "aria-current", "page");
            __builder.AddAttribute(14, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 12 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                                                                                                                                                    () => uri.NavigateTo("/BackOffice/Inventario/Listado")

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(15, "Listado Inventarios");
            __builder.CloseElement();
            __builder.AddMarkupContent(16, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(17, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(18, "\r\n");
            __builder.AddMarkupContent(19, "<h3>Listado Inventario</h3>\r\n\r\n");
            __builder.OpenElement(20, "div");
            __builder.AddAttribute(21, "class", "mt-2 d-flex row col-md-12 mx-0 p-3 my-3 align-items-center justify-content-between");
            __builder.AddAttribute(22, "style", "box-shadow:1px 1px 3px #323232");
            __builder.AddMarkupContent(23, "\r\n    ");
            __builder.OpenElement(24, "div");
            __builder.AddAttribute(25, "class", "col-md-3");
            __builder.AddMarkupContent(26, "\r\n        ");
            __builder.OpenComponent <SurcosBlazor.Client.Shared.SelectGenerico <Deposito> >(27);
            __builder.AddAttribute(28, "TList", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Collections.Generic.List <Deposito> >(
#line 19 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                       depositos

#line default
#line hidden
                                       ));
            __builder.AddAttribute(29, "Label", "Deposito");
            __builder.AddAttribute(30, "TItemActual", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Deposito>(
#line 19 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                       deposito

#line default
#line hidden
                                       ));
            __builder.AddAttribute(31, "SelectItem", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Deposito> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Deposito>(this,
#line 20 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                                                                                                                                                                                                                                                   async(Deposito deposito) => { this.deposito = deposito; await ListarInventarios(1); }

#line default
#line hidden
                                                                                                                                                                                                                                                                   )));
            __builder.AddAttribute(32, "TTemplate", (Microsoft.AspNetCore.Components.RenderFragment <Deposito>)((Deposito) => (__builder2) => {
                __builder2.AddContent(33,
#line 21 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                      Deposito.nombre

#line default
#line hidden
                                      );
            }
                                                                                                                ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(34, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(35, "\r\n    ");
            __builder.OpenElement(36, "div");
            __builder.AddAttribute(37, "class", "col-md-3");
            __builder.AddMarkupContent(38, "\r\n        ");
            __builder.AddMarkupContent(39, "<label class=\"col-md-12 mx-0 px-0\"><strong>Nombre Producto</strong></label>\r\n        ");
            __builder.OpenElement(40, "input");
            __builder.AddAttribute(41, "class", "form-control");
            __builder.AddAttribute(42, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 26 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                       filtro

#line default
#line hidden
                                       ));
            __builder.AddAttribute(43, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => filtro = __value, filtro));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(44, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(45, "\r\n    ");
            __builder.OpenElement(46, "div");
            __builder.AddAttribute(47, "class", "col-md-2 mx-0 px-0");
            __builder.AddMarkupContent(48, "\r\n        ");
            __builder.OpenElement(49, "div");
            __builder.AddAttribute(50, "class", "btn btn-sm btn-info");
            __builder.AddAttribute(51, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 29 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                                                                                                                                                    async() => await ListarInventarios(1)

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(52, "\r\n            ");
            __builder.AddMarkupContent(53, "<span><i class=\"fas fa-search mr-1\"></i>BUSCAR</span>\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(54, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(55, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(56, "\r\n\r\n");
#line 35 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
            if (deposito != null)
            {
#line default
#line hidden
                __builder.AddContent(57, "    ");
                __builder.OpenElement(58, "table");
                __builder.AddAttribute(59, "class", "table table-sm");
                __builder.AddMarkupContent(60, "\r\n        ");
                __builder.AddMarkupContent(61, "<thead>\r\n            <tr>\r\n                <td>Producto</td>\r\n                <td>En existencia</td>\r\n                <td>Ver Movimientos</td>\r\n            </tr>\r\n\r\n\r\n        </thead>\r\n        ");
                __builder.OpenElement(62, "tbody");
                __builder.AddMarkupContent(63, "\r\n");
#line 48 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                foreach (Inventario inventario in inventarios)
                {
#line default
#line hidden
                    __builder.AddContent(64, "                ");
                    __builder.OpenElement(65, "tr");
                    __builder.AddMarkupContent(66, "\r\n                    ");
                    __builder.OpenElement(67, "td");
                    __builder.AddMarkupContent(68, "\r\n\r\n                        ");
                    __builder.AddContent(69,
#line 53 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                         inventario.ProductoPresentacion?.Producto?.nombre

#line default
#line hidden
                                         );
                    __builder.AddContent(70, ", ");
                    __builder.AddContent(71,
#line 53 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                         inventario.ProductoPresentacion?.PresentacionProducto?.nombre

#line default
#line hidden
                                         );
                    __builder.AddMarkupContent(72, "\r\n");
#line 54 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                    if (inventario.cantidadUnidadesEnExistencia < inventario.ProductoPresentacion.cantidadStockMinima)
                    {
#line default
#line hidden
                        __builder.AddContent(73, "                            ");
                        __builder.OpenElement(74, "div");
                        __builder.AddAttribute(75, "class", "badge badge-danger");
                        __builder.AddContent(76, "[ALERTA] Stock menor a ");
                        __builder.AddContent(77,
#line 56 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                             inventario.ProductoPresentacion.cantidadStockMinima

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(78, "\r\n");
#line 57 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                    }

#line default
#line hidden
                    __builder.AddContent(79, "                    ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(80, "\r\n                    ");
                    __builder.OpenElement(81, "td");
                    __builder.AddContent(82,
#line 59 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                         inventario.cantidadUnidadesEnExistencia

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(83, "\r\n                    ");
                    __builder.OpenElement(84, "td");
                    __builder.AddMarkupContent(85, "\r\n                        ");
                    __builder.OpenElement(86, "a");
                    __builder.AddAttribute(87, "class", "btn");
                    __builder.AddAttribute(88, "href",
#line 61 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                           $"/BackOffice/Inventario/MovimientoInventario/{inventario.Id}"

#line default
#line hidden
                                           );
                    __builder.AddMarkupContent(89, " <i class=\"far fa-eye\"></i>");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(90, "\r\n                    ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(91, "\r\n\r\n                ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(92, "\r\n");
#line 65 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                }

#line default
#line hidden
                __builder.AddContent(93, "        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(94, "\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(95, "\r\n    ");
                __builder.OpenComponent <SurcosBlazor.Client.Shared.PaginacionComp>(96);
                __builder.AddAttribute(97, "PaginaActual", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32>(
#line 68 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                           paginaActual

#line default
#line hidden
                                           ));
                __builder.AddAttribute(98, "PaginaSeleccionada", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.Int32> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.Int32>(this,
#line 68 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                                                                                                                                                                                                                                                                       paginaSeleccionada

#line default
#line hidden
                                                                                                                                                                                                                                                                                       )));
                __builder.AddAttribute(99, "PaginasTotales", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32>(
#line 68 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
                                           paginasTotales

#line default
#line hidden
                                           ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(100, "\r\n");
#line 69 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Inventario\ListadoInventario.razor"
            }

#line default
#line hidden
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#line 6 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
            if (_folders != null)
            {
#line default
#line hidden
                __builder.AddContent(0, "    ");
                __builder.OpenElement(1, "table");
                __builder.AddAttribute(2, "class", "table table-borderless");
                __builder.AddMarkupContent(3, "\n        ");
                __builder.OpenElement(4, "tr");
                __builder.AddMarkupContent(5, "\n            ");
                __builder.OpenElement(6, "td");
                __builder.AddMarkupContent(7, "\n                ");
                __builder.OpenComponent <Oqtane.Modules.Controls.Label>(8);
                __builder.AddAttribute(9, "For", "parent");
                __builder.AddAttribute(10, "HelpText", "Select the parent folder");
                __builder.AddAttribute(11, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(12, "Parent: ");
                }
                                                                                                            ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(13, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(14, "\n            ");
                __builder.OpenElement(15, "td");
                __builder.AddMarkupContent(16, "\n                ");
                __builder.OpenElement(17, "select");
                __builder.AddAttribute(18, "id", "parent");
                __builder.AddAttribute(19, "class", "form-control");
                __builder.AddAttribute(20, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 14 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                           _parentId

#line default
#line hidden
                                           ));
                __builder.AddAttribute(21, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _parentId = __value, _parentId));
                __builder.SetUpdatesAttributeName("value");
                __builder.AddMarkupContent(22, "\n");
#line 15 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                if (PageState.QueryString.ContainsKey("id"))
                {
#line default
#line hidden
                    __builder.AddContent(23, "                        ");
                    __builder.OpenElement(24, "option");
                    __builder.AddAttribute(25, "value", "-1");
                    __builder.AddContent(26, "<No Parent>");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(27, "\n");
#line 18 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                }

#line default
#line hidden
#line 19 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                foreach (Folder folder in _folders)
                {
#line default
#line hidden
                    __builder.AddContent(28, "                        ");
                    __builder.OpenElement(29, "option");
                    __builder.AddAttribute(30, "value",
#line 21 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                           folder.FolderId

#line default
#line hidden
                                           );
                    __builder.AddContent(31,
#line 21 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                         new string('-', folder.Level * 2)

#line default
#line hidden
                                         );
                    __builder.AddContent(32,
#line 21 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                         folder.Name

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(33, "\n");
#line 22 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                }

#line default
#line hidden
                __builder.AddContent(34, "                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(35, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(36, "\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(37, "\n        ");
                __builder.OpenElement(38, "tr");
                __builder.AddMarkupContent(39, "\n            ");
                __builder.OpenElement(40, "td");
                __builder.AddMarkupContent(41, "\n                ");
                __builder.OpenComponent <Oqtane.Modules.Controls.Label>(42);
                __builder.AddAttribute(43, "for", "name");
                __builder.AddAttribute(44, "HelpText", "Enter the folder name");
                __builder.AddAttribute(45, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(46, "Name: ");
                }
                                                                                                            ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(47, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(48, "\n            ");
                __builder.OpenElement(49, "td");
                __builder.AddMarkupContent(50, "\n                ");
                __builder.OpenElement(51, "input");
                __builder.AddAttribute(52, "id", "name");
                __builder.AddAttribute(53, "class", "form-control");
                __builder.AddAttribute(54, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 31 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                           _name

#line default
#line hidden
                                           ));
                __builder.AddAttribute(55, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => _name = __value, _name));
                __builder.SetUpdatesAttributeName("value");
                __builder.CloseElement();
                __builder.AddMarkupContent(56, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(57, "\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(58, "\n        ");
                __builder.OpenElement(59, "tr");
                __builder.AddMarkupContent(60, "\n            ");
                __builder.OpenElement(61, "td");
                __builder.AddAttribute(62, "colspan", "2");
                __builder.AddAttribute(63, "align", "center");
                __builder.AddMarkupContent(64, "\n                ");
                __builder.OpenComponent <Oqtane.Modules.Controls.Label>(65);
                __builder.AddAttribute(66, "For", "permissions");
                __builder.AddAttribute(67, "HelpText", "Select the permissions you want for the folder");
                __builder.AddAttribute(68, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(69, "Permissions: ");
                }
                                                                                                            ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(70, "\n                ");
                __builder.OpenComponent <Oqtane.Modules.Controls.PermissionGrid>(71);
                __builder.AddAttribute(72, "EntityName", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 37 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                           EntityNames.Folder

#line default
#line hidden
                                           ));
                __builder.AddAttribute(73, "PermissionNames", "Browse,View,Edit");
                __builder.AddAttribute(74, "Permissions", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 37 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                           _permissions

#line default
#line hidden
                                           ));
                __builder.AddComponentReferenceCapture(75, (__value) => {
#line 37 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                    _permissionGrid = (Oqtane.Modules.Controls.PermissionGrid)__value;

#line default
#line hidden
                }
                                                       );
                __builder.CloseComponent();
                __builder.AddMarkupContent(76, "\n            ");
                __builder.CloseElement();
                __builder.AddMarkupContent(77, "\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(78, "\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(79, "\n");
#line 41 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                if (!_isSystem)
                {
#line default
#line hidden
                    __builder.AddContent(80, "        ");
                    __builder.OpenElement(81, "button");
                    __builder.AddAttribute(82, "type", "button");
                    __builder.AddAttribute(83, "class", "btn btn-success");
                    __builder.AddAttribute(84, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 43 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                                                                                                                                                            SaveFolder

#line default
#line hidden
                                                                                                                                                                            ));
                    __builder.AddContent(85, "Save");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(86, "\n");
#line 44 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                }

#line default
#line hidden
                __builder.AddContent(87, "    ");
                __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(88);
                __builder.AddAttribute(89, "class", "btn btn-secondary");
                __builder.AddAttribute(90, "href",
#line 45 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                       NavigateUrl()

#line default
#line hidden
                                       );
                __builder.AddAttribute(91, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                    __builder2.AddContent(92, "Cancel");
                }
                                                                                                            ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(93, "\n");
#line 46 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                if (!_isSystem && PageState.QueryString.ContainsKey("id"))
                {
#line default
#line hidden
                    __builder.AddContent(94, "        ");
                    __builder.OpenElement(95, "button");
                    __builder.AddAttribute(96, "type", "button");
                    __builder.AddAttribute(97, "class", "btn btn-danger");
                    __builder.AddAttribute(98, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 48 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                                                                                                                                                            DeleteFolder

#line default
#line hidden
                                                                                                                                                                            ));
                    __builder.AddContent(99, "Delete");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(100, "\n");
#line 49 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                }

#line default
#line hidden
                __builder.AddMarkupContent(101, "    <br>\n    <br>\n");
#line 52 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                if (PageState.QueryString.ContainsKey("id"))
                {
#line default
#line hidden
                    __builder.AddContent(102, "        ");
                    __builder.OpenComponent <Oqtane.Modules.Controls.AuditInfo>(103);
                    __builder.AddAttribute(104, "CreatedBy", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 54 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                               _createdBy

#line default
#line hidden
                                               ));
                    __builder.AddAttribute(105, "CreatedOn", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.DateTime>(
#line 54 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                               _createdOn

#line default
#line hidden
                                               ));
                    __builder.AddAttribute(106, "ModifiedBy", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 54 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                               _modifiedBy

#line default
#line hidden
                                               ));
                    __builder.AddAttribute(107, "ModifiedOn", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.DateTime>(
#line 54 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                                               _modifiedOn

#line default
#line hidden
                                               ));
                    __builder.CloseComponent();
                    __builder.AddMarkupContent(108, "\n");
#line 55 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
                }

#line default
#line hidden
#line 55 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Files/Edit.razor"
            }

#line default
#line hidden
        }
Beispiel #29
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#line 5 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
            if (newTodo == null)
            {
#line default
#line hidden
                __builder.AddContent(0, "    ");
                __builder.OpenElement(1, "h1");
                __builder.AddContent(2, "Todo (");
                __builder.AddContent(3,
#line 7 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                     FilteredTodos.Count()

#line default
#line hidden
                                     );
                __builder.AddContent(4, ")");
                __builder.CloseElement();
                __builder.AddMarkupContent(5, "\r\n    ");
                __builder.OpenElement(6, "button");
                __builder.AddAttribute(7, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 8 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                                                                                                                                                       CreateTodo

#line default
#line hidden
                                                                                                                                                                       ));
                __builder.AddContent(8, "Create new");
                __builder.CloseElement();
                __builder.AddMarkupContent(9, "\r\n    ");
                __builder.OpenElement(10, "div");
                __builder.AddAttribute(11, "id", "filters");
                __builder.AddMarkupContent(12, "\r\n        ");
                __builder.OpenElement(13, "select");
                __builder.AddAttribute(14, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.ChangeEventArgs>(this,
#line 10 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                                                                                                                                                      OnFilterChanged

#line default
#line hidden
                                                                                                                                                                      ));
                __builder.AddMarkupContent(15, "\r\n            \r\n            ");
                __builder.OpenElement(16, "option");
                __builder.AddAttribute(17, "value", "all");
                __builder.AddContent(18, "All");
                __builder.CloseElement();
                __builder.AddMarkupContent(19, "\r\n            ");
                __builder.OpenElement(20, "option");
                __builder.AddAttribute(21, "value", "completed");
                __builder.AddContent(22, "Only Completed");
                __builder.CloseElement();
                __builder.AddMarkupContent(23, "\r\n            ");
                __builder.OpenElement(24, "option");
                __builder.AddAttribute(25, "value", "unfinished");
                __builder.AddContent(26, "Only unfinished");
                __builder.CloseElement();
                __builder.AddMarkupContent(27, "\r\n\r\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(28, "\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(29, "\r\n    ");
                __builder.OpenElement(30, "ul");
                __builder.AddMarkupContent(31, "\r\n");
#line 19 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                foreach (var todo in FilteredTodos)
                {
#line default
#line hidden
                    __builder.AddContent(32, "            ");
                    __builder.OpenElement(33, "li");
                    __builder.AddMarkupContent(34, "\r\n                ");
                    __builder.OpenElement(35, "input");
                    __builder.AddAttribute(36, "type", "checkbox");
                    __builder.AddAttribute(37, "checked", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 22 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                               todo.IsDone

#line default
#line hidden
                                               ));
                    __builder.AddAttribute(38, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => todo.IsDone = __value, todo.IsDone));
                    __builder.SetUpdatesAttributeName("checked");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(39, "\r\n                ");
                    __builder.OpenElement(40, "span");
                    __builder.AddContent(41,
#line 23 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                         todo.Title

#line default
#line hidden
                                         );
                    __builder.AddContent(42, " ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(43, "\r\n                ");
                    __builder.OpenElement(44, "span");
                    __builder.AddContent(45, " ");
                    __builder.AddContent(46,
#line 24 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                         todo.DueDate

#line default
#line hidden
                                         );
                    __builder.AddContent(47, " ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(48, "       \r\n            ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(49, "\r\n");
#line 26 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                }

#line default
#line hidden
                __builder.AddContent(50, "    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(51, "\r\n");
#line 28 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(52, "\r\n\r\n");
#line 31 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
            if (newTodo != null)
            {
#line default
#line hidden
                __builder.AddContent(53, "    ");
                __builder.AddMarkupContent(54, "<h1>Create new Todo item</h1>\r\n    ");
                __builder.OpenComponent <Microsoft.AspNetCore.Components.Forms.EditForm>(55);
                __builder.AddAttribute(56, "Model", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Object>(
#line 34 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                           newTodo

#line default
#line hidden
                                           ));
                __builder.AddAttribute(57, "OnValidSubmit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Forms.EditContext> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Forms.EditContext>(this,
#line 34 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                                                                                                                                                                                                                                                                                                                                            AddTodo

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                            )));
                __builder.AddAttribute(58, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder2) => {
                    __builder2.AddMarkupContent(59, "\r\n        ");
                    __builder2.OpenComponent <Microsoft.AspNetCore.Components.Forms.DataAnnotationsValidator>(60);
                    __builder2.CloseComponent();
                    __builder2.AddMarkupContent(61, "\r\n        \r\n        <br>\r\n        ");
                    __builder2.OpenComponent <Microsoft.AspNetCore.Components.Forms.InputText>(62);
                    __builder2.AddAttribute(63, "placeholder", "Something todo");
                    __builder2.AddAttribute(64, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 38 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                                newTodo.Title

#line default
#line hidden
                                                ));
                    __builder2.AddAttribute(65, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => newTodo.Title = __value, newTodo.Title))));
                    __builder2.AddAttribute(66, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => newTodo.Title));
                    __builder2.CloseComponent();
                    __builder2.AddMarkupContent(67, "\r\n        ");
                    __Blazor.Blazor.Shared.Todos.TypeInference.CreateValidationMessage_0(__builder2, 68, 69,
#line 39 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                                                                         () => newTodo.Title

#line default
#line hidden
                                                                                         );
                    __builder2.AddMarkupContent(70, "\r\n        <br>\r\n        ");
                    __builder2.OpenComponent <Microsoft.AspNetCore.Components.Forms.InputTextArea>(71);
                    __builder2.AddAttribute(72, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 41 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                                newTodo.Content

#line default
#line hidden
                                                ));
                    __builder2.AddAttribute(73, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => newTodo.Content = __value, newTodo.Content))));
                    __builder2.AddAttribute(74, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => newTodo.Content));
                    __builder2.CloseComponent();
                    __builder2.AddMarkupContent(75, "\r\n        ");
                    __Blazor.Blazor.Shared.Todos.TypeInference.CreateValidationMessage_1(__builder2, 76, 77,
#line 42 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                                                                         () => newTodo.Content

#line default
#line hidden
                                                                                         );
                    __builder2.AddMarkupContent(78, "\r\n        <br>\r\n        ");
                    __Blazor.Blazor.Shared.Todos.TypeInference.CreateInputDate_2(__builder2, 79, 80,
#line 44 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                                                                 newTodo.DueDate

#line default
#line hidden
                                                                                 , 81, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => newTodo.DueDate = __value, newTodo.DueDate)), 82, () => newTodo.DueDate);
                    __builder2.AddMarkupContent(83, "\r\n        ");
                    __Blazor.Blazor.Shared.Todos.TypeInference.CreateValidationMessage_3(__builder2, 84, 85,
#line 45 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
                                                                                         () => newTodo.DueDate

#line default
#line hidden
                                                                                         );
                    __builder2.AddMarkupContent(86, "\r\n        <br>\r\n        ");
                    __builder2.AddMarkupContent(87, "<button>Add todo</button>\r\n    ");
                }
                                                                                                                                                                ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(88, "\r\n");
#line 49 "D:\Projecten\Blazor\BlazorServer\Shared\Todos.razor"
            }

#line default
#line hidden
        }
Beispiel #30
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "container");
            __builder.AddMarkupContent(2, "\r\n\r\n    ");
            __builder.OpenElement(3, "div");
            __builder.AddAttribute(4, "class", "row justify-content-md-center");
            __builder.AddMarkupContent(5, "\r\n        ");
            __builder.OpenElement(6, "div");
            __builder.AddAttribute(7, "class", "col-sm text-sm-right");
            __builder.AddMarkupContent(8, "\r\n            ");
            __builder.OpenElement(9, "button");
            __builder.AddAttribute(10, "class", "btn btn-secondary");
            __builder.AddAttribute(11, "type", "button");
            __builder.AddAttribute(12, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 14 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                                                                                                                                                    ReculeUnMois

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(13, "<span class=\"material-icons\">fast_rewind</span>");
            __builder.CloseElement();
            __builder.AddMarkupContent(14, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(15, "\r\n        ");
            __builder.OpenElement(16, "div");
            __builder.AddAttribute(17, "class", "col-sm");
            __builder.AddMarkupContent(18, "\r\n            ");
            __builder.OpenElement(19, "div");
            __builder.AddAttribute(20, "class", "form-group");
            __builder.AddMarkupContent(21, "\r\n                ");
            __builder.OpenElement(22, "select");
            __builder.AddAttribute(23, "id", "mois");
            __builder.AddAttribute(24, "class", "form-control");
            __builder.AddAttribute(25, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 18 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                       EtatCalendrier.MoisSelectione

#line default
#line hidden
                                       ));
            __builder.AddAttribute(26, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => EtatCalendrier.MoisSelectione = __value, EtatCalendrier.MoisSelectione));
            __builder.SetUpdatesAttributeName("value");
            __builder.AddMarkupContent(27, "\r\n");
#line 19 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
            foreach (var m in mois)
            {
                if (m.Key == EtatCalendrier.MoisSelectione)
                {
#line default
#line hidden
                    __builder.AddContent(28, "                            ");
                    __builder.OpenElement(29, "option");
                    __builder.AddAttribute(30, "value",
#line 23 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                           m.Key

#line default
#line hidden
                                           );
                    __builder.AddAttribute(31, "selected", true);
                    __builder.AddContent(32,
#line 23 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                         m.Value

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(33, "\r\n");
#line 24 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                }
                else
                {
#line default
#line hidden
                    __builder.AddContent(34, "                            ");
                    __builder.OpenElement(35, "option");
                    __builder.AddAttribute(36, "value",
#line 27 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                           m.Key

#line default
#line hidden
                                           );
                    __builder.AddContent(37,
#line 27 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                         m.Value

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(38, "\r\n");
#line 28 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                }
            }

#line default
#line hidden
            __builder.AddContent(39, "                ");
            __builder.CloseElement();
            __builder.AddMarkupContent(40, "\r\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(41, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(42, "\r\n        ");
            __builder.OpenElement(43, "div");
            __builder.AddAttribute(44, "class", "col-sm");
            __builder.AddMarkupContent(45, "\r\n            ");
            __builder.OpenElement(46, "button");
            __builder.AddAttribute(47, "class", "btn btn-secondary");
            __builder.AddAttribute(48, "type", "button");
            __builder.AddAttribute(49, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 34 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                                                                                                                                                    AvanceUnMois

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(50, "<span class=\"material-icons\">fast_forward</span>");
            __builder.CloseElement();
            __builder.AddMarkupContent(51, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(52, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(53, "\r\n\r\n");
#line 38 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
            foreach (var semaine in EtatCalendrier.Calendrier.Semaines)
            {
#line default
#line hidden
                __builder.AddContent(54, "        ");
                __builder.OpenComponent <LibrairieDeComposants.Semaine>(55);
                __builder.AddAttribute(56, "semaine", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <LibrairieDeComposants.Model.SemaineModel>(
#line 40 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                           semaine

#line default
#line hidden
                                           ));
                __builder.AddAttribute(57, "OnAfficheModalNote", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <LibrairieDeComposants.Model.JourModel> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <LibrairieDeComposants.Model.JourModel>(this,
#line 40 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                                                                                                                                                                                                                                                                                                                         OnAfficheModalNote

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                         )));
                __builder.CloseComponent();
                __builder.AddMarkupContent(58, "\r\n");
#line 41 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(59, "\r\n\r\n    ");
            __builder.OpenElement(60, "div");
            __builder.AddAttribute(61, "class", "modal");
            __builder.AddAttribute(62, "id", "myModal");
            __builder.AddMarkupContent(63, "\r\n        ");
            __builder.OpenElement(64, "div");
            __builder.AddAttribute(65, "class", "modal-dialog");
            __builder.AddMarkupContent(66, "\r\n            ");
            __builder.OpenElement(67, "div");
            __builder.AddAttribute(68, "class", "modal-content");
            __builder.AddMarkupContent(69, "\r\n\r\n                \r\n                ");
            __builder.OpenElement(70, "div");
            __builder.AddAttribute(71, "class", "modal-header");
            __builder.AddMarkupContent(72, "\r\n                    ");
            __builder.OpenElement(73, "h4");
            __builder.AddAttribute(74, "class", "modal-title");
            __builder.AddContent(75, "Ajouter une note le ");
            __builder.AddContent(76,
#line 50 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                 EtatCalendrier.JourSelectionne.Jour.ToString(EtatCalendrier.DateFormat, EtatCalendrier.Culture)

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(77, "\r\n                    ");
            __builder.AddMarkupContent(78, "<button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>\r\n                ");
            __builder.CloseElement();
            __builder.AddMarkupContent(79, "\r\n\r\n                \r\n                ");
            __builder.OpenElement(80, "div");
            __builder.AddAttribute(81, "class", "modal-body");
            __builder.AddMarkupContent(82, "\r\n                    ");
            __builder.OpenElement(83, "div");
            __builder.AddAttribute(84, "id", "accordion");
            __builder.AddMarkupContent(85, "\r\n                        ");
            __builder.OpenElement(86, "div");
            __builder.AddAttribute(87, "class", "card");
            __builder.AddMarkupContent(88, "\r\n                            ");
            __builder.AddMarkupContent(89, @"<div class=""card-header"" id=""headingOne"">
                                <h5 class=""mb-0"">
                                    <button class=""btn btn-link"" data-toggle=""collapse"" data-target=""#collapseOne"" aria-expanded=""true"" aria-controls=""collapseOne"">
                                        Ecrire une note
                                    </button>
                                </h5>
                            </div>

                            ");
            __builder.OpenElement(90, "div");
            __builder.AddAttribute(91, "id", "collapseOne");
            __builder.AddAttribute(92, "class", "collapse show");
            __builder.AddAttribute(93, "aria-labelledby", "headingOne");
            __builder.AddAttribute(94, "data-parent", "#accordion");
            __builder.AddMarkupContent(95, "\r\n                                ");
            __builder.OpenElement(96, "div");
            __builder.AddAttribute(97, "class", "card-body");
            __builder.AddMarkupContent(98, "\r\n                                    ");
            __builder.OpenElement(99, "div");
            __builder.AddAttribute(100, "class", "form-group");
            __builder.AddMarkupContent(101, "\r\n                                        ");
            __builder.AddMarkupContent(102, "<label for=\"exampleFormControlTextarea1\"> <span class=\"material-icons\">edit</span> Note :</label>\r\n                                        ");
            __builder.OpenElement(103, "textarea");
            __builder.AddAttribute(104, "class", "form-control");
            __builder.AddAttribute(105, "id", "exampleFormControlTextarea1");
            __builder.AddAttribute(106, "rows", "3");
            __builder.AddAttribute(107, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 70 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                       noteVm.Note

#line default
#line hidden
                                       ));
            __builder.AddAttribute(108, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => noteVm.Note = __value, noteVm.Note));
            __builder.SetUpdatesAttributeName("value");
            __builder.CloseElement();
            __builder.AddMarkupContent(109, "\r\n                                    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(110, "\r\n                                ");
            __builder.CloseElement();
            __builder.AddMarkupContent(111, "\r\n\r\n");
#line 74 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
            if (EtatCalendrier.CurrentUser != null)
            {
#line default
#line hidden
                __builder.AddContent(112, "                                    ");
                __builder.OpenElement(113, "button");
                __builder.AddAttribute(114, "type", "button");
                __builder.AddAttribute(115, "class", "btn btn-dark float-right mb-5");
                __builder.AddAttribute(116, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 76 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                                                                                                                                                         AjouterNote

#line default
#line hidden
                                                                                                                                                                         ));
                __builder.AddContent(117, "Ajouter : ");
                __builder.AddMarkupContent(118, "<span class=\"material-icons\">done_outline</span>");
                __builder.CloseElement();
                __builder.AddMarkupContent(119, "\r\n");
#line 77 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
            }
            else
            {
#line default
#line hidden
                __builder.AddContent(120, "                                    ");
                __builder.AddMarkupContent(121, "<button type=\"button\" class=\"btn btn-dark float-right mb-5\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Vous devez vous connecter avant de créer une note\" disabled>Ajouter : <span class=\"material-icons\">done_outline</span></button>\r\n");
#line 81 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(122, "\r\n                            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(123, "\r\n                        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(124, "\r\n                        ");
            __builder.OpenElement(125, "div");
            __builder.AddAttribute(126, "class", "card");
            __builder.AddMarkupContent(127, "\r\n                            ");
            __builder.AddMarkupContent(128, @"<div class=""card-header"" id=""headingTwo"">
                                <h5 class=""mb-0"">
                                    <button class=""btn btn-link collapsed"" data-toggle=""collapse"" data-target=""#collapseTwo"" aria-expanded=""false"" aria-controls=""collapseTwo"">
                                        Voir les notes
                                    </button>
                                </h5>
                            </div>
                            ");
            __builder.OpenElement(129, "div");
            __builder.AddAttribute(130, "id", "collapseTwo");
            __builder.AddAttribute(131, "class", "collapse");
            __builder.AddAttribute(132, "aria-labelledby", "headingTwo");
            __builder.AddAttribute(133, "data-parent", "#accordion");
            __builder.AddMarkupContent(134, "\r\n                                ");
            __builder.OpenElement(135, "div");
            __builder.AddAttribute(136, "class", "card-body");
            __builder.AddMarkupContent(137, "\r\n\r\n                                        ");
            __builder.OpenElement(138, "div");
            __builder.AddAttribute(139, "class", "card-columns");
            __builder.AddMarkupContent(140, "\r\n");
#line 97 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
            foreach (var note in EtatCalendrier.JourSelectionne.Notes)
            {
#line default
#line hidden
                __builder.AddContent(141, "                                                ");
                __builder.OpenElement(142, "div");
                __builder.AddAttribute(143, "class", "card");
                __builder.AddAttribute(144, "style", "width: 100%;");
                __builder.AddMarkupContent(145, "\r\n                                                    ");
                __builder.OpenElement(146, "div");
                __builder.AddAttribute(147, "class", "card-header");
                __builder.AddMarkupContent(148, "\r\n                                                        ");
                __builder.OpenElement(149, "h5");
                __builder.AddAttribute(150, "class", "card-title");
                __builder.AddMarkupContent(151, "\r\n                                                            ");
                __builder.OpenElement(152, "img");
                __builder.AddAttribute(153, "src",
#line 103 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                       note.CreateurAvatar

#line default
#line hidden
                                       );
                __builder.AddAttribute(154, "alt", "Card image cap");
                __builder.CloseElement();
                __builder.AddContent(155, " (");
                __builder.AddContent(156,
#line 103 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                     note.CreateurNom

#line default
#line hidden
                                     );
                __builder.AddMarkupContent(157, ")\r\n                                                        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(158, "\r\n                                                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(159, "\r\n                                                    ");
                __builder.OpenElement(160, "div");
                __builder.AddAttribute(161, "class", "card-body");
                __builder.AddMarkupContent(162, "\r\n                                                        ");
                __builder.OpenElement(163, "p");
                __builder.AddAttribute(164, "class", "card-text");
                __builder.AddContent(165,
#line 107 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                     note.Note

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.AddMarkupContent(166, "\r\n                                                        ");
                __builder.OpenElement(167, "a");
                __builder.AddAttribute(168, "href", "#");
                __builder.AddContent(169,
#line 108 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                     note.DateCreationNote.ToString(EtatCalendrier.ShortdateFormat, EtatCalendrier.Culture)

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.AddMarkupContent(170, "\r\n                                                    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(171, "\r\n");
#line 110 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                if (EtatCalendrier.CurrentUser.Login == note.CreateurNom)
                {
#line default
#line hidden
                    __builder.AddContent(172, "                                                ");
                    __builder.OpenElement(173, "div");
                    __builder.AddAttribute(174, "class", "card-footer");
                    __builder.AddMarkupContent(175, "\r\n                                                    ");
                    __builder.OpenElement(176, "button");
                    __builder.AddAttribute(177, "type", "button");
                    __builder.AddAttribute(178, "class", "btn btn-sm btn-dark float-right mb-2");
                    __builder.AddAttribute(179, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 113 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                                                                                                                                                                             e => EffacerNote(note)

#line default
#line hidden
                                                                                                                                                                             ));
                    __builder.AddMarkupContent(180, "\r\n                                                        ");
                    __builder.AddMarkupContent(181, "<span class=\"material-icons\">delete</span>\r\n                                                    ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(182, "\r\n                                                ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(183, "\r\n");
#line 117 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
                }

#line default
#line hidden
                __builder.AddContent(184, "                                                ");
                __builder.CloseElement();
                __builder.AddMarkupContent(185, "\r\n");
#line 119 "C:\Users\Hadrien\source\repos\BlazorPoc\BlazorCalendrier\LibrairieDeComposants\Calendrier.razor"
            }

#line default
#line hidden
            __builder.AddContent(186, "                                        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(187, "\r\n\r\n                                ");
            __builder.CloseElement();
            __builder.AddMarkupContent(188, "\r\n                            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(189, "\r\n                        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(190, "\r\n                    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(191, "\r\n\r\n                ");
            __builder.CloseElement();
            __builder.AddMarkupContent(192, "\r\n\r\n                \r\n                ");
            __builder.AddMarkupContent(193, "<div class=\"modal-footer\">\r\n                    <button type=\"button\" class=\"btn\" data-dismiss=\"modal\">Fermer</button>\r\n                </div>\r\n\r\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(194, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(195, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(196, "\r\n\r\n");
            __builder.CloseElement();
        }