Update 20231515
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
0
.vs/BWPM/FileContentIndex/read.lock
Normal file
0
.vs/BWPM/FileContentIndex/read.lock
Normal file
Binary file not shown.
Binary file not shown.
BIN
.vs/BWPM/v17/.futdcache.v2
Normal file
BIN
.vs/BWPM/v17/.futdcache.v2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.vs/ProjectEvaluation/bwpm.metadata.v1
Normal file
BIN
.vs/ProjectEvaluation/bwpm.metadata.v1
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/bwpm.metadata.v2
Normal file
BIN
.vs/ProjectEvaluation/bwpm.metadata.v2
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/bwpm.metadata.v5.1
Normal file
BIN
.vs/ProjectEvaluation/bwpm.metadata.v5.1
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/bwpm.metadata.v6.1
Normal file
BIN
.vs/ProjectEvaluation/bwpm.metadata.v6.1
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/bwpm.projects.v1
Normal file
BIN
.vs/ProjectEvaluation/bwpm.projects.v1
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/bwpm.projects.v2
Normal file
BIN
.vs/ProjectEvaluation/bwpm.projects.v2
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/bwpm.projects.v5.1
Normal file
BIN
.vs/ProjectEvaluation/bwpm.projects.v5.1
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/bwpm.projects.v6.1
Normal file
BIN
.vs/ProjectEvaluation/bwpm.projects.v6.1
Normal file
Binary file not shown.
Binary file not shown.
@@ -49,7 +49,9 @@ using Syncfusion.EJ2;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"00d030fffd3b246b14f405f3a57a4704d5160220", @"/Views/Account/Login.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_Account_Login : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<LoginViewModel>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
@@ -104,16 +106,26 @@ using Syncfusion.EJ2;
|
||||
");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<LoginViewModel> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<LoginViewModel> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -35,7 +35,9 @@ using System.Security.Claims;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"16afe38e331f740a7654bbebcacb1f184e61a275", @"/Views/Account/Welcome.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_Account_Welcome : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
@@ -117,16 +119,26 @@ Write(ViewBag.sessionvariable);
|
||||
#nullable disable
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<Views_Account_Welcome> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<Views_Account_Welcome> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Views_Account_Welcome> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Views_Account_Welcome>)PageContext?.ViewData;
|
||||
public Views_Account_Welcome Model => ViewData.Model;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,9 @@ using Syncfusion.EJ2;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"4ea554ff163de8ed32681fced9d144d7e7b702c8", @"/Views/Dialog/DialogFeatures.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_Dialog_DialogFeatures : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("id", "normalbtn", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("content", "Open", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
@@ -107,7 +109,7 @@ using Syncfusion.EJ2;
|
||||
<div id = ""ControlRegion"">
|
||||
<div class=""col-lg-12 control-section"" id=""target"">
|
||||
");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4ea554ff163de8ed32681fced9d144d7e7b702c88554", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4ea554ff163de8ed32681fced9d144d7e7b702c88600", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Buttons_Button = CreateTagHelper<global::Syncfusion.EJ2.Buttons.Button>();
|
||||
@@ -124,11 +126,11 @@ using Syncfusion.EJ2;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4ea554ff163de8ed32681fced9d144d7e7b702c89774", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4ea554ff163de8ed32681fced9d144d7e7b702c89820", async() => {
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dialog-buttons", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4ea554ff163de8ed32681fced9d144d7e7b702c810050", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dialog-buttons", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4ea554ff163de8ed32681fced9d144d7e7b702c810096", async() => {
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dialog-dialogbutton", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4ea554ff163de8ed32681fced9d144d7e7b702c810345", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dialog-dialogbutton", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4ea554ff163de8ed32681fced9d144d7e7b702c810391", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Popups_DialogDialogButton = CreateTagHelper<global::Syncfusion.EJ2.Popups.DialogDialogButton>();
|
||||
@@ -163,7 +165,7 @@ __Syncfusion_EJ2_Popups_DialogDialogButton.ButtonModel = ViewBag.button;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dialog-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4ea554ff163de8ed32681fced9d144d7e7b702c812745", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dialog-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4ea554ff163de8ed32681fced9d144d7e7b702c812791", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Popups_DialogPositionData = CreateTagHelper<global::Syncfusion.EJ2.Popups.DialogPositionData>();
|
||||
@@ -274,16 +276,26 @@ __Syncfusion_EJ2_Popups_Dialog.ShowCloseIcon = true;
|
||||
");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -28,7 +28,9 @@ using APP.Models;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"3a584f605d209ab6f43b9b2e8bc3ccdcc46ff350", @"/Views/Menu/MenuFeatures.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_Menu_MenuFeatures : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("id", "ej2-menu", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
#line hidden
|
||||
@@ -65,7 +67,7 @@ using APP.Models;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral("<h2>Menu Features:</h2>\r\n<br/>\r\n<li> Default</li>\r\n<li> Theme - Bootstrap-Theme</li>\r\n<br/>\r\n<div id = \"ControlRegion\">\r\n<div>\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-menu", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3a584f605d209ab6f43b9b2e8bc3ccdcc46ff3503722", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-menu", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3a584f605d209ab6f43b9b2e8bc3ccdcc46ff3503768", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Navigations_Menu = CreateTagHelper<global::Syncfusion.EJ2.Navigations.Menu>();
|
||||
@@ -135,16 +137,26 @@ __Syncfusion_EJ2_Navigations_Menu.Items = ViewBag.menuItems;
|
||||
");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -35,7 +35,9 @@ using APP.Controllers;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"72bc26b3ca69342a1b4fee816fbe676030a382c4", @"/Views/NumericTextBox/NumericTextBoxFeatures.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_NumericTextBox_NumericTextBoxFeatures : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("id", "numeric", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("width", "250px", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
@@ -89,7 +91,7 @@ using APP.Controllers;
|
||||
<label>Numeric TextBox</label>
|
||||
<br />
|
||||
");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-numerictextbox", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "72bc26b3ca69342a1b4fee816fbe676030a382c45766", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-numerictextbox", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "72bc26b3ca69342a1b4fee816fbe676030a382c45812", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Inputs_NumericTextBox = CreateTagHelper<global::Syncfusion.EJ2.Inputs.NumericTextBox>();
|
||||
@@ -114,7 +116,7 @@ __Syncfusion_EJ2_Inputs_NumericTextBox.Value = 10;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n </div>\r\n <br />\r\n <div>\r\n <label>Percentage TextBox</label>\r\n <br />\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-numerictextbox", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "72bc26b3ca69342a1b4fee816fbe676030a382c47571", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-numerictextbox", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "72bc26b3ca69342a1b4fee816fbe676030a382c47617", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Inputs_NumericTextBox = CreateTagHelper<global::Syncfusion.EJ2.Inputs.NumericTextBox>();
|
||||
@@ -165,7 +167,7 @@ __Syncfusion_EJ2_Inputs_NumericTextBox.Step = 0.01;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n </div>\r\n <br />\r\n <div>\r\n <label>Currency TextBox</label>\r\n <br />\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-numerictextbox", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "72bc26b3ca69342a1b4fee816fbe676030a382c410867", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-numerictextbox", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "72bc26b3ca69342a1b4fee816fbe676030a382c410913", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Inputs_NumericTextBox = CreateTagHelper<global::Syncfusion.EJ2.Inputs.NumericTextBox>();
|
||||
@@ -212,16 +214,26 @@ __Syncfusion_EJ2_Inputs_NumericTextBox.Value = 100;
|
||||
");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -28,7 +28,9 @@ using APP.Models;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"a75b72ccd4c0ec4143087c1de98508b9d6284022", @"/Views/RichTextEditor/RichTextEditorFeatures.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_RichTextEditor_RichTextEditorFeatures : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("id", "defaultRTE", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
#line hidden
|
||||
@@ -67,9 +69,9 @@ using APP.Models;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral("<h2>RichTextEditor Features:</h2>\r\n<br/>\r\n<li> RichTextEditor Samples - Default</li>\r\n<li> Theme - Bootstrap-Theme</li>\r\n<br/>\r\n<div id = \"ControlRegion\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-richtexteditor", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a75b72ccd4c0ec4143087c1de98508b9d62840224154", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-richtexteditor", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a75b72ccd4c0ec4143087c1de98508b9d62840224200", async() => {
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a75b72ccd4c0ec4143087c1de98508b9d62840224430", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a75b72ccd4c0ec4143087c1de98508b9d62840224476", async() => {
|
||||
WriteLiteral(@"
|
||||
<div>
|
||||
<p>The rich text editor is WYSIWYG ('what you see is what you get') editor useful to create and edit content, and return the valid <a href='rte / rich - text - editor.html'>HTML markup</a> or <a href='rte / markdown - editor.html'>markdown</a> of the content</p>
|
||||
@@ -122,7 +124,7 @@ using APP.Models;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-richtexteditor-toolbarsettings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a75b72ccd4c0ec4143087c1de98508b9d62840227129", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-richtexteditor-toolbarsettings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a75b72ccd4c0ec4143087c1de98508b9d62840227175", async() => {
|
||||
WriteLiteral("\r\n ");
|
||||
}
|
||||
);
|
||||
@@ -176,16 +178,26 @@ __Syncfusion_EJ2_RichTextEditor_RichTextEditor.MaxLength = 2000;
|
||||
WriteLiteral("\r\n</div>\r\n");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -35,7 +35,9 @@ using Syncfusion.EJ2;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"e8d3d0a7ed6a087be6480f7975f9375cb55b44a1", @"/Views/Schulhaus/Index.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_Schulhaus_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("template", "#dialogtemplate", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("url", "/Schulhaus/UrlDataSource", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
@@ -114,9 +116,9 @@ using Syncfusion.EJ2;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral("<h2>Schulhaus-Verwaltung</h2>\r\n<br />\r\n\r\n<div class=\"control-wrapper\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a115065", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a115111", async() => {
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-editSettings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a115336", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-editSettings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a115382", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridEditSettings = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridEditSettings>();
|
||||
@@ -163,7 +165,7 @@ __Syncfusion_EJ2_Grids_GridEditSettings.Mode = global::Syncfusion.EJ2.Grids.Edit
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-manager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a118287", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-manager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a118333", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_DataManager = CreateTagHelper<global::Syncfusion.EJ2.DataManager>();
|
||||
@@ -186,9 +188,9 @@ __Syncfusion_EJ2_Grids_GridEditSettings.Mode = global::Syncfusion.EJ2.Grids.Edit
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a120134", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a120180", async() => {
|
||||
WriteLiteral("\r\n\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a120427", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a120473", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -249,7 +251,7 @@ __Syncfusion_EJ2_Grids_GridColumn.IsIdentity = true;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a124422", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a124468", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -268,7 +270,7 @@ __Syncfusion_EJ2_Grids_GridColumn.IsIdentity = true;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a126009", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a126055", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -287,7 +289,7 @@ __Syncfusion_EJ2_Grids_GridColumn.IsIdentity = true;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a127596", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a127642", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -306,7 +308,7 @@ __Syncfusion_EJ2_Grids_GridColumn.IsIdentity = true;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a129181", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a129227", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -325,7 +327,7 @@ __Syncfusion_EJ2_Grids_GridColumn.IsIdentity = true;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a130768", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a130814", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -344,7 +346,7 @@ __Syncfusion_EJ2_Grids_GridColumn.IsIdentity = true;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a132355", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a132401", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -398,7 +400,7 @@ __Syncfusion_EJ2_Grids_GridColumn.TextAlign = global::Syncfusion.EJ2.Grids.TextA
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral(" ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a135770", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a135816", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -436,7 +438,7 @@ __Syncfusion_EJ2_Grids_GridColumn.Visible = true;
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n");
|
||||
WriteLiteral(" ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a138467", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a138513", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -466,7 +468,7 @@ __Syncfusion_EJ2_Grids_GridColumn.DefaultValue = (DateTime.Now);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n");
|
||||
WriteLiteral(" ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a140740", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a140786", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -494,7 +496,7 @@ __Syncfusion_EJ2_Grids_GridColumn.DefaultValue = 0;
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n");
|
||||
WriteLiteral(" ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a142800", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a142846", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -530,7 +532,7 @@ __Syncfusion_EJ2_Grids_GridColumn.DefaultValue = 0;
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n");
|
||||
WriteLiteral(" ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a145284", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8d3d0a7ed6a087be6480f7975f9375cb55b44a145330", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -739,16 +741,26 @@ __Syncfusion_EJ2_Grids_Grid.Toolbar = (new List<string>() {"Add", "Edit", "Updat
|
||||
|
||||
</script>");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,9 @@ using APP.Models;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"e3c30f8be81f6ffcebb0e60e29296b6263e179fa", @"/Views/Shared/Components/Footer/Footer.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_Shared_Components_Footer_Footer : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
@@ -60,16 +62,26 @@ using APP.Models;
|
||||
WriteLiteral("\r\n");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -28,7 +28,9 @@ using APP.Models;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"d9818233c16e0639b59695cf5d7c0229c3564491", @"/Views/TextBoxes/TextBoxesFeatures.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_TextBoxes_TextBoxesFeatures : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
@@ -155,16 +157,26 @@ using APP.Models;
|
||||
WriteLiteral(";\r\n font-size: 13px;\r\n }\r\n .content-wrapper {\r\n width: 90%;\r\n margin: 0 auto;\r\n min-width: 185px;\r\n }\r\n .content-wrapper div.row {\r\n padding: 15px 0px;\r\n }\r\n</style>\r\n</div>\r\n");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -12,10 +12,10 @@ namespace APP.Views.Demo
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
public partial class Index : Microsoft.AspNetCore.Components.ComponentBase
|
||||
public partial class Index : global::Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
|
||||
1
APP/obj/Debug/netcoreapp3.1/_IsIncrementalBuild
Normal file
1
APP/obj/Debug/netcoreapp3.1/_IsIncrementalBuild
Normal file
@@ -0,0 +1 @@
|
||||
obj\Debug\netcoreapp3.1\\_IsIncrementalBuild
|
||||
File diff suppressed because one or more lines are too long
1
APP/obj/Debug/netcoreapp3.1/project.razor.vs.json
Normal file
1
APP/obj/Debug/netcoreapp3.1/project.razor.vs.json
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -14,10 +14,12 @@
|
||||
"outputPath": "E:\\Software-Projekte\\Lehrlingsparcours\\Core\\BWPM\\APP\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Steafn Hutter lokal\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
|
||||
],
|
||||
@@ -28,8 +30,8 @@
|
||||
"C:\\Program Files (x86)\\FastReports\\FastReport.Net\\Nugets": {},
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"http://nuget.grapecity.com/nuget": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
"E:\\Software-Projekte\\_NugetPackages": {},
|
||||
"http://nuget.grapecity.com/nuget": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp3.1": {
|
||||
@@ -82,16 +84,11 @@
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48"
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Host.win-x64",
|
||||
"version": "[3.1.21, 3.1.21]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.AspNetCore.App": {
|
||||
"privateAssets": "none"
|
||||
@@ -100,7 +97,7 @@
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.100\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.202\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -114,10 +111,12 @@
|
||||
"outputPath": "E:\\Software-Projekte\\Lehrlingsparcours\\Core\\BWPM\\Models\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Steafn Hutter lokal\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
|
||||
],
|
||||
@@ -128,8 +127,8 @@
|
||||
"C:\\Program Files (x86)\\FastReports\\FastReport.Net\\Nugets": {},
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"http://nuget.grapecity.com/nuget": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
"E:\\Software-Projekte\\_NugetPackages": {},
|
||||
"http://nuget.grapecity.com/nuget": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp3.1": {
|
||||
@@ -162,7 +161,8 @@
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48"
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
@@ -171,7 +171,7 @@
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.100\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.202\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,12 +5,13 @@
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Steafn Hutter lokal\.nuget\packages\;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\</NuGetPackageFolders>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Steafn Hutter lokal\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.1.0</NuGetToolVersion>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\Steafn Hutter lokal\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft\Xamarin\NuGet\" />
|
||||
</ItemGroup>
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")]
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = ".NET Core 3.1")]
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -461,7 +461,6 @@ E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\obj\Debug\netcoreapp3.1\APP
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\obj\Debug\netcoreapp3.1\APP.RazorAssemblyInfo.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\obj\Debug\netcoreapp3.1\staticwebassets\APP.StaticWebAssets.Manifest.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\obj\Debug\netcoreapp3.1\staticwebassets\APP.StaticWebAssets.xml
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\obj\Debug\netcoreapp3.1\scopedcss\bundle\APP.styles.css
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\obj\Debug\netcoreapp3.1\APP.RazorTargetAssemblyInfo.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\obj\Debug\netcoreapp3.1\APP.RazorTargetAssemblyInfo.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\obj\Debug\netcoreapp3.1\APP.Views.pdb
|
||||
@@ -469,3 +468,4 @@ E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\obj\Debug\netcoreapp3.1\APP
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\obj\Debug\netcoreapp3.1\APP.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\obj\Debug\netcoreapp3.1\APP.pdb
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\obj\Debug\netcoreapp3.1\APP.genruntimeconfig.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\obj\Debug\netcoreapp3.1\APP.GeneratedMSBuildEditorConfig.editorconfig
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -28,7 +28,9 @@ using APP.Models;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"b352ac43ce37aa4a4fe029ef699a4690cd34a898", @"/Views/Home/Index.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_Home_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
@@ -104,16 +106,26 @@ using APP.Models;
|
||||
WriteLiteral("\r\n </div>\r\n </li>\r\n </ul>\r\n </div>\r\n </td>\r\n </tr>\r\n</table>\r\n<div class=\"clear\"> </div>");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -28,7 +28,9 @@ using APP.Models;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"9bf78c4b5de48798e46c7b91be68ef0ac2851231", @"/Views/Home/Privacy.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_Home_Privacy : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
@@ -59,16 +61,26 @@ Write(ViewBag.message);
|
||||
#nullable disable
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -28,7 +28,9 @@ using APP.Models;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"7d6203b0f86d589613820be84f73dfc1708d87da", @"/Views/Shared/Components/Menuitems/MenuItems.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_Shared_Components_Menuitems_MenuItems : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("id", "menu", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
#line hidden
|
||||
@@ -64,7 +66,7 @@ using APP.Models;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral("\r\n");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-menu", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7d6203b0f86d589613820be84f73dfc1708d87da3652", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-menu", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7d6203b0f86d589613820be84f73dfc1708d87da3698", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Navigations_Menu = CreateTagHelper<global::Syncfusion.EJ2.Navigations.Menu>();
|
||||
@@ -89,16 +91,26 @@ __Syncfusion_EJ2_Navigations_Menu.Items = ViewBag.menuItems;
|
||||
WriteLiteral("\r\n\r\n\r\n");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -28,7 +28,9 @@ using APP.Models;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"4f680e8c1c85e7569f1bcda769e9b649bd5ba63d", @"/Views/Shared/Components/UserStatus/UserStatus.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_Shared_Components_UserStatus_UserStatus : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<BWPMModels.LoginViewModel>
|
||||
#nullable disable
|
||||
{
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", "text", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("form-control-sm"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
@@ -107,9 +109,9 @@ else
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral(" ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4f680e8c1c85e7569f1bcda769e9b649bd5ba63d8541", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4f680e8c1c85e7569f1bcda769e9b649bd5ba63d8587", async() => {
|
||||
WriteLiteral("\r\n\r\n <div class=\"row\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "4f680e8c1c85e7569f1bcda769e9b649bd5ba63d8846", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "4f680e8c1c85e7569f1bcda769e9b649bd5ba63d8892", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
|
||||
@@ -146,7 +148,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvid
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "4f680e8c1c85e7569f1bcda769e9b649bd5ba63d11629", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "4f680e8c1c85e7569f1bcda769e9b649bd5ba63d11675", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
|
||||
@@ -223,16 +225,26 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvid
|
||||
#nullable disable
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<BWPMModels.LoginViewModel> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<BWPMModels.LoginViewModel> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -28,7 +28,9 @@ using APP.Models;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"d6a5625cc8fb4476f348b0fe9041c550465d8bf9", @"/Views/Shared/Error.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_Shared_Error : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<ErrorViewModel>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
@@ -80,16 +82,26 @@ using APP.Models;
|
||||
");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<ErrorViewModel> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<ErrorViewModel> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -42,7 +42,9 @@ using Microsoft.AspNetCore.Http;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"187ecb007fe171daee91a150d1a8c38919a33ad9", @"/Views/Shared/_Layout.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_Shared__Layout : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("rel", new global::Microsoft.AspNetCore.Html.HtmlString("stylesheet"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("href", new global::Microsoft.AspNetCore.Html.HtmlString("~/lib/bootstrap/dist/css/bootstrap.min.css"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
@@ -96,7 +98,7 @@ using Microsoft.AspNetCore.Http;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral("\r\n\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad98947", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad98993", async() => {
|
||||
WriteLiteral("\r\n <meta charset=\"utf-8\" />\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\r\n <title>");
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\APP\Views\Shared\_Layout.cshtml"
|
||||
@@ -106,7 +108,7 @@ using Microsoft.AspNetCore.Http;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral(" - BWPM</title>\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "187ecb007fe171daee91a150d1a8c38919a33ad99587", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "187ecb007fe171daee91a150d1a8c38919a33ad99633", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
|
||||
@@ -121,7 +123,7 @@ using Microsoft.AspNetCore.Http;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "187ecb007fe171daee91a150d1a8c38919a33ad910765", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "187ecb007fe171daee91a150d1a8c38919a33ad910811", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
|
||||
@@ -136,7 +138,7 @@ using Microsoft.AspNetCore.Http;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "187ecb007fe171daee91a150d1a8c38919a33ad911944", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "187ecb007fe171daee91a150d1a8c38919a33ad911990", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
|
||||
@@ -151,7 +153,7 @@ using Microsoft.AspNetCore.Http;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "187ecb007fe171daee91a150d1a8c38919a33ad913123", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "187ecb007fe171daee91a150d1a8c38919a33ad913169", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
|
||||
@@ -166,7 +168,7 @@ using Microsoft.AspNetCore.Http;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad914306", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad914352", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
|
||||
@@ -192,9 +194,9 @@ using Microsoft.AspNetCore.Http;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad916114", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad916160", async() => {
|
||||
WriteLiteral("\r\n <header>\r\n <nav class=\"navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3\">\r\n <div class=\"container\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad916570", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad916616", async() => {
|
||||
WriteLiteral("BWPM");
|
||||
}
|
||||
);
|
||||
@@ -257,7 +259,7 @@ using Microsoft.AspNetCore.Http;
|
||||
#nullable disable
|
||||
WriteLiteral("\r\n");
|
||||
WriteLiteral(" </div>\r\n </footer>\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad920214", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad920260", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
|
||||
@@ -271,7 +273,7 @@ using Microsoft.AspNetCore.Http;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad921315", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad921361", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
|
||||
@@ -285,7 +287,7 @@ using Microsoft.AspNetCore.Http;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad922416", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad922462", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
|
||||
@@ -310,7 +312,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ScriptTagHelper.AppendVersion = true;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-scripts", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad924378", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-scripts", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "187ecb007fe171daee91a150d1a8c38919a33ad924424", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_ScriptRenderer = CreateTagHelper<global::Syncfusion.EJ2.ScriptRenderer>();
|
||||
@@ -345,16 +347,26 @@ Write(RenderSection("Scripts", required: false));
|
||||
WriteLiteral("\r\n</html>\r\n");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -28,7 +28,9 @@ using APP.Models;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"4b5e5ef4ebf7354cc35c7dacddd6bc3068f19a47", @"/Views/Shared/_ValidationScriptsPartial.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_Shared__ValidationScriptsPartial : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/lib/jquery-validation/dist/jquery.validate.min.js"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
@@ -56,7 +58,7 @@ using APP.Models;
|
||||
#pragma warning disable 1998
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
{
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4b5e5ef4ebf7354cc35c7dacddd6bc3068f19a473942", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4b5e5ef4ebf7354cc35c7dacddd6bc3068f19a473988", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
|
||||
@@ -70,7 +72,7 @@ using APP.Models;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4b5e5ef4ebf7354cc35c7dacddd6bc3068f19a474981", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4b5e5ef4ebf7354cc35c7dacddd6bc3068f19a475027", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
|
||||
@@ -86,16 +88,26 @@ using APP.Models;
|
||||
WriteLiteral("\r\n");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -35,7 +35,9 @@ using Syncfusion.EJ2;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"6861e65a3d935588973a6817f490b32f67651d60", @"/Views/User/Index.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views_User_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("url", "/User/UrlDataSource", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("adaptor", "UrlAdaptor", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
@@ -113,9 +115,9 @@ using Syncfusion.EJ2;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral("<h2>Benutzer-Verwaltung</h2>\r\n<br />\r\n<div class=\"control-wrapper\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6015324", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6015370", async() => {
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-editSettings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6015595", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-editSettings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6015641", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridEditSettings = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridEditSettings>();
|
||||
@@ -160,7 +162,7 @@ __Syncfusion_EJ2_Grids_GridEditSettings.Mode = global::Syncfusion.EJ2.Grids.Edit
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-manager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6018328", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-manager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6018374", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_DataManager = CreateTagHelper<global::Syncfusion.EJ2.DataManager>();
|
||||
@@ -183,9 +185,9 @@ __Syncfusion_EJ2_Grids_GridEditSettings.Mode = global::Syncfusion.EJ2.Grids.Edit
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6020171", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6020217", async() => {
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6020460", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6020506", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -246,7 +248,7 @@ __Syncfusion_EJ2_Grids_GridColumn.IsIdentity = true;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6024426", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6024472", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -265,7 +267,7 @@ __Syncfusion_EJ2_Grids_GridColumn.IsIdentity = true;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6026007", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6026053", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -284,7 +286,7 @@ __Syncfusion_EJ2_Grids_GridColumn.IsIdentity = true;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6027590", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6027636", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -303,7 +305,7 @@ __Syncfusion_EJ2_Grids_GridColumn.IsIdentity = true;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6029171", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6029217", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -330,7 +332,7 @@ __Syncfusion_EJ2_Grids_GridColumn.DefaultValue = 0;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6031183", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6031229", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -357,7 +359,7 @@ __Syncfusion_EJ2_Grids_GridColumn.DefaultValue = 0;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6033195", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6033241", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -384,7 +386,7 @@ __Syncfusion_EJ2_Grids_GridColumn.DefaultValue = 0;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6035207", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6035253", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -403,7 +405,7 @@ __Syncfusion_EJ2_Grids_GridColumn.DefaultValue = 0;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6036790", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6036836", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -448,7 +450,7 @@ __Syncfusion_EJ2_Grids_GridColumn.TextAlign = global::Syncfusion.EJ2.Grids.TextA
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6039922", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6039968", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -485,7 +487,7 @@ __Syncfusion_EJ2_Grids_GridColumn.DefaultValue = (DateTime.Now);
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6042584", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6042630", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -512,7 +514,7 @@ __Syncfusion_EJ2_Grids_GridColumn.AllowEditing = false;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6044600", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-grid-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6861e65a3d935588973a6817f490b32f67651d6044646", async() => {
|
||||
}
|
||||
);
|
||||
__Syncfusion_EJ2_Grids_GridColumn = CreateTagHelper<global::Syncfusion.EJ2.Grids.GridColumn>();
|
||||
@@ -610,16 +612,26 @@ __Syncfusion_EJ2_Grids_Grid.Toolbar = (new List<string>() {"Add", "Edit", "Updat
|
||||
WriteLiteral("\r\n</div>\r\n\r\n");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -27,23 +27,35 @@ using APP.Models;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views__ViewImports : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
@@ -28,7 +28,9 @@ using APP.Models;
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"7091c65830b0329e613be026ede8a57552863778", @"/Views/_ViewStart.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c3015f221c992201c00806ad714a8948081299b9", @"/Views/_ViewImports.cshtml")]
|
||||
#nullable restore
|
||||
public class Views__ViewStart : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||
#nullable disable
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
@@ -43,16 +45,26 @@ using APP.Models;
|
||||
#nullable disable
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "oY4eSZnI4960hanJDXzd/kMnXBrJ178oOOjv96FK51qZqlHDHQNs4mRgw9Vq4TV8NjftHKNrKMcP98V6fMO8lw==",
|
||||
"dgSpecHash": "w18EmCFUPlLAmdLrPAMZvzRL8XoC3hCeFgYR4yN15xfxXpNoRI2ZyCGO2D8Bc0YhZzPtxb0kstB/PO3I/vVUxg==",
|
||||
"success": true,
|
||||
"projectFilePath": "E:\\Software-Projekte\\Lehrlingsparcours\\Core\\BWPM\\APP\\APP.csproj",
|
||||
"expectedPackageFiles": [
|
||||
@@ -142,8 +142,14 @@
|
||||
"C:\\Users\\Steafn Hutter lokal\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.3\\system.threading.tasks.extensions.4.5.3.nupkg.sha512",
|
||||
"C:\\Users\\Steafn Hutter lokal\\.nuget\\packages\\system.threading.timer\\4.3.0\\system.threading.timer.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Steafn Hutter lokal\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Steafn Hutter lokal\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Steafn Hutter lokal\\.nuget\\packages\\microsoft.netcore.app.host.win-x64\\3.1.21\\microsoft.netcore.app.host.win-x64.3.1.21.nupkg.sha512"
|
||||
"C:\\Users\\Steafn Hutter lokal\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
"logs": [
|
||||
{
|
||||
"code": "NU1803",
|
||||
"level": "Warning",
|
||||
"warningLevel": 1,
|
||||
"message": "You are running the 'restore' operation with an 'HTTP' source, 'http://nuget.grapecity.com/nuget'. Non-HTTPS access will be removed in a future version. Consider migrating to an 'HTTPS' source."
|
||||
}
|
||||
]
|
||||
}
|
||||
2
BWPM.sln
2
BWPM.sln
@@ -1,7 +1,7 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.1.31911.260
|
||||
VisualStudioVersion = 17.3.32922.545
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BWPMService", "CoreWebAPI1\BWPMService.csproj", "{8BE1B283-AF68-4A4B-806C-F4D69434143B}"
|
||||
EndProject
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -14,10 +14,12 @@
|
||||
"outputPath": "E:\\Software-Projekte\\Lehrlingsparcours\\Core\\BWPM\\BWPMModelsWebForm\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Steafn Hutter lokal\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
|
||||
],
|
||||
@@ -28,8 +30,8 @@
|
||||
"C:\\Program Files (x86)\\FastReports\\FastReport.Net\\Nugets": {},
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"http://nuget.grapecity.com/nuget": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
"E:\\Software-Projekte\\_NugetPackages": {},
|
||||
"http://nuget.grapecity.com/nuget": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net5.0": {
|
||||
@@ -52,7 +54,8 @@
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48"
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
@@ -61,7 +64,7 @@
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.100\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.202\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,12 +5,13 @@
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Steafn Hutter lokal\.nuget\packages\;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\</NuGetPackageFolders>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Steafn Hutter lokal\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.1.0</NuGetToolVersion>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\Steafn Hutter lokal\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft\Xamarin\NuGet\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,4 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = ".NET 5.0")]
|
||||
|
||||
@@ -5,6 +5,7 @@ build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = BWPMModelsWebForm
|
||||
build_property.ProjectDir = E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BWPMModelsWebForm\
|
||||
|
||||
Binary file not shown.
@@ -1,6 +1,5 @@
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BWPMModelsWebForm\bin\Debug\net5.0\BWPMModelsWebForm.deps.json
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BWPMModelsWebForm\bin\Debug\net5.0\BWPMModelsWebForm.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BWPMModelsWebForm\bin\Debug\net5.0\ref\BWPMModelsWebForm.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BWPMModelsWebForm\bin\Debug\net5.0\BWPMModelsWebForm.pdb
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BWPMModelsWebForm\obj\Debug\net5.0\BWPMModelsWebForm.GeneratedMSBuildEditorConfig.editorconfig
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BWPMModelsWebForm\obj\Debug\net5.0\BWPMModelsWebForm.AssemblyInfoInputs.cache
|
||||
@@ -9,3 +8,5 @@ E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BWPMModelsWebForm\obj\Debug\net
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BWPMModelsWebForm\obj\Debug\net5.0\BWPMModelsWebForm.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BWPMModelsWebForm\obj\Debug\net5.0\ref\BWPMModelsWebForm.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BWPMModelsWebForm\obj\Debug\net5.0\BWPMModelsWebForm.pdb
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BWPMModelsWebForm\obj\Debug\net5.0\BWPMModelsWebForm.csproj.AssemblyReference.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BWPMModelsWebForm\obj\Debug\net5.0\refint\BWPMModelsWebForm.dll
|
||||
|
||||
Binary file not shown.
Binary file not shown.
1
BWPMModelsWebForm/obj/Debug/net5.0/_IsIncrementalBuild
Normal file
1
BWPMModelsWebForm/obj/Debug/net5.0/_IsIncrementalBuild
Normal file
@@ -0,0 +1 @@
|
||||
obj\Debug\net5.0\\_IsIncrementalBuild
|
||||
@@ -9,6 +9,7 @@
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\Steafn Hutter lokal\\.nuget\\packages\\": {},
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {},
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\": {}
|
||||
},
|
||||
"project": {
|
||||
@@ -21,10 +22,12 @@
|
||||
"outputPath": "E:\\Software-Projekte\\Lehrlingsparcours\\Core\\BWPM\\BWPMModelsWebForm\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Steafn Hutter lokal\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
|
||||
],
|
||||
@@ -35,8 +38,8 @@
|
||||
"C:\\Program Files (x86)\\FastReports\\FastReport.Net\\Nugets": {},
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"http://nuget.grapecity.com/nuget": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
"E:\\Software-Projekte\\_NugetPackages": {},
|
||||
"http://nuget.grapecity.com/nuget": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net5.0": {
|
||||
@@ -59,7 +62,8 @@
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48"
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
@@ -68,8 +72,16 @@
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.100\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.202\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"logs": [
|
||||
{
|
||||
"code": "NU1803",
|
||||
"level": "Warning",
|
||||
"warningLevel": 1,
|
||||
"message": "You are running the 'restore' operation with an 'HTTP' source, 'http://nuget.grapecity.com/nuget'. Non-HTTPS access will be removed in a future version. Consider migrating to an 'HTTPS' source."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,8 +1,15 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "dBlNtUEYBto+jR9w1PEut5BOhwJXft1mp+1kBwd07zyvYnRPwmfcKwbA69t1ej9iCmaGojWXen+98zcpsZBdGA==",
|
||||
"dgSpecHash": "MH+Jtg8D1nuF3kXLkyaVQdjNZeh62pdhtenhvegONmfkqrPP7kZGZy++05p/8c23ixWH3p0JkIhgCoxQQN7Leg==",
|
||||
"success": true,
|
||||
"projectFilePath": "E:\\Software-Projekte\\Lehrlingsparcours\\Core\\BWPM\\BWPMModelsWebForm\\BWPMModelsWebForm.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
"logs": [
|
||||
{
|
||||
"code": "NU1803",
|
||||
"level": "Warning",
|
||||
"warningLevel": 1,
|
||||
"message": "You are running the 'restore' operation with an 'HTTP' source, 'http://nuget.grapecity.com/nuget'. Non-HTTPS access will be removed in a future version. Consider migrating to an 'HTTPS' source."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<UserSecretsId>b42c85b7-be12-4985-a19a-d4d5d80d37fb</UserSecretsId>
|
||||
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
||||
<AssemblyName>BlazorApp</AssemblyName>
|
||||
|
||||
@@ -17,6 +17,7 @@ namespace BlazorApp.Controller
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabledata("Select * from Beruf", false, true);
|
||||
//dbh.dsdaten.Tables[0].WriteXml("n:\\berufe.xml");
|
||||
return dbh.ConvertDataTable<Beruf>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
|
||||
|
||||
@@ -102,6 +102,17 @@ namespace BlazorApp.Controller
|
||||
}
|
||||
}
|
||||
|
||||
public static Boolean Has_Dublicates(int SchuelerID)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabledata("SELECT berufid, COUNT(*) FROM SchuelerBeruf where aktiv=1 and schuelerID="+SchuelerID.ToString()+" GROUP BY berufID HAVING COUNT(*) > 1" , false, true);
|
||||
if (dbh.dsdaten.Tables[0].Rows.Count > 0)
|
||||
{ return true; }
|
||||
else
|
||||
{ return false; }
|
||||
|
||||
}
|
||||
|
||||
public static int POST(SchuelerBeruf SchuelerBerufdata)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
|
||||
@@ -19,6 +19,12 @@ namespace BlazorApp.Controller
|
||||
dbh.Get_Tabledata("Select * from Schueler", false, true);
|
||||
return dbh.ConvertDataTable<Schueler>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
public static List<Schueler> GetAllActiveData()
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabledata("Select * from Schueler where aktiv=1", false, true);
|
||||
return dbh.ConvertDataTable<Schueler>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
|
||||
public static List<Schueler> GetByID(int ID)
|
||||
{
|
||||
|
||||
148
BlazorApp/Controller/Schueler/ZuteilungController.cs
Normal file
148
BlazorApp/Controller/Schueler/ZuteilungController.cs
Normal file
@@ -0,0 +1,148 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BWPMModels;
|
||||
using BlazorApp.Helper;
|
||||
using Newtonsoft.Json;
|
||||
using System.Data;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System.Net.NetworkInformation;
|
||||
|
||||
namespace BlazorApp.Controller
|
||||
{
|
||||
public class ZuteilungController : ControllerBase
|
||||
{
|
||||
public static List<Zuteilung> GetAllData()
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabledata("Select * from Zuteilung", false, true);
|
||||
return dbh.ConvertDataTable<Zuteilung>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
public static List<Zuteilung> GetByID(int ID)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabledata("Select * from Zuteilung where id=" + ID.ToString(), false, true);
|
||||
return dbh.ConvertDataTable<Zuteilung>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
public static List<ZuteilungView> GetZuteilungBySchuelerID(int ID)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabledata("Select * from View_Schuelerzuteilung where schuelerid=" + ID.ToString() + " order by prioritaet", false, true);
|
||||
return dbh.ConvertDataTable<ZuteilungView>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
|
||||
public static List<View_Zuteilung> GetZuteilungen(string SchuelerNr, string BerufID)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabledata("Select * from View_Zugeteilt where BerufID=" + BerufID + " and id<>" + SchuelerNr, false, true);
|
||||
return dbh.ConvertDataTable<View_Zuteilung>(dbh.dsdaten.Tables[0]);
|
||||
|
||||
}
|
||||
public static List<Zuteilung> GetLast()
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabledata("Select top 1 * from Zuteilung order by mutiert_am desc", false, true);
|
||||
return dbh.ConvertDataTable<Zuteilung>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
public static List<Zuteilung> GetLastByMutierer(string Mutierer)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabledata("Select top 1 * from Zuteilung where mutierer='" + Mutierer + "' order by mutiert_am desc", false, true);
|
||||
return dbh.ConvertDataTable<Zuteilung>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
public static List<Zuteilung> GetbyUserSQL(string SQL)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabledata(SQL, false, true);
|
||||
return dbh.ConvertDataTable<Zuteilung>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
public static int POST(Zuteilung Zuteilungdata)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabeldata_for_Update("Select top 1 * from [Zuteilung] where id=-1", false, true);
|
||||
DataRow dr = dbh.dsdaten.Tables[0].NewRow();
|
||||
Zuteilungdata.GetType().GetProperties().ToList().ForEach(f =>
|
||||
{
|
||||
try
|
||||
{
|
||||
if (f.PropertyType == typeof(DateTime))
|
||||
{
|
||||
dr[f.Name] = (DateTime)f.GetValue(Zuteilungdata, null);
|
||||
}
|
||||
else
|
||||
{
|
||||
dr[f.Name] = f.GetValue(Zuteilungdata, null);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string s = ex.Message;
|
||||
}
|
||||
});
|
||||
dbh.dsdaten.Tables[0].Rows.Add(dr);
|
||||
dbh.Update_Tabeldata();
|
||||
List<Zuteilung> tmplst = GetLastByMutierer(Zuteilungdata.mutierer);
|
||||
return tmplst.First<Zuteilung>().ID;
|
||||
}
|
||||
public static void PUT(Zuteilung Zuteilungdata)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabeldata_for_Update("Select top 1 * from [Zuteilung] where id=" + Zuteilungdata.ID.ToString(), false, true);
|
||||
DataRow dr = dbh.dsdaten.Tables[0].Rows[0];
|
||||
Zuteilungdata.GetType().GetProperties().ToList().ForEach(f =>
|
||||
{
|
||||
try
|
||||
{
|
||||
if (f.PropertyType == typeof(DateTime))
|
||||
{
|
||||
dr[f.Name] = (DateTime)f.GetValue(Zuteilungdata, null);
|
||||
}
|
||||
else
|
||||
{
|
||||
dr[f.Name] = f.GetValue(Zuteilungdata, null);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string s = ex.Message;
|
||||
}
|
||||
});
|
||||
dbh.Update_Tabeldata();
|
||||
}
|
||||
public static void DELETE(Zuteilung Zuteilungdata)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Get_Tabeldata_for_Update("delete from [Zuteilung] where id=" + Zuteilungdata.ID.ToString(), false, true);
|
||||
}
|
||||
|
||||
public static void Inaktivate(int ZuteilungID, string mutierer)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Exec_SQL("update zuteilung set aktiv=0, mutierer='" + mutierer + "', mutiert_am=getdate() where ID=" + ZuteilungID.ToString());
|
||||
}
|
||||
|
||||
public static List<View_Offene_Plaetze> GetOffenePlaetze(int Berufid, int KlasseTypID)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.add_sp_param("berufnr", Berufid.ToString());
|
||||
dbh.add_sp_param("klassentyp", KlasseTypID.ToString());
|
||||
|
||||
dbh.Get_Tabledata("get_offene_plaetze", true, false);
|
||||
return dbh.ConvertDataTable<View_Offene_Plaetze>(dbh.dsdaten.Tables[0]);
|
||||
}
|
||||
|
||||
public static void insert_zuteilung(int schuelerid, int berufid)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.add_sp_param("schuelerid", schuelerid.ToString());
|
||||
dbh.add_sp_param("berufid", berufid.ToString());
|
||||
|
||||
dbh.Get_Tabledata("Zuteilung_Manuell", true, false);
|
||||
}
|
||||
|
||||
//public static Zuteilen(int firmaberufid, int schuelerid)
|
||||
//{
|
||||
|
||||
//}
|
||||
}
|
||||
}
|
||||
BIN
BlazorApp/DPMModel.dll
Normal file
BIN
BlazorApp/DPMModel.dll
Normal file
Binary file not shown.
@@ -58,7 +58,7 @@ namespace BlazorApp
|
||||
|
||||
MenuItem[] AdminMenu = new[] {
|
||||
new MenuItem()
|
||||
{ Name = "Home", Path = "/", Icon = "home" },
|
||||
{ Name = "Home", Path = "/Admin/Dashboard", Icon = "home" },
|
||||
new MenuItem()
|
||||
{ Name = "Dashboard", Path = "/Admin/Dashboard", Icon = "dashboard" },
|
||||
new MenuItem()
|
||||
@@ -68,6 +68,8 @@ namespace BlazorApp
|
||||
|
||||
new MenuItem()
|
||||
{ Name = "Schüler", Path = "/Admin/Student/Student", Icon = "accessibility" },
|
||||
//new MenuItem()
|
||||
// { Name = "Schülera", Path = "/Admin/Student/Student_sik", Icon = "accessibility" },
|
||||
new MenuItem()
|
||||
{ Name = "Zuteilung", Path = "/Admin/Zuteilung/Zuteilung", Icon = "grade" },
|
||||
new MenuItem()
|
||||
@@ -101,6 +103,7 @@ namespace BlazorApp
|
||||
{
|
||||
new MenuItem() {Name="Definition",Path = "Admin/Reporting/Defintion"},
|
||||
new MenuItem() {Name="Dokumente",Path = "Admin/Reporting/Dokumente"},
|
||||
new MenuItem() {Name="Berufliste",Path = "Reporting/Reporting/2"},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -108,7 +111,7 @@ namespace BlazorApp
|
||||
new MenuItem()
|
||||
{
|
||||
Name = "Schulhaus",
|
||||
Path = "User/Userlist"
|
||||
Path = "Admin/User/Userlist"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -121,7 +121,19 @@ namespace BlazorApp.Helper
|
||||
return dsdaten.Tables[0];
|
||||
}
|
||||
|
||||
public void Exec_SQL(string sql)
|
||||
{
|
||||
SqlConnection sqlconnect = new SqlConnection();
|
||||
SqlCommand sqlcmd = new SqlCommand();
|
||||
sqlcmd.Connection = sqlconnect;
|
||||
sqlconnect.ConnectionString = this.connectionstring;
|
||||
sqlcmd.CommandType = CommandType.Text;
|
||||
sqlcmd.CommandText = sql;
|
||||
sqlcmd.Connection.Open();
|
||||
sqlcmd.ExecuteNonQuery();
|
||||
sqlcmd.Connection.Close();
|
||||
|
||||
}
|
||||
public void Get_Tabeldata_for_Update(string Tablename, bool StoredProc = false, bool is_SQL_String = false)
|
||||
{
|
||||
dsdaten.Clear();
|
||||
@@ -317,5 +329,27 @@ namespace BlazorApp.Helper
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region "Administration"
|
||||
public string Zuteilen(int typ)
|
||||
{
|
||||
SqlConnection sqlconnect = new SqlConnection();
|
||||
DataSet ds = new DataSet();
|
||||
ds.Tables.Clear();
|
||||
sqlconnect.ConnectionString = this.connectionstring;
|
||||
sqlconnect.Open();
|
||||
SqlDataAdapter da = new SqlDataAdapter("", sqlconnect);
|
||||
SqlCommand sqlcmd = new SqlCommand();
|
||||
sqlcmd.Connection = sqlconnect;
|
||||
sqlcmd.CommandType = CommandType.StoredProcedure;
|
||||
sqlcmd.CommandText = "dbo.zuteilung_durchfuehren";
|
||||
sqlcmd.Parameters.Add("@typ", SqlDbType.Int);
|
||||
sqlcmd.Parameters[0].Value = typ;
|
||||
sqlcmd.ExecuteNonQuery();
|
||||
return "";
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
54
BlazorApp/Pages/Admin/Dashboard/Dashboard.razor
Normal file
54
BlazorApp/Pages/Admin/Dashboard/Dashboard.razor
Normal file
@@ -0,0 +1,54 @@
|
||||
@page "/Admin/Dashboard"
|
||||
|
||||
@inject NavigationManager NavManager
|
||||
@using System.ComponentModel.DataAnnotations
|
||||
@using BWPMModels;
|
||||
@*<h3><b>Übersicht</b></h3>
|
||||
<p></p>*@
|
||||
<style>
|
||||
.e-icons {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.e-search:before {
|
||||
content: '\e993';
|
||||
}
|
||||
|
||||
.e-upload:before {
|
||||
content: '\e725';
|
||||
}
|
||||
|
||||
.e-companylist:before {
|
||||
content: '\e71f';
|
||||
}
|
||||
|
||||
.e-font:before {
|
||||
content: '\e34c';
|
||||
}
|
||||
|
||||
.e-plus-icon::before {
|
||||
content: '\e78f';
|
||||
}
|
||||
|
||||
.e-pager {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.btn {
|
||||
border-radius: 0;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
@* background-color: #007BFF; *@
|
||||
}
|
||||
|
||||
.e-copy::before {
|
||||
content: '\e77b';
|
||||
}
|
||||
|
||||
.e-btn.e-icon-btn {
|
||||
padding: initial;
|
||||
}
|
||||
</style>
|
||||
@code {
|
||||
|
||||
}
|
||||
95
BlazorApp/Pages/Admin/Student/Berufswunsch.razor
Normal file
95
BlazorApp/Pages/Admin/Student/Berufswunsch.razor
Normal file
@@ -0,0 +1,95 @@
|
||||
@using System.ComponentModel.DataAnnotations
|
||||
@using Syncfusion.Blazor.Grids;
|
||||
@using Syncfusion.Blazor.Buttons;
|
||||
@using Syncfusion.Blazor.Spinner;
|
||||
@using Syncfusion.Blazor.Navigations;
|
||||
@using Syncfusion.Blazor.Popups;
|
||||
@using Syncfusion.Blazor.DropDowns
|
||||
@using BlazorApp.Helper
|
||||
@using BWPMModels
|
||||
<div class="row">
|
||||
<div class="col-md-4" @ondblclick="InsertBeruf">
|
||||
<h6>Berufe</h6>
|
||||
<SfListBox @bind-Value=@BerufID TValue="string[]" DataSource="@berufe" @ref="Berufsliste" TItem="Beruf" Height="250px">
|
||||
<ListBoxSelectionSettings Mode="Syncfusion.Blazor.DropDowns.SelectionMode.Single" ShowCheckbox="false"></ListBoxSelectionSettings>
|
||||
<ListBoxFieldSettings Text="bezeichnung" Value="id" />
|
||||
|
||||
</SfListBox>
|
||||
<SfButton OnClick="InsertBeruf">Beruf auswählen</SfButton>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<h6>Gewählte Berufe</h6>
|
||||
<BlazorApp.Pages.Shared.BerufswunschListe AllowUpdates="true" @ref="BWL" OnGridClicked="OnGridClicked1"></BlazorApp.Pages.Shared.BerufswunschListe>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
|
||||
public string userid { get; set; } = "";
|
||||
|
||||
|
||||
BlazorApp.Pages.Shared.BerufswunschListe BWL { get; set; }
|
||||
public int SchuelerID = 0;
|
||||
public bool ShowDeleteConfirmation { get; set; } = false;
|
||||
|
||||
public string DialogHeader { get; set; } = "";
|
||||
public string DialogText { get; set; } = "";
|
||||
public bool DialogShowYesNO { get; set; } = true;
|
||||
|
||||
//public int BerufID;
|
||||
//public List<BWPMModels.Beruf> berufe { get; set; } = BlazorApp.Controller.BerufController.GetBerufsangebot();
|
||||
SfGrid<SchuelerBeruf> Grid { get; set; }
|
||||
public List<BWPMModels.SchuelerBeruf> GridData { get; set; }
|
||||
|
||||
public string berufhinweis = "";
|
||||
public bool ContinuePaging = true;
|
||||
public int foundrow = 0;
|
||||
public int Value = 0;
|
||||
|
||||
public string[] BerufID;
|
||||
SfListBox<string[], Beruf> Berufsliste { get; set; }
|
||||
public List<Beruf> berufe = new List<Beruf>();
|
||||
public List<BWPMModels.Beruf> _berufe { get; set; } = BlazorApp.Controller.BerufController.GetBerufsangebot();
|
||||
public class Beruf
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string bezeichnung { get; set; }
|
||||
}
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
foreach (BWPMModels.Beruf item in _berufe)
|
||||
{
|
||||
Beruf be = new Beruf();
|
||||
be.id = item.ID;
|
||||
be.bezeichnung = item.bezeichnung;
|
||||
berufe.Add(be);
|
||||
}
|
||||
}
|
||||
|
||||
public void ReloadData(string SchuelerID)
|
||||
{
|
||||
BWL.userid = userid;
|
||||
BWL.ReloadData(Convert.ToInt32(SchuelerID));
|
||||
}
|
||||
|
||||
private void InsertBeruf()
|
||||
{
|
||||
BWPMModels.SchuelerBeruf sberuf = new BWPMModels.SchuelerBeruf();
|
||||
sberuf.aktiv = true;
|
||||
sberuf.bemerkung = "";
|
||||
sberuf.berufID = Convert.ToInt32(BerufID[0]);
|
||||
sberuf.erstellt_am = DateTime.Now;
|
||||
sberuf.mutiert_am = DateTime.Now;
|
||||
sberuf.mutierer = userid;
|
||||
sberuf.schuelerID = Convert.ToInt32(SchuelerID);
|
||||
int prio = BlazorApp.Controller.SchuelerBerufController.Get_Prio(Convert.ToInt32(SchuelerID));
|
||||
sberuf.prioritaet = prio + 1;
|
||||
BlazorApp.Controller.SchuelerBerufController.POST(sberuf);
|
||||
BWL.ReloadData(Convert.ToInt32(SchuelerID));
|
||||
}
|
||||
|
||||
private void OnGridClicked1(string Berufid)
|
||||
{ }
|
||||
}
|
||||
@@ -25,22 +25,21 @@
|
||||
</h6>
|
||||
<div class="card-body">
|
||||
Klasse
|
||||
<RadzenDropDown AllowClear="true" TValue="string" @bind-Value=@KlasseID
|
||||
Data=@intKlasse
|
||||
Change=@(args => OnChange(args, "DropDown")) TextProperty="bezeichnung" ValueProperty="id" />
|
||||
<BlazorApp.Pages.Shared.KlasseList @ref="KlasseList" OnKlasseChanged="KlasseChanged"></BlazorApp.Pages.Shared.KlasseList>
|
||||
Lehrer
|
||||
<RadzenDropDown AllowClear="true" TValue="string" @bind-Value=@LehrerID
|
||||
Data=@intLehrer
|
||||
Change=@(args => OnChange(args, "DropDown")) TextProperty="bezeichnung" ValueProperty="id" />
|
||||
<BlazorApp.Pages.Shared.LehrerList @ref="LehrerList" OnLehrerChanged="LehrerChanged"></BlazorApp.Pages.Shared.LehrerList>
|
||||
<SfCheckBox Label="Alle Schüler" @bind-Checked="alleschueler" @onchange="onAlleSchuelerChange"> ></SfCheckBox>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class="card">
|
||||
<h6 class="card-header">
|
||||
Schüler
|
||||
<input type="hidden" @bind="UID">
|
||||
</h6>
|
||||
<div class="card-body">
|
||||
<RadzenListBox @bind-Value=@SchuelerID Data=@schuelerliste TextProperty="bezeichnung" ValueProperty="id" Style="height:350px" Change=@(args => SchuelerChange(args, "schuelerlist")) />
|
||||
<BlazorApp.Pages.Shared.SchuelerList @ref="SchuelerList" OnSchuelerChanged="SchuelerChanged"></BlazorApp.Pages.Shared.SchuelerList>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -50,638 +49,167 @@
|
||||
<AccordionItem>
|
||||
<HeaderTemplate><h4>Schüler-Daten</h4></HeaderTemplate>
|
||||
<ContentTemplate>
|
||||
@*<div class="row">
|
||||
<SfButton IsPrimary="true" OnClick="@(() => NewClick())">Neuer Schüler</SfButton>
|
||||
</div>*@
|
||||
<hr />
|
||||
<EditForm Model="_schueler" OnValidSubmit="@Submit" OnInvalidSubmit="@InvalidSubmit">
|
||||
<input type="hidden" id="hiddenschuelerid" name="hiddenschuelerid" @bind="_schueler.ID">
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
|
||||
Name
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<InputText id="Name" class="form-control" @bind-Value="_schueler.name" placeholder="Nachname" disabled="@FieldDisabled" />
|
||||
<ValidationMessage For="@(() => _schueler.name)" />
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
|
||||
Vorname
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
|
||||
<InputText id="Vorname" class="form-control" @bind-Value="_schueler.vorname" placeholder="Vorname" disabled="@FieldDisabled" />
|
||||
<ValidationMessage For="@(() => _schueler.name)" />
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
|
||||
Bemerkung
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<InputText id="Bemerkung" class="form-control" @bind-Value="_schueler.bemerkung" placeholder="Bemerkung" disabled="@FieldDisabled" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
Klasse
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<RadzenDropDown AllowClear="true" TValue="string" @bind-Value=@SchuelerklasseID
|
||||
Data=@Schuelerklasse
|
||||
TextProperty="bezeichnung" ValueProperty="id" />
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
Typ
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<SfDropDownList @bind-Value="@KlasseTypID" TValue="string" TItem="Klassentyp" Placeholder="Klassentyp" DataSource="@klassentyp" Enabled="@DropDownEnabled">
|
||||
<DropDownListFieldSettings Value="ID" Text="bezeichnung"></DropDownListFieldSettings>
|
||||
</SfDropDownList>
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<br />
|
||||
|
||||
</EditForm>
|
||||
@* <div class="row">
|
||||
<SfButton Disabled="@FieldDisabled" IsPrimary="true" OnClick="@(() => SaveClick())">Änderungen speichern</SfButton>
|
||||
<SfButton Disabled="@FieldDisabled" IsPrimary="true" OnClick="@(() => DeleteClick())">Schüler löschen</SfButton>
|
||||
</div>*@
|
||||
|
||||
|
||||
<StudentEdit @ref="StudentEdit" iSchuelerID="@ISchuelerID"></StudentEdit>
|
||||
|
||||
</ContentTemplate>
|
||||
</AccordionItem>
|
||||
<AccordionItem>
|
||||
<HeaderTemplate><h4>Berufswünsche</h4></HeaderTemplate>
|
||||
<ContentTemplate>
|
||||
<div class="row">
|
||||
@* <div class="col-md-4">
|
||||
<RadzenListBox @bind-Value=@BerufID Data=@berufe TextProperty="bezeichnung" ValueProperty="ID" Style="height:250px" />
|
||||
<br />
|
||||
<RadzenButton style="margin: 0 1rem 1rem 0" Click=@(args => InsertBeruf()) Text="Beruf zuordnen" ButtonStyle="ButtonStyle.Secondary" />
|
||||
</div>
|
||||
*@ <div class="col-md-8">
|
||||
<SfGrid ID="Grid3" DataSource="@GridData" @ref="Grid" AllowPaging="false" AllowSorting="true" Toolbar="@(new List<string>() { "Edit", "Delete" })">
|
||||
<GridPageSettings PageCount="5" PageSizes="true"></GridPageSettings>
|
||||
<GridEditSettings AllowAdding="true" AllowDeleting="true" AllowEditing="true" Mode="EditMode.Dialog"></GridEditSettings>
|
||||
<GridEvents OnActionBegin="OnBeginHandler" OnActionComplete="OnCompletedHandler" TValue="SchuelerBeruf" OnDataBound="RowDataBoundHandler"></GridEvents>
|
||||
<GridColumns>
|
||||
<GridColumn Type="ColumnType.CheckBox" AllowFiltering="false" AllowSorting="false" Width="60"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.ID) HeaderText="Id" IsPrimaryKey="true" AllowAdding="false" Visible="false" Width="60"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.schuelerID) HeaderText="Schuelerid" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridForeignColumn Field=@nameof(SchuelerBeruf.berufID) HeaderText="Beruf" ForeignKeyField="ID" ForeignKeyValue="bezeichnung" ForeignDataSource="@berufe" Width="150"></GridForeignColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.bemerkung) HeaderText="Bemerkung" Width="100" Visible="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.prioritaet) HeaderText="Prioritaet" Width="100" Visible="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.aktiv) HeaderText="Aktiv" Width="100" Visible="false" DisplayAsCheckBox="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.erstellt_am) HeaderText="Erstellt_am" Width="100" Visible="false" Format="d" Type="ColumnType.Date"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mutiert_am) HeaderText="Mutiert_am" Width="100" Visible="false" Format="d" Type="ColumnType.Date"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mutierer) HeaderText="Mutierer" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mandantnr) HeaderText="Mandantnr" Width="100" Visible="false"></GridColumn>
|
||||
</GridColumns>
|
||||
</SfGrid>
|
||||
<div class="container">
|
||||
<h2></h2>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body" style="color:red">@((MarkupString)berufhinweis)</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Berufswunsch @ref="Berufswunsch"></Berufswunsch>
|
||||
</ContentTemplate>
|
||||
</AccordionItem>
|
||||
<AccordionItem>
|
||||
<HeaderTemplate><h4>Zuteilung</h4></HeaderTemplate>
|
||||
<ContentTemplate>
|
||||
<div class="row">
|
||||
|
||||
<div class="col-sm-4">
|
||||
<h4>Berufswunsch</h4>
|
||||
<SfGrid ID="Grid4" DataSource="@GridData" @ref="Grid" AllowPaging="false" AllowSorting="true" >
|
||||
<GridPageSettings PageCount="5" PageSizes="true"></GridPageSettings>
|
||||
<GridEditSettings AllowAdding="false" AllowDeleting="false" AllowEditing="false" Mode="EditMode.Dialog"></GridEditSettings>
|
||||
<GridEvents OnActionBegin="OnBeginHandler" OnActionComplete="OnCompletedHandler" TValue="SchuelerBeruf" OnDataBound="RowDataBoundHandler"></GridEvents>
|
||||
<GridColumns>
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.ID) HeaderText="Id" IsPrimaryKey="true" AllowAdding="false" Visible="false" Width="60"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.schuelerID) HeaderText="Schuelerid" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridForeignColumn Field=@nameof(SchuelerBeruf.berufID) HeaderText="Beruf" ForeignKeyField="ID" ForeignKeyValue="bezeichnung" ForeignDataSource="@berufe" Width="100"></GridForeignColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.bemerkung) HeaderText="Bemerkung" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.prioritaet) HeaderText="Prioritaet" Width="80" Visible="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.aktiv) HeaderText="Aktiv" Width="100" Visible="false" DisplayAsCheckBox="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.erstellt_am) HeaderText="Erstellt_am" Width="100" Visible="false" Format="d" Type="ColumnType.Date"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mutiert_am) HeaderText="Mutiert_am" Width="100" Visible="false" Format="d" Type="ColumnType.Date"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mutierer) HeaderText="Mutierer" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mandantnr) HeaderText="Mandantnr" Width="100" Visible="false"></GridColumn>
|
||||
</GridColumns>
|
||||
</SfGrid>
|
||||
<h6>Berufswahl</h6>
|
||||
<BlazorApp.Pages.Shared.BerufswunschListe AllowUpdates="false" @ref="BerufswunschListe" OnGridClicked="Refresh_OP"></BlazorApp.Pages.Shared.BerufswunschListe>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<h4>Zuteilung</h4>
|
||||
<SfGrid ID="Grid5" DataSource="@GridData" @ref="Grid" AllowPaging="false" AllowSorting="true" Toolbar="@(new List<string>() { "Edit", "Delete" })">
|
||||
<GridPageSettings PageCount="5" PageSizes="true"></GridPageSettings>
|
||||
<GridEditSettings AllowAdding="false" AllowDeleting="false" AllowEditing="false" Mode="EditMode.Dialog"></GridEditSettings>
|
||||
<GridEvents OnActionBegin="OnBeginHandler" OnActionComplete="OnCompletedHandler" TValue="SchuelerBeruf" OnDataBound="RowDataBoundHandler"></GridEvents>
|
||||
<GridColumns>
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.ID) HeaderText="Id" IsPrimaryKey="true" AllowAdding="false" Visible="false" Width="60"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.schuelerID) HeaderText="Schuelerid" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridForeignColumn Field=@nameof(SchuelerBeruf.berufID) HeaderText="Beruf" ForeignKeyField="ID" ForeignKeyValue="bezeichnung" ForeignDataSource="@berufe" Width="100"></GridForeignColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.bemerkung) HeaderText="Bemerkung" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.prioritaet) HeaderText="Prioritaet" Width="80" Visible="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.aktiv) HeaderText="Aktiv" Width="100" Visible="false" DisplayAsCheckBox="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.erstellt_am) HeaderText="Erstellt_am" Width="100" Visible="false" Format="d" Type="ColumnType.Date"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mutiert_am) HeaderText="Mutiert_am" Width="100" Visible="false" Format="d" Type="ColumnType.Date"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mutierer) HeaderText="Mutierer" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mandantnr) HeaderText="Mandantnr" Width="100" Visible="false"></GridColumn>
|
||||
</GridColumns>
|
||||
</SfGrid>
|
||||
<h6>Zuteilungen</h6>
|
||||
<BlazorApp.Pages.Admin.Student.Zuteilung @ref="Zuteilung" OnGridClicked="OnGridClicked1"></BlazorApp.Pages.Admin.Student.Zuteilung>
|
||||
<br />
|
||||
<h6>Offene Plätze</h6>
|
||||
<BlazorApp.Pages.Shared.OffenePlaetze @ref="OP" OnGridChanged="OnGridClicked1"></BlazorApp.Pages.Shared.OffenePlaetze>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</AccordionItem>
|
||||
</AccordionItems>
|
||||
</SfAccordion>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
#Grid1.e-grid .e-gridheader .e-columnheader,
|
||||
#Grid3.e-grid .e-gridfooter {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<SfDialog Width="350px" IsModal="true" @bind-Visible="@ShowDeleteConfirmation">
|
||||
<DialogTemplates>
|
||||
<Header>@DialogHeader</Header>
|
||||
<Content>@DialogText</Content>
|
||||
|
||||
</DialogTemplates>
|
||||
<DialogButtons>
|
||||
@if (DialogShowYesNO == true)
|
||||
{
|
||||
<DialogButton Content="Ja" IsPrimary="true" OnClick="@DeleteConfirmed" />
|
||||
<DialogButton Content="Nein" OnClick="@AbortDelete" />
|
||||
}
|
||||
else
|
||||
{
|
||||
<DialogButton Content="OK" IsPrimary="true" OnClick="@DialogConfirmed" />
|
||||
}
|
||||
</DialogButtons>
|
||||
</SfDialog>
|
||||
|
||||
|
||||
@code {
|
||||
public int[] ExpandItems = new int[] { 2 };
|
||||
public string[] sfSchuelerID { get; set; }
|
||||
public string DialogHeader { get; set; } = "";
|
||||
public string DialogText { get; set; } = "";
|
||||
public bool DialogShowYesNO { get; set; } = true;
|
||||
public string berufhinweis = "";
|
||||
public string klassehinweis = "";
|
||||
public string klassehinweiscolor = "red";
|
||||
BlazorApp.Pages.Shared.KlasseList KlasseList { get; set; }
|
||||
BlazorApp.Pages.Shared.LehrerList LehrerList { get; set; }
|
||||
BlazorApp.Pages.Shared.SchuelerList SchuelerList { get; set; }
|
||||
BlazorApp.Pages.Admin.Student.StudentEdit StudentEdit { get; set; }
|
||||
BlazorApp.Pages.Admin.Student.Berufswunsch Berufswunsch { get; set; }
|
||||
BlazorApp.Pages.Shared.BerufswunschListe BerufswunschListe { get; set; }
|
||||
BlazorApp.Pages.Admin.Student.Zuteilung Zuteilung { get; set; }
|
||||
BlazorApp.Pages.Shared.OffenePlaetze OP { get; set; }
|
||||
public int[] ExpandItems = new int[] { 0 };
|
||||
public bool alleschueler = false;
|
||||
|
||||
public bool ShowDeleteConfirmation { get; set; } = false;
|
||||
protected ElementReference ToFocus;
|
||||
public string userid = "";
|
||||
public string UID = "";
|
||||
public string lehrerID = "";
|
||||
public int hiddenschuelerid = 0;
|
||||
public string KlasseID = "0";
|
||||
public string LehrerID = "0";
|
||||
public string SchuelerklasseID = "0";
|
||||
public string KlasseTypID = "0";
|
||||
public string userid;
|
||||
public bool FieldDisabled = true;
|
||||
public bool DropDownEnabled = false;
|
||||
public List<BWPMModels.Klasse> Klasse { get; set; }
|
||||
public List<BWPMModels.Lehrer> Lehrer { get; set; }
|
||||
public List<BWPMModels.Klassentyp> klassentyp { get; set; } = BlazorApp.Controller.KlassentypController.GetAllAktiveData();
|
||||
public List<BWPMModels.Schueler> Schueler { get; set; }
|
||||
private Schueler _schueler { get; set; } = new BWPMModels.Schueler();
|
||||
public List<BWPMModels.Beruf> berufe { get; set; } = BlazorApp.Controller.BerufController.GetBerufsangebot();
|
||||
public string klasseID = "";
|
||||
public string ISchuelerID = "";
|
||||
public string sBerufid = "";
|
||||
#region "Init / AfterRender"
|
||||
|
||||
public List<Schuelerlist> schuelerliste = new List<Schuelerlist>();
|
||||
public List<iKlasse> Schuelerklasse = new List<iKlasse>();
|
||||
public int SchuelerID;
|
||||
public List<iKlasse> intKlasse = new List<iKlasse>();
|
||||
public List<iLehrer> intLehrer = new List<iLehrer>();
|
||||
|
||||
public class iKlasse
|
||||
private void onAlleSchuelerChange(Microsoft.AspNetCore.Components.ChangeEventArgs args)
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string bezeichnung { get; set; }
|
||||
|
||||
}
|
||||
public class iLehrer
|
||||
if (args.Value.ToString() == "True")
|
||||
{ SchuelerList.ReloadData("-1"); }
|
||||
else
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string bezeichnung { get; set; }
|
||||
|
||||
KlasseChanged(KlasseList.GetKlasseID());
|
||||
}
|
||||
|
||||
public class Schuelerlist
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string bezeichnung { get; set; }
|
||||
}
|
||||
//--------------------------------------
|
||||
//Schülerberuf / beruf
|
||||
//--------------------------------------
|
||||
SfGrid<SchuelerBeruf> Grid { get; set; }
|
||||
|
||||
public List<BWPMModels.SchuelerBeruf> GridData { get; set; }
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
public bool Initial { get; set; } = true;
|
||||
public int BerufID;
|
||||
private Lehrer _lehrer { get; set; } = new BWPMModels.Lehrer();
|
||||
public List<BWPMModels.Lehrer> Lehrerdaten { get; set; }
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
|
||||
lehrerID = await sessionStorage.GetItemAsync<string>("LehrerID");
|
||||
ExpandItems = new int[] { 1 };
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
Klasse = BlazorApp.Controller.KlasseController.GetAllActiveData();
|
||||
intKlasse.Clear();
|
||||
foreach (BWPMModels.Klasse item in Klasse)
|
||||
{
|
||||
UID = userid;
|
||||
klasseID = KlasseList.GetKlasseID();
|
||||
lehrerID = LehrerList.GetLehrerID();
|
||||
|
||||
iKlasse kl = new iKlasse();
|
||||
kl.id = item.ID.ToString();
|
||||
kl.bezeichnung = item.bezeichnung;
|
||||
intKlasse.Add(kl);
|
||||
Schuelerklasse.Add(kl);
|
||||
|
||||
};
|
||||
KlasseID = Klasse[0].ID.ToString();
|
||||
|
||||
SchuelerklasseID = Klasse[0].ID.ToString();
|
||||
KlasseTypID = klassentyp[0].ID.ToString();
|
||||
Lehrer = BlazorApp.Controller.LehrerController.GetAllActiveData();
|
||||
intLehrer.Clear();
|
||||
foreach (BWPMModels.Lehrer item in Lehrer)
|
||||
{
|
||||
iLehrer ll = new iLehrer();
|
||||
ll.id = item.ID.ToString();
|
||||
ll.bezeichnung = item.name.ToString() + " " + item.vorname.ToString();
|
||||
intLehrer.Add(ll);
|
||||
}
|
||||
LehrerID = Lehrer[0].ID.ToString();
|
||||
Update_Schueler_Klasse();
|
||||
}
|
||||
|
||||
void OnChange(object value, string name)
|
||||
{
|
||||
KlasseID = value.ToString();
|
||||
Update_Schueler_Klasse();
|
||||
SchuelerChanged(SchuelerList.ReloadData(KlasseList.GetKlasseID()));
|
||||
ExpandItems = new int[] { 2 };
|
||||
SchuelerChanged(SchuelerList.ReloadData(KlasseList.GetKlasseID()));
|
||||
ExpandItems = new int[] { 2 };
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
}
|
||||
//----------------------------------------------------------
|
||||
//Klassenliste / Schuelerliste
|
||||
//----------------------------------------------------------
|
||||
public void ChangeKlasse(Syncfusion.Blazor.DropDowns.ChangeEventArgs<string, Klasse> args)
|
||||
{
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
Update_Schueler_Klasse();
|
||||
}
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
var userId = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
|
||||
public void Update_Schueler_Klasse()
|
||||
{
|
||||
UpdateSchulerliste();
|
||||
pruefung_klasse();
|
||||
}
|
||||
|
||||
public void UpdateSchulerliste()
|
||||
{
|
||||
Schueler = BlazorApp.Controller.SchuelerController.GetByKlasseID(Convert.ToInt32(KlasseID));
|
||||
|
||||
schuelerliste.Clear();
|
||||
|
||||
int newschuelerid = 0;
|
||||
bool found = false;
|
||||
foreach (BWPMModels.Schueler item in Schueler)
|
||||
{
|
||||
Schuelerlist sl = new Schuelerlist();
|
||||
sl.id = item.ID;
|
||||
if (newschuelerid == 0) { newschuelerid = sl.id; };
|
||||
if (SchuelerID == sl.id) { found = true; }
|
||||
sl.bezeichnung = item.name + " " + item.vorname;
|
||||
schuelerliste.Add(sl);
|
||||
};
|
||||
if (found != true)
|
||||
{
|
||||
FieldDisabled = true;
|
||||
DropDownEnabled = false;
|
||||
SchuelerID = -1;
|
||||
SchuelerID = newschuelerid;
|
||||
if (schuelerliste.Count > 0) { SchuelerSelected(); }
|
||||
}
|
||||
|
||||
pruefung_klasse();
|
||||
}
|
||||
private void SchuelerChange(object value, string name)
|
||||
{
|
||||
var str = value is IEnumerable<object> ? string.Join(", ", (IEnumerable<object>)value) : value;
|
||||
SchuelerSelected();
|
||||
}
|
||||
private void SchuelerSelected()
|
||||
{
|
||||
Schueler = BlazorApp.Controller.SchuelerController.GetByID(Convert.ToInt32(SchuelerID));
|
||||
_schueler = Schueler.First<BWPMModels.Schueler>();
|
||||
SchuelerklasseID = _schueler.klasseID.ToString();
|
||||
KlasseTypID = _schueler.klassemtypID.ToString();
|
||||
FieldDisabled = false;
|
||||
DropDownEnabled = true;
|
||||
update_griddata();
|
||||
pruefung();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------
|
||||
//Schüler-Formular
|
||||
//----------------------------------------------------------
|
||||
|
||||
public void Submit()
|
||||
{
|
||||
BlazorApp.Controller.SchuelerController.PUT(_schueler);
|
||||
}
|
||||
public void InvalidSubmit()
|
||||
{
|
||||
}
|
||||
|
||||
private void SaveClick()
|
||||
{
|
||||
Schueler _tmpschueler = new BWPMModels.Schueler();
|
||||
_tmpschueler = BlazorApp.Controller.SchuelerController.GetByID(_schueler.ID).First<BWPMModels.Schueler>();
|
||||
_tmpschueler.name = _schueler.name;
|
||||
_tmpschueler.vorname = _schueler.vorname;
|
||||
_tmpschueler.bemerkung = _schueler.bemerkung;
|
||||
_tmpschueler.klasseID = Convert.ToInt32(SchuelerklasseID);
|
||||
_tmpschueler.klassemtypID = Convert.ToInt32(KlasseTypID);
|
||||
BlazorApp.Controller.SchuelerController.PUT(_tmpschueler);
|
||||
UpdateSchulerliste();
|
||||
}
|
||||
|
||||
private void NewClick()
|
||||
{
|
||||
int schuelerid = 0;
|
||||
BWPMModels.Schueler schuelerdata = new Schueler();
|
||||
schuelerdata.aktiv = true;
|
||||
schuelerdata.erstellt_am = DateTime.Now;
|
||||
schuelerdata.mutiert_am = DateTime.Now;
|
||||
schuelerdata.mutierer = userid;
|
||||
schuelerdata.name = "Neuer Schüler";
|
||||
schuelerdata.vorname = "";
|
||||
schuelerdata.bemerkung = "";
|
||||
schuelerdata.klasseID = Convert.ToInt32(KlasseID);
|
||||
schuelerdata.klassemtypID = Convert.ToInt32(KlasseTypID);
|
||||
schuelerid = BlazorApp.Controller.SchuelerController.POST(schuelerdata);
|
||||
FieldDisabled = false;
|
||||
DropDownEnabled = true;
|
||||
UpdateSchulerliste();
|
||||
SchuelerID = schuelerid;
|
||||
SchuelerSelected();
|
||||
jsRuntime.InvokeVoidAsync("SetFocusToElement", ToFocus);
|
||||
|
||||
}
|
||||
private void DeleteClick()
|
||||
{
|
||||
DialogHeader = "Löschbestätigung";
|
||||
DialogText = "Schüler '" + _schueler.name + ' ' + _schueler.vorname + "' wirklich löschen?'";
|
||||
DialogShowYesNO = true;
|
||||
ShowDeleteConfirmation = true;
|
||||
}
|
||||
|
||||
private void DeleteConfirmed()
|
||||
{
|
||||
_schueler.aktiv = false;
|
||||
_schueler.mutierer = userid;
|
||||
_schueler.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.SchuelerController.PUT(_schueler);
|
||||
BlazorApp.Controller.SchuelerBerufController.DeleteBerufswunsch(_schueler.ID, userid);
|
||||
ShowDeleteConfirmation = false;
|
||||
UpdateSchulerliste();
|
||||
}
|
||||
|
||||
private void AbortDelete()
|
||||
{
|
||||
ShowDeleteConfirmation = false;
|
||||
}
|
||||
private void DialogConfirmed()
|
||||
{
|
||||
ShowDeleteConfirmation = false;
|
||||
}
|
||||
//--------------------------------------
|
||||
//SchülerBeruf / Beruf
|
||||
//--------------------------------------
|
||||
private void InsertBeruf()
|
||||
{
|
||||
if (SchuelerID == 0)
|
||||
{
|
||||
DialogHeader = "Daten unvollständig";
|
||||
DialogText = "Bitte zuerst einen Schüler auswählen!";
|
||||
DialogShowYesNO = false;
|
||||
ShowDeleteConfirmation = true;
|
||||
return;
|
||||
}
|
||||
if (BerufID == 0)
|
||||
{
|
||||
DialogHeader = "Daten unvollständig";
|
||||
DialogText = "Bitte zuerst einen Beruf auswählen!";
|
||||
DialogShowYesNO = false;
|
||||
ShowDeleteConfirmation = true;
|
||||
return;
|
||||
}
|
||||
ShowDeleteConfirmation = false;
|
||||
BWPMModels.SchuelerBeruf sberuf = new BWPMModels.SchuelerBeruf();
|
||||
sberuf.aktiv = true;
|
||||
sberuf.bemerkung = "";
|
||||
sberuf.berufID = BerufID;
|
||||
sberuf.erstellt_am = DateTime.Now;
|
||||
sberuf.mutiert_am = DateTime.Now;
|
||||
sberuf.mutierer = userid;
|
||||
sberuf.schuelerID = SchuelerID;
|
||||
int prio = BlazorApp.Controller.SchuelerBerufController.Get_Prio(SchuelerID);
|
||||
sberuf.prioritaet = prio + 1;
|
||||
BlazorApp.Controller.SchuelerBerufController.POST(sberuf);
|
||||
update_griddata();
|
||||
pruefung();
|
||||
}
|
||||
|
||||
private void update_griddata()
|
||||
{
|
||||
GridData = BlazorApp.Controller.SchuelerBerufController.GetBySchuelerID(SchuelerID);
|
||||
}
|
||||
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.SchuelerBeruf> Args)
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
Args.Data.erstellt_am = DateTime.Now;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.SchuelerBerufController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
pruefung();
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.SchuelerBerufController.PUT(Args.Data);
|
||||
pruefung();
|
||||
}
|
||||
}
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Delete)
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = false;
|
||||
BlazorApp.Controller.SchuelerBerufController.PUT(Args.Data);
|
||||
pruefung();
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.SchuelerBeruf> Args)
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
await Grid.SetRowData(Args.Data.ID, Args.Data);
|
||||
double xx = 0;
|
||||
Value = Args.Data.ID;
|
||||
xx = await DataHandler();
|
||||
await Grid.SelectRow(xx);
|
||||
}
|
||||
}
|
||||
public async void RowDataBoundHandler(BeforeDataBoundArgs<BWPMModels.SchuelerBeruf> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
}
|
||||
Initial = false;
|
||||
}
|
||||
|
||||
public async Task<double> DataHandler()
|
||||
public void KlasseChanged(String KlasseID)
|
||||
{
|
||||
var PageCount = (GridData.Count / Grid.PageSettings.PageSize) + 1;
|
||||
ContinuePaging = true;
|
||||
var CurrentPage = 1;
|
||||
Grid.Refresh();
|
||||
await Grid.GoToPage(1);
|
||||
for (int i = 1; i <= PageCount; i++)
|
||||
{
|
||||
List<SchuelerBeruf> Rows = await Grid.GetCurrentViewRecords(); // returns the current view data
|
||||
for (int j = 0; j < Grid.PageSettings.PageSize; j++)
|
||||
{
|
||||
if (j < Rows.Count && Rows[j].ID == Value)
|
||||
{
|
||||
foundrow = j;
|
||||
|
||||
ContinuePaging = false;
|
||||
break;
|
||||
SchuelerChanged(SchuelerList.ReloadData(KlasseID));
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
public void LehrerChanged(string LehrerID)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
KlasseList.ReloadByLehrer(LehrerID);
|
||||
SchuelerChanged(SchuelerList.ReloadData(KlasseList.GetKlasseID()));
|
||||
}
|
||||
public void SchuelerChanged(string SchuelerID)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
public void pruefung()
|
||||
{
|
||||
berufhinweis = "";
|
||||
int Anzahl_Berufe = 0;
|
||||
ISchuelerID = SchuelerID;
|
||||
try { StudentEdit.ReloadData(SchuelerID); } catch { };
|
||||
try
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
if (BlazorApp.Controller.SchuelerBerufController.Get_Anzahl(SchuelerID) < Convert.ToInt32(dbh.Get_Option(4)))
|
||||
Berufswunsch.SchuelerID = Convert.ToInt32(SchuelerID);
|
||||
Berufswunsch.userid = userid;
|
||||
Berufswunsch.SchuelerID = Convert.ToInt32(SchuelerID);
|
||||
Berufswunsch.ReloadData(SchuelerID);
|
||||
BerufswunschListe.ReloadData(Convert.ToInt32(SchuelerID));
|
||||
Zuteilung.userid = userid;
|
||||
Zuteilung.SchuelerID = Convert.ToInt32(SchuelerID);
|
||||
Zuteilung.ReloadData(Convert.ToInt32(SchuelerID));
|
||||
OP.SchuelerID = Convert.ToInt32(SchuelerID);
|
||||
}
|
||||
catch {
|
||||
int i =0;
|
||||
}
|
||||
}
|
||||
private void Refresh_OP(string Berufid)
|
||||
{
|
||||
berufhinweis += "\r\n- es sollten 3 Berufswünsche ausgewählt werden<br />";
|
||||
int KlasseTypID = 0;
|
||||
sBerufid = Berufid;
|
||||
OP.ReloadData(Convert.ToInt32(Berufid), KlasseTypID);
|
||||
|
||||
}
|
||||
if (BlazorApp.Controller.SchuelerBerufController.Has_Prio1(SchuelerID) == false)
|
||||
private void OnGridClicked1(string Schuelerid)
|
||||
{
|
||||
berufhinweis += "\r\n- Es fehlt ein Berufswunsch mit Priorität 1";
|
||||
}
|
||||
}
|
||||
catch { };
|
||||
Zuteilung.userid = userid;
|
||||
Zuteilung.SchuelerID = Convert.ToInt32(Schuelerid);
|
||||
Zuteilung.ReloadData(Convert.ToInt32(Schuelerid));
|
||||
|
||||
int KlasseTypID = 0;
|
||||
OP.ReloadData(Convert.ToInt32(sBerufid), KlasseTypID);
|
||||
|
||||
}
|
||||
|
||||
public void pruefung_klasse()
|
||||
private void OnGridClicked(string Schuelerid)
|
||||
{
|
||||
klassehinweis = "";
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.add_sp_param("Param1", KlasseID.ToString());
|
||||
dbh.Get_Tabledata("sp_chk_klasse", true, false);
|
||||
if (dbh.dsdaten.Tables[0].Rows[0][0].ToString() != dbh.dsdaten.Tables[0].Rows[0][1].ToString())
|
||||
{
|
||||
klassehinweis += "\r\n- " + dbh.dsdaten.Tables[0].Rows[0][1].ToString() + " von " + dbh.dsdaten.Tables[0].Rows[0][0].ToString() + " Schüler erfasst";
|
||||
klassehinweiscolor = "red";
|
||||
}
|
||||
else
|
||||
{
|
||||
klassehinweis += "\r\n- " + dbh.dsdaten.Tables[0].Rows[0][1].ToString() + " von " + dbh.dsdaten.Tables[0].Rows[0][0].ToString() + " Schüler erfasst";
|
||||
klassehinweiscolor = "green";
|
||||
}
|
||||
}
|
||||
OP.SchuelerID = Convert.ToInt32(Schuelerid);
|
||||
int KlasseTypID = 0;
|
||||
OP.ReloadData(Convert.ToInt32(sBerufid), KlasseTypID);
|
||||
|
||||
public async Task SchuelerClick(RecordClickEventArgs<Schuelerlist> args)
|
||||
{
|
||||
SchuelerID = args.RowData.id;
|
||||
SchuelerSelected();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
162
BlazorApp/Pages/Admin/Student/StudentEdit.razor
Normal file
162
BlazorApp/Pages/Admin/Student/StudentEdit.razor
Normal file
@@ -0,0 +1,162 @@
|
||||
@using System.ComponentModel.DataAnnotations
|
||||
@using Syncfusion.Blazor.Grids;
|
||||
@using Syncfusion.Blazor.Buttons;
|
||||
@using Syncfusion.Blazor.Spinner;
|
||||
@using Syncfusion.Blazor.Navigations;
|
||||
@using Syncfusion.Blazor.Popups;
|
||||
@using Syncfusion.Blazor.DropDowns
|
||||
@using BlazorApp.Helper
|
||||
@using BWPMModels;
|
||||
|
||||
|
||||
@*<div class="row">
|
||||
<SfButton IsPrimary="true" OnClick="@(() => NewClick())">Neuer Schüler</SfButton>
|
||||
</div>*@
|
||||
|
||||
<EditForm Model="_schueler" OnValidSubmit="@Submit" OnInvalidSubmit="@InvalidSubmit" >
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
|
||||
Name
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<InputText id="Name" class="form-control" @bind-Value="_schueler.name" placeholder="Nachname" disabled="@FieldDisabled" />
|
||||
<ValidationMessage For="@(() => _schueler.name)" />
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
|
||||
Vorname
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
|
||||
<InputText id="Vorname" class="form-control" @bind-Value="_schueler.vorname" placeholder="Vorname" disabled="@FieldDisabled" />
|
||||
<ValidationMessage For="@(() => _schueler.name)" />
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
|
||||
Bemerkung
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<InputText id="Bemerkung" class="form-control" @bind-Value="_schueler.bemerkung" placeholder="Bemerkung" disabled="@FieldDisabled" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
Klasse
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<SfDropDownList @bind-Value="@KlasseID" TValue="string" TItem="Klasse" Placeholder="Klasse" DataSource="@klasse" Enabled="@DropDownEnabled">
|
||||
<DropDownListFieldSettings Value="ID" Text="bezeichnung"></DropDownListFieldSettings>
|
||||
</SfDropDownList>
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
Typ
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<SfDropDownList @bind-Value="@KlasseTypID" TValue="string" TItem="Klassentyp" Placeholder="Klassentyp" DataSource="@klassentyp" Enabled="@DropDownEnabled">
|
||||
<DropDownListFieldSettings Value="ID" Text="bezeichnung"></DropDownListFieldSettings>
|
||||
</SfDropDownList>
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</EditForm>
|
||||
|
||||
<SfDialog Width="350px" IsModal="true" @bind-Visible="@ShowDeleteConfirmation">
|
||||
<DialogTemplates>
|
||||
<Header>@DialogHeader</Header>
|
||||
<Content>@DialogText</Content>
|
||||
|
||||
</DialogTemplates>
|
||||
<DialogButtons>
|
||||
@if (DialogShowYesNO == true)
|
||||
{
|
||||
<DialogButton Content="Ja" IsPrimary="true" OnClick="@DeleteConfirmed" />
|
||||
<DialogButton Content="Nein" OnClick="@AbortDelete" />
|
||||
}
|
||||
else
|
||||
{
|
||||
<DialogButton Content="OK" IsPrimary="true" OnClick="@DialogConfirmed" />
|
||||
}
|
||||
</DialogButtons>
|
||||
</SfDialog>
|
||||
|
||||
@code {
|
||||
[Parameter]
|
||||
public string iSchuelerID { get; set; } = "";
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<string> OnSchuelerChanged { get; set; }
|
||||
|
||||
|
||||
public int hiddenschuelerid = 0;
|
||||
public string DialogHeader { get; set; } = "";
|
||||
public string DialogText { get; set; } = "";
|
||||
public bool DialogShowYesNO { get; set; } = true;
|
||||
public bool ShowDeleteConfirmation { get; set; } = false;
|
||||
public string userid = "";
|
||||
public bool FieldDisabled = true;
|
||||
public string SchuelerklasseID = "0";
|
||||
public string KlasseTypID = "0";
|
||||
public string KlasseID = "0";
|
||||
private Schueler _schueler { get; set; } = new BWPMModels.Schueler();
|
||||
public List<BWPMModels.Klassentyp> klassentyp { get; set; } = BlazorApp.Controller.KlassentypController.GetAllAktiveData();
|
||||
public List<BWPMModels.Klasse> klasse { get; set; } = BlazorApp.Controller.KlasseController.GetAllActiveData();
|
||||
|
||||
public List<BWPMModels.Schueler> Schueler { get; set; }
|
||||
public bool DropDownEnabled = false;
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Submit()
|
||||
{
|
||||
BlazorApp.Controller.SchuelerController.PUT(_schueler);
|
||||
}
|
||||
public void InvalidSubmit()
|
||||
{
|
||||
}
|
||||
private void DeleteClick()
|
||||
{
|
||||
DialogHeader = "Löschbestätigung";
|
||||
DialogText = "Schüler '" + _schueler.name + ' ' + _schueler.vorname + "' wirklich löschen?'";
|
||||
DialogShowYesNO = true;
|
||||
ShowDeleteConfirmation = true;
|
||||
}
|
||||
|
||||
private void DeleteConfirmed()
|
||||
{
|
||||
_schueler.aktiv = false;
|
||||
_schueler.mutierer = userid;
|
||||
_schueler.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.SchuelerController.PUT(_schueler);
|
||||
BlazorApp.Controller.SchuelerBerufController.DeleteBerufswunsch(_schueler.ID, userid);
|
||||
ShowDeleteConfirmation = false;
|
||||
|
||||
}
|
||||
|
||||
private void AbortDelete()
|
||||
{
|
||||
ShowDeleteConfirmation = false;
|
||||
}
|
||||
private void DialogConfirmed()
|
||||
{
|
||||
ShowDeleteConfirmation = false;
|
||||
}
|
||||
|
||||
public void ReloadData(string Schuelerid)
|
||||
{
|
||||
Schueler = BlazorApp.Controller.SchuelerController.GetByID(Convert.ToInt32(Schuelerid));
|
||||
_schueler = Schueler.First<BWPMModels.Schueler>();
|
||||
KlasseID = _schueler.klasseID.ToString();
|
||||
KlasseTypID = _schueler.klassentypID.ToString();
|
||||
FieldDisabled = false;
|
||||
DropDownEnabled = false;
|
||||
|
||||
}
|
||||
}
|
||||
750
BlazorApp/Pages/Admin/Student/Student_sik.razor
Normal file
750
BlazorApp/Pages/Admin/Student/Student_sik.razor
Normal file
@@ -0,0 +1,750 @@
|
||||
@page "/Admin/Student/Student_sik"
|
||||
@inject Blazored.SessionStorage.ISessionStorageService sessionStorage
|
||||
@inject IJSRuntime jsRuntime
|
||||
@inject NavigationManager NavManager
|
||||
@inherits Admin.ListBase;
|
||||
@using System.ComponentModel.DataAnnotations
|
||||
@using Syncfusion.Blazor.Grids;
|
||||
@using Syncfusion.Blazor.Buttons;
|
||||
@using Syncfusion.Blazor.Spinner;
|
||||
@using Syncfusion.Blazor.Navigations;
|
||||
@using Syncfusion.Blazor.Popups;
|
||||
@using Syncfusion.Blazor.DropDowns
|
||||
@using BlazorApp.Helper
|
||||
@using BWPMModels;
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<h6 class="card-header card-header2">Schüler / Berufswunsch</h6>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<div class="card">
|
||||
<h6 class="card-header">
|
||||
Klasse/Lehrer
|
||||
</h6>
|
||||
<div class="card-body">
|
||||
Klasse
|
||||
<RadzenDropDown AllowClear="true" TValue="string" @bind-Value=@KlasseID
|
||||
Data=@intKlasse
|
||||
Change=@(args => OnChange(args, "DropDown")) TextProperty="bezeichnung" ValueProperty="id" />
|
||||
Lehrer
|
||||
<RadzenDropDown AllowClear="true" TValue="string" @bind-Value=@LehrerID
|
||||
Data=@intLehrer
|
||||
Change=@(args => OnChange(args, "DropDown")) TextProperty="bezeichnung" ValueProperty="id" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class="card">
|
||||
<h6 class="card-header">
|
||||
Schüler
|
||||
<input type="hidden" @bind="UID">
|
||||
</h6>
|
||||
<div class="card-body">
|
||||
<RadzenListBox @bind-Value=@SchuelerID
|
||||
Data=@schuelerliste TextProperty="bezeichnung" ValueProperty="id" Style="height:350px"
|
||||
Change=@(args => SchuelerChange(args, "schuelerlist")) />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<SfAccordion ExpandMode="ExpandMode.Multiple" @bind-ExpandedIndices=ExpandItems>
|
||||
<AccordionItems>
|
||||
<AccordionItem>
|
||||
<HeaderTemplate><h4>Schüler-Daten</h4></HeaderTemplate>
|
||||
<ContentTemplate>
|
||||
@*<div class="row">
|
||||
<SfButton IsPrimary="true" OnClick="@(() => NewClick())">Neuer Schüler</SfButton>
|
||||
</div>*@
|
||||
<hr />
|
||||
<EditForm Model="_schueler" OnValidSubmit="@Submit" OnInvalidSubmit="@InvalidSubmit">
|
||||
<input type="hidden" id="hiddenschuelerid" name="hiddenschuelerid" @bind="_schueler.ID">
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
|
||||
Name
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<InputText id="Name" class="form-control" @bind-Value="_schueler.name" placeholder="Nachname" disabled="@FieldDisabled" />
|
||||
<ValidationMessage For="@(() => _schueler.name)" />
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
|
||||
Vorname
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
|
||||
<InputText id="Vorname" class="form-control" @bind-Value="_schueler.vorname" placeholder="Vorname" disabled="@FieldDisabled" />
|
||||
<ValidationMessage For="@(() => _schueler.name)" />
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
|
||||
Bemerkung
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<InputText id="Bemerkung" class="form-control" @bind-Value="_schueler.bemerkung" placeholder="Bemerkung" disabled="@FieldDisabled" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
Klasse
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<RadzenDropDown AllowClear="true" TValue="string" @bind-Value=@SchuelerklasseID
|
||||
Data=@Schuelerklasse
|
||||
TextProperty="bezeichnung" ValueProperty="id" />
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
Typ
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<SfDropDownList @bind-Value="@KlasseTypID" TValue="string" TItem="Klassentyp" Placeholder="Klassentyp" DataSource="@klassentyp" Enabled="@DropDownEnabled">
|
||||
<DropDownListFieldSettings Value="ID" Text="bezeichnung"></DropDownListFieldSettings>
|
||||
</SfDropDownList>
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<br />
|
||||
|
||||
</EditForm>
|
||||
</ContentTemplate>
|
||||
</AccordionItem>
|
||||
<AccordionItem>
|
||||
<HeaderTemplate><h4>Berufswünsche</h4></HeaderTemplate>
|
||||
<ContentTemplate>
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<RadzenListBox @bind-Value=@BerufID Data=@berufe TextProperty="bezeichnung" ValueProperty="ID" Style="height:250px" />
|
||||
<br />
|
||||
<RadzenButton style="margin: 0 1rem 1rem 0" Click=@(args => InsertBeruf()) Text="Beruf zuordnen" ButtonStyle="ButtonStyle.Secondary" />
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<SfGrid ID="Grid3" DataSource="@GridData" @ref="Grid" AllowPaging="false" AllowSorting="true" Toolbar="@(new List<string>() { "Edit", "Delete" })">
|
||||
<GridPageSettings PageCount="5" PageSizes="true"></GridPageSettings>
|
||||
<GridEditSettings AllowAdding="true" AllowDeleting="true" AllowEditing="true" Mode="EditMode.Dialog"></GridEditSettings>
|
||||
<GridEvents OnActionBegin="OnBeginHandler" OnActionComplete="OnCompletedHandler" TValue="SchuelerBeruf" OnDataBound="RowDataBoundHandler"></GridEvents>
|
||||
<GridColumns>
|
||||
<GridColumn Type="ColumnType.CheckBox" AllowFiltering="false" AllowSorting="false" Width="60"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.ID) HeaderText="Id" IsPrimaryKey="true" AllowAdding="false" Visible="false" Width="60"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.schuelerID) HeaderText="Schuelerid" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridForeignColumn Field=@nameof(SchuelerBeruf.berufID) HeaderText="Beruf" ForeignKeyField="ID" ForeignKeyValue="bezeichnung" ForeignDataSource="@berufe" Width="150"></GridForeignColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.bemerkung) HeaderText="Bemerkung" Width="100" Visible="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.prioritaet) HeaderText="Prioritaet" Width="100" Visible="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.aktiv) HeaderText="Aktiv" Width="100" Visible="false" DisplayAsCheckBox="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.erstellt_am) HeaderText="Erstellt_am" Width="100" Visible="false" Format="d" Type="ColumnType.Date"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mutiert_am) HeaderText="Mutiert_am" Width="100" Visible="false" Format="d" Type="ColumnType.Date"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mutierer) HeaderText="Mutierer" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mandantnr) HeaderText="Mandantnr" Width="100" Visible="false"></GridColumn>
|
||||
</GridColumns>
|
||||
</SfGrid>
|
||||
|
||||
<div class="container">
|
||||
<h2></h2>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body" style="color:red">@((MarkupString)berufhinweis)</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</ContentTemplate>
|
||||
</AccordionItem>
|
||||
<AccordionItem>
|
||||
<HeaderTemplate><h4>Zuteilung</h4></HeaderTemplate>
|
||||
<ContentTemplate>
|
||||
<div class="row">
|
||||
|
||||
<div class="col-sm-4">
|
||||
<h4>Berufswunsch</h4>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<h4>Zuteilung</h4>
|
||||
<SfGrid ID="Grid5" DataSource="@GridDataZuteilung" @ref="GridZuteilung" AllowPaging="true" AllowSorting="true"
|
||||
Toolbar="@(new List<string>() { "Add", "Edit", "Update", "Cancel" })"
|
||||
ContextMenuItems="@(new List<Object>()
|
||||
{ new ContextMenuItemModel { Text = "Löschen", Target = ".e-content", Id = "deleteentry" } })">
|
||||
<GridPageSettings PageCount="5" PageSizes="true"></GridPageSettings>
|
||||
<GridEditSettings AllowAdding="false" AllowDeleting="false" AllowEditing="false" Mode="EditMode.Dialog"></GridEditSettings>
|
||||
<GridEvents ContextMenuItemClicked="OnContextMenuClick" TValue="ZuteilungView"></GridEvents>
|
||||
<GridColumns>
|
||||
<GridColumn Type="ColumnType.CheckBox" AllowFiltering="false" AllowSorting="false" Width="50"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.ID) HeaderText="Id" IsPrimaryKey="true" AllowAdding="false" Width="60" Visible="false"> </GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.schuelerid) HeaderText="Schuelerid" Width="100" Visible="false"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.beruf) HeaderText="Beruf" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.zeit) HeaderText="Zeite" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.firma) HeaderText="Firma" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.prioritaet) HeaderText="Prio." Width="40" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.bemerkung) HeaderText="Bemerkung" Width="100" Visible="true"></GridColumn>
|
||||
</GridColumns>
|
||||
</SfGrid>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<h5>Zugeteilt</h5>
|
||||
<SfGrid ID="Grid6" DataSource="@GridDataZuteilung" @ref="GridZuteilung" AllowPaging="true" AllowSorting="true"
|
||||
Toolbar="@(new List<string>() { "Add", "Edit", "Update", "Cancel" })"
|
||||
ContextMenuItems="@(new List<Object>()
|
||||
{ new ContextMenuItemModel { Text = "Löschen", Target = ".e-content", Id = "deleteentry" } })">
|
||||
<GridPageSettings PageCount="5" PageSizes="true"></GridPageSettings>
|
||||
<GridEditSettings AllowAdding="false" AllowDeleting="false" AllowEditing="false" Mode="EditMode.Dialog"></GridEditSettings>
|
||||
<GridEvents ContextMenuItemClicked="OnContextMenuClick" TValue="ZuteilungView"></GridEvents>
|
||||
<GridColumns>
|
||||
<GridColumn Type="ColumnType.CheckBox" AllowFiltering="false" AllowSorting="false" Width="50"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.ID) HeaderText="Id" IsPrimaryKey="true" AllowAdding="false" Width="60" Visible="false"> </GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.schuelerid) HeaderText="Schuelerid" Width="100" Visible="false"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.beruf) HeaderText="Beruf" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.zeit) HeaderText="Zeite" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.firma) HeaderText="Firma" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.prioritaet) HeaderText="Prio." Width="40" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.bemerkung) HeaderText="Bemerkung" Width="100" Visible="true"></GridColumn>
|
||||
</GridColumns>
|
||||
</SfGrid>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<h5>Offene Angebote</h5>
|
||||
<BlazorApp.Pages.Shared.OffenePlaetze SchuelerID="@SchuelerID" @ref="OP" OnGridChanged="GridChanged"></BlazorApp.Pages.Shared.OffenePlaetze>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</ContentTemplate>
|
||||
</AccordionItem>
|
||||
</AccordionItems>
|
||||
</SfAccordion>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
#Grid1.e-grid .e-gridheader .e-columnheader,
|
||||
#Grid3.e-grid .e-gridfooter {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<SfDialog Width="350px" IsModal="true" @bind-Visible="@ShowDeleteConfirmation">
|
||||
<DialogTemplates>
|
||||
<Header>@DialogHeader</Header>
|
||||
<Content>@DialogText</Content>
|
||||
|
||||
</DialogTemplates>
|
||||
<DialogButtons>
|
||||
@if (DialogShowYesNO == true)
|
||||
{
|
||||
<DialogButton Content="Ja" IsPrimary="true" OnClick="@DeleteConfirmed" />
|
||||
<DialogButton Content="Nein" OnClick="@AbortDelete" />
|
||||
}
|
||||
else
|
||||
{
|
||||
<DialogButton Content="OK" IsPrimary="true" OnClick="@DialogConfirmed" />
|
||||
}
|
||||
</DialogButtons>
|
||||
</SfDialog>
|
||||
|
||||
|
||||
@code {
|
||||
public void GridClicked()
|
||||
{
|
||||
// OP.RefreshData(SchuelerID);
|
||||
}
|
||||
|
||||
public void GridChanged(string wert)
|
||||
{
|
||||
string s = "";
|
||||
s = wert;
|
||||
}
|
||||
|
||||
BlazorApp.Pages.Shared.OffenePlaetze OP { get; set; }
|
||||
BlazorApp.Pages.Shared.BerufswunschListe BWL { get; set; }
|
||||
|
||||
#region "Deklarationen"
|
||||
public string UID = "";
|
||||
public int[] ExpandItems = new int[] { 2 };
|
||||
public string[] sfSchuelerID { get; set; }
|
||||
public string DialogHeader { get; set; } = "";
|
||||
public string DialogText { get; set; } = "";
|
||||
public bool DialogShowYesNO { get; set; } = true;
|
||||
public string berufhinweis = "";
|
||||
public string klassehinweis = "";
|
||||
public string klassehinweiscolor = "red";
|
||||
|
||||
public bool ShowDeleteConfirmation { get; set; } = false;
|
||||
protected ElementReference ToFocus;
|
||||
public string lehrerID = "";
|
||||
public int hiddenschuelerid = 0;
|
||||
public string KlasseID = "0";
|
||||
public string LehrerID = "0";
|
||||
public string SchuelerklasseID = "0";
|
||||
public string KlasseTypID = "0";
|
||||
public string userid;
|
||||
public bool FieldDisabled = true;
|
||||
public bool DropDownEnabled = false;
|
||||
public List<BWPMModels.Klasse> Klasse { get; set; }
|
||||
public List<BWPMModels.Lehrer> Lehrer { get; set; }
|
||||
public List<BWPMModels.Klassentyp> klassentyp { get; set; } = BlazorApp.Controller.KlassentypController.GetAllAktiveData();
|
||||
public List<BWPMModels.Schueler> Schueler { get; set; }
|
||||
private Schueler _schueler { get; set; } = new BWPMModels.Schueler();
|
||||
public List<BWPMModels.Beruf> berufe { get; set; } = BlazorApp.Controller.BerufController.GetBerufsangebot();
|
||||
|
||||
public List<Schuelerlist> schuelerliste = new List<Schuelerlist>();
|
||||
public List<iKlasse> Schuelerklasse = new List<iKlasse>();
|
||||
public int SchuelerID;
|
||||
public List<iKlasse> intKlasse = new List<iKlasse>();
|
||||
public List<iLehrer> intLehrer = new List<iLehrer>();
|
||||
|
||||
public class iKlasse
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string bezeichnung { get; set; }
|
||||
}
|
||||
public class iLehrer
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string bezeichnung { get; set; }
|
||||
}
|
||||
public class Schuelerlist
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string bezeichnung { get; set; }
|
||||
}
|
||||
|
||||
SfGrid<SchuelerBeruf> Grid { get; set; }
|
||||
SfGrid<ZuteilungView> GridZuteilung { get; set; }
|
||||
|
||||
public List<BWPMModels.SchuelerBeruf> GridData { get; set; }
|
||||
public List<BWPMModels.ZuteilungView> GridDataZuteilung { get; set; }
|
||||
public List<BWPMModels.View_Zuteilung> GridDataView_Zutielung { get; set; }
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
public bool Initial { get; set; } = true;
|
||||
public int BerufID;
|
||||
private Lehrer _lehrer { get; set; } = new BWPMModels.Lehrer();
|
||||
public List<BWPMModels.Lehrer> Lehrerdaten { get; set; }
|
||||
public int ZuteilungID = 0;
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region "Init / AfterRender"
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
lehrerID = await sessionStorage.GetItemAsync<string>("LehrerID");
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
UID = userid;
|
||||
Klasse = BlazorApp.Controller.KlasseController.GetAllActiveData();
|
||||
intKlasse.Clear();
|
||||
foreach (BWPMModels.Klasse item in Klasse)
|
||||
{
|
||||
iKlasse kl = new iKlasse();
|
||||
kl.id = item.ID.ToString();
|
||||
kl.bezeichnung = item.bezeichnung;
|
||||
intKlasse.Add(kl);
|
||||
Schuelerklasse.Add(kl);
|
||||
};
|
||||
KlasseID = Klasse[0].ID.ToString();
|
||||
|
||||
SchuelerklasseID = Klasse[0].ID.ToString();
|
||||
KlasseTypID = klassentyp[0].ID.ToString();
|
||||
Lehrer = BlazorApp.Controller.LehrerController.GetAllActiveData();
|
||||
intLehrer.Clear();
|
||||
foreach (BWPMModels.Lehrer item in Lehrer)
|
||||
{
|
||||
iLehrer ll = new iLehrer();
|
||||
ll.id = item.ID.ToString();
|
||||
ll.bezeichnung = item.name.ToString() + " " + item.vorname.ToString();
|
||||
intLehrer.Add(ll);
|
||||
}
|
||||
LehrerID = Lehrer[0].ID.ToString();
|
||||
Update_Schueler_Klasse();
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
var userId = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region "Klasse / Lehrer / Schüler"
|
||||
void OnChange(object value, string name)
|
||||
{
|
||||
KlasseID = value.ToString();
|
||||
Update_Schueler_Klasse();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------
|
||||
//Klassenliste / Schuelerliste
|
||||
//----------------------------------------------------------
|
||||
public void ChangeKlasse(Syncfusion.Blazor.DropDowns.ChangeEventArgs<string, Klasse> args)
|
||||
{
|
||||
Update_Schueler_Klasse();
|
||||
}
|
||||
|
||||
|
||||
public void Update_Schueler_Klasse()
|
||||
{
|
||||
UpdateSchulerliste();
|
||||
pruefung_klasse();
|
||||
}
|
||||
|
||||
public void UpdateSchulerliste()
|
||||
{
|
||||
Schueler = BlazorApp.Controller.SchuelerController.GetByKlasseID(Convert.ToInt32(KlasseID));
|
||||
|
||||
schuelerliste.Clear();
|
||||
|
||||
int newschuelerid = 0;
|
||||
bool found = false;
|
||||
foreach (BWPMModels.Schueler item in Schueler)
|
||||
{
|
||||
Schuelerlist sl = new Schuelerlist();
|
||||
sl.id = item.ID;
|
||||
if (newschuelerid == 0) { newschuelerid = sl.id; };
|
||||
if (SchuelerID == sl.id) { found = true; }
|
||||
sl.bezeichnung = item.name + " " + item.vorname;
|
||||
schuelerliste.Add(sl);
|
||||
};
|
||||
if (found != true)
|
||||
{
|
||||
FieldDisabled = true;
|
||||
DropDownEnabled = false;
|
||||
SchuelerID = -1;
|
||||
SchuelerID = newschuelerid;
|
||||
if (schuelerliste.Count > 0) { SchuelerSelected(); }
|
||||
}
|
||||
|
||||
pruefung_klasse();
|
||||
}
|
||||
private void SchuelerChange(object value, string name)
|
||||
{
|
||||
var str = value is IEnumerable<object> ? string.Join(", ", (IEnumerable<object>)value) : value;
|
||||
SchuelerSelected();
|
||||
}
|
||||
private void SchuelerSelected()
|
||||
{
|
||||
Schueler = BlazorApp.Controller.SchuelerController.GetByID(Convert.ToInt32(SchuelerID));
|
||||
_schueler = Schueler.First<BWPMModels.Schueler>();
|
||||
SchuelerklasseID = _schueler.klasseID.ToString();
|
||||
KlasseTypID = _schueler.klassentypID.ToString();
|
||||
FieldDisabled = false;
|
||||
DropDownEnabled = true;
|
||||
update_griddata();
|
||||
pruefung();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region "Schülerformular"
|
||||
//----------------------------------------------------------
|
||||
//Schüler-Formular
|
||||
//----------------------------------------------------------
|
||||
|
||||
public void Submit()
|
||||
{
|
||||
BlazorApp.Controller.SchuelerController.PUT(_schueler);
|
||||
}
|
||||
public void InvalidSubmit()
|
||||
{
|
||||
}
|
||||
|
||||
private void SaveClick()
|
||||
{
|
||||
Schueler _tmpschueler = new BWPMModels.Schueler();
|
||||
_tmpschueler = BlazorApp.Controller.SchuelerController.GetByID(_schueler.ID).First<BWPMModels.Schueler>();
|
||||
_tmpschueler.name = _schueler.name;
|
||||
_tmpschueler.vorname = _schueler.vorname;
|
||||
_tmpschueler.bemerkung = _schueler.bemerkung;
|
||||
_tmpschueler.klasseID = Convert.ToInt32(SchuelerklasseID);
|
||||
_tmpschueler.klassentypID = Convert.ToInt32(KlasseTypID);
|
||||
BlazorApp.Controller.SchuelerController.PUT(_tmpschueler);
|
||||
UpdateSchulerliste();
|
||||
}
|
||||
|
||||
private void NewClick()
|
||||
{
|
||||
int schuelerid = 0;
|
||||
BWPMModels.Schueler schuelerdata = new Schueler();
|
||||
schuelerdata.aktiv = true;
|
||||
schuelerdata.erstellt_am = DateTime.Now;
|
||||
schuelerdata.mutiert_am = DateTime.Now;
|
||||
schuelerdata.mutierer = userid;
|
||||
schuelerdata.name = "Neuer Schüler";
|
||||
schuelerdata.vorname = "";
|
||||
schuelerdata.bemerkung = "";
|
||||
schuelerdata.klasseID = Convert.ToInt32(KlasseID);
|
||||
schuelerdata.klassentypID = Convert.ToInt32(KlasseTypID);
|
||||
schuelerid = BlazorApp.Controller.SchuelerController.POST(schuelerdata);
|
||||
FieldDisabled = false;
|
||||
DropDownEnabled = true;
|
||||
UpdateSchulerliste();
|
||||
SchuelerID = schuelerid;
|
||||
SchuelerSelected();
|
||||
jsRuntime.InvokeVoidAsync("SetFocusToElement", ToFocus);
|
||||
|
||||
}
|
||||
private void DeleteClick()
|
||||
{
|
||||
DialogHeader = "Löschbestätigung";
|
||||
DialogText = "Schüler '" + _schueler.name + ' ' + _schueler.vorname + "' wirklich löschen?'";
|
||||
DialogShowYesNO = true;
|
||||
ShowDeleteConfirmation = true;
|
||||
}
|
||||
|
||||
private void DeleteConfirmed()
|
||||
{
|
||||
_schueler.aktiv = false;
|
||||
_schueler.mutierer = userid;
|
||||
_schueler.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.SchuelerController.PUT(_schueler);
|
||||
BlazorApp.Controller.SchuelerBerufController.DeleteBerufswunsch(_schueler.ID, userid);
|
||||
ShowDeleteConfirmation = false;
|
||||
UpdateSchulerliste();
|
||||
}
|
||||
|
||||
private void AbortDelete()
|
||||
{
|
||||
ShowDeleteConfirmation = false;
|
||||
}
|
||||
private void DialogConfirmed()
|
||||
{
|
||||
ShowDeleteConfirmation = false;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region "Schülerberuf"
|
||||
//--------------------------------------
|
||||
//SchülerBeruf / Beruf
|
||||
//--------------------------------------
|
||||
private void InsertBeruf()
|
||||
{
|
||||
if (SchuelerID == 0)
|
||||
{
|
||||
DialogHeader = "Daten unvollständig";
|
||||
DialogText = "Bitte zuerst einen Schüler auswählen!";
|
||||
DialogShowYesNO = false;
|
||||
ShowDeleteConfirmation = true;
|
||||
return;
|
||||
}
|
||||
if (BerufID == 0)
|
||||
{
|
||||
DialogHeader = "Daten unvollständig";
|
||||
DialogText = "Bitte zuerst einen Beruf auswählen!";
|
||||
DialogShowYesNO = false;
|
||||
ShowDeleteConfirmation = true;
|
||||
return;
|
||||
}
|
||||
ShowDeleteConfirmation = false;
|
||||
BWPMModels.SchuelerBeruf sberuf = new BWPMModels.SchuelerBeruf();
|
||||
sberuf.aktiv = true;
|
||||
sberuf.bemerkung = "";
|
||||
sberuf.berufID = BerufID;
|
||||
sberuf.erstellt_am = DateTime.Now;
|
||||
sberuf.mutiert_am = DateTime.Now;
|
||||
sberuf.mutierer = userid;
|
||||
sberuf.schuelerID = SchuelerID;
|
||||
int prio = BlazorApp.Controller.SchuelerBerufController.Get_Prio(SchuelerID);
|
||||
sberuf.prioritaet = prio + 1;
|
||||
BlazorApp.Controller.SchuelerBerufController.POST(sberuf);
|
||||
update_griddata();
|
||||
pruefung();
|
||||
}
|
||||
|
||||
private void update_griddata()
|
||||
{
|
||||
//GridData = BlazorApp.Controller.SchuelerBerufController.GetBySchuelerID(SchuelerID);
|
||||
GridDataZuteilung = BlazorApp.Controller.ZuteilungController.GetZuteilungBySchuelerID(SchuelerID);
|
||||
//OP.RefreshData(SchuelerID);
|
||||
//BWL.Refreshdata(SchuelerID);
|
||||
}
|
||||
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.SchuelerBeruf> Args)
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
Args.Data.erstellt_am = DateTime.Now;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.SchuelerBerufController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
pruefung();
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.SchuelerBerufController.PUT(Args.Data);
|
||||
pruefung();
|
||||
}
|
||||
}
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Delete)
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = false;
|
||||
BlazorApp.Controller.SchuelerBerufController.PUT(Args.Data);
|
||||
pruefung();
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.SchuelerBeruf> Args)
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
await Grid.SetRowData(Args.Data.ID, Args.Data);
|
||||
double xx = 0;
|
||||
Value = Args.Data.ID;
|
||||
xx = await DataHandler();
|
||||
await Grid.SelectRow(xx);
|
||||
}
|
||||
}
|
||||
public async void RowDataBoundHandler(BeforeDataBoundArgs<BWPMModels.SchuelerBeruf> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
}
|
||||
Initial = false;
|
||||
}
|
||||
|
||||
public async Task<double> DataHandler()
|
||||
{
|
||||
var PageCount = (GridData.Count / Grid.PageSettings.PageSize) + 1;
|
||||
ContinuePaging = true;
|
||||
var CurrentPage = 1;
|
||||
Grid.Refresh();
|
||||
await Grid.GoToPage(1);
|
||||
for (int i = 1; i <= PageCount; i++)
|
||||
{
|
||||
List<SchuelerBeruf> Rows = await Grid.GetCurrentViewRecords(); // returns the current view data
|
||||
for (int j = 0; j < Grid.PageSettings.PageSize; j++)
|
||||
{
|
||||
if (j < Rows.Count && Rows[j].ID == Value)
|
||||
{
|
||||
foundrow = j;
|
||||
|
||||
ContinuePaging = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
public void pruefung()
|
||||
{
|
||||
berufhinweis = "";
|
||||
int Anzahl_Berufe = 0;
|
||||
try
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
if (BlazorApp.Controller.SchuelerBerufController.Get_Anzahl(SchuelerID) < Convert.ToInt32(dbh.Get_Option(4)))
|
||||
{
|
||||
berufhinweis += "\r\n- es sollten 3 Berufswünsche ausgewählt werden<br />";
|
||||
}
|
||||
if (BlazorApp.Controller.SchuelerBerufController.Has_Prio1(SchuelerID) == false)
|
||||
{
|
||||
berufhinweis += "\r\n- Es fehlt ein Berufswunsch mit Priorität 1";
|
||||
}
|
||||
}
|
||||
catch { };
|
||||
}
|
||||
|
||||
public void pruefung_klasse()
|
||||
{
|
||||
klassehinweis = "";
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.add_sp_param("Param1", KlasseID.ToString());
|
||||
dbh.Get_Tabledata("sp_chk_klasse", true, false);
|
||||
if (dbh.dsdaten.Tables[0].Rows[0][0].ToString() != dbh.dsdaten.Tables[0].Rows[0][1].ToString())
|
||||
{
|
||||
klassehinweis += "\r\n- " + dbh.dsdaten.Tables[0].Rows[0][1].ToString() + " von " + dbh.dsdaten.Tables[0].Rows[0][0].ToString() + " Schüler erfasst";
|
||||
klassehinweiscolor = "red";
|
||||
}
|
||||
else
|
||||
{
|
||||
klassehinweis += "\r\n- " + dbh.dsdaten.Tables[0].Rows[0][1].ToString() + " von " + dbh.dsdaten.Tables[0].Rows[0][0].ToString() + " Schüler erfasst";
|
||||
klassehinweiscolor = "green";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region "Zuteilung"
|
||||
|
||||
public void OnContextMenuClick(ContextMenuClickEventArgs<ZuteilungView> args)
|
||||
{
|
||||
ZuteilungID = args.RowInfo.RowData.ID;
|
||||
if (args.Item.Id == "deleteentry")
|
||||
{
|
||||
BlazorApp.Controller.ZuteilungController.Inaktivate(ZuteilungID, userid);
|
||||
GridDataZuteilung = BlazorApp.Controller.ZuteilungController.GetZuteilungBySchuelerID(SchuelerID);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void Berufswunsch_Click(RecordClickEventArgs<SchuelerBeruf> args)
|
||||
{
|
||||
GridDataView_Zutielung = BlazorApp.Controller.ZuteilungController.GetZuteilungen(args.RowData.schuelerID.ToString(), args.RowData.berufID.ToString());
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
58
BlazorApp/Pages/Admin/Student/Zuteilung.razor
Normal file
58
BlazorApp/Pages/Admin/Student/Zuteilung.razor
Normal file
@@ -0,0 +1,58 @@
|
||||
@using Syncfusion.Blazor.Grids;
|
||||
@using BlazorApp.Helper
|
||||
@using BWPMModels;
|
||||
|
||||
<SfGrid ID="Grid66" DataSource="@GridDataZuteilungA" @ref="GridZuteilungA" AllowPaging="false" AllowSorting="true"
|
||||
Toolbar="@(new List<string>() { "Add", "Edit", "Update", "Cancel" })"
|
||||
ContextMenuItems="@(new List<Object>(){ new ContextMenuItemModel { Text = "Löschen", Target = ".e-content", Id = "deleteentry" } })">
|
||||
<GridPageSettings PageCount="5" PageSizes="true"></GridPageSettings>
|
||||
<GridEditSettings AllowAdding="false" AllowDeleting="false" AllowEditing="true" Mode="EditMode.Dialog"></GridEditSettings>
|
||||
<GridEvents ContextMenuItemClicked="OnContextMenuClick" TValue="ZuteilungView"></GridEvents>
|
||||
<GridColumns>
|
||||
<GridColumn Field=@nameof(ZuteilungView.ID) HeaderText="Id" IsPrimaryKey="true" AllowAdding="false" Width="60" Visible="false"> </GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.schuelerid) HeaderText="Schuelerid" Width="100" Visible="false"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.beruf) HeaderText="Beruf" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.zeit) HeaderText="Zeite" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.firma) HeaderText="Firma" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.prioritaet) HeaderText="Prio." Width="40" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(ZuteilungView.bemerkung) HeaderText="Bemerkung" Width="100" Visible="true"></GridColumn>
|
||||
</GridColumns>
|
||||
</SfGrid>
|
||||
|
||||
@code {
|
||||
[Parameter]
|
||||
public EventCallback<string> OnGridClicked { get; set; }
|
||||
|
||||
|
||||
public int SchuelerID = 0;
|
||||
public string userid = "";
|
||||
public int ZuteilungID = 0;
|
||||
|
||||
SfGrid<ZuteilungView> GridZuteilungA { get; set; }
|
||||
public List<BWPMModels.ZuteilungView> GridDataZuteilungA { get; set; }
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
GridDataZuteilungA = BlazorApp.Controller.ZuteilungController.GetZuteilungBySchuelerID(SchuelerID);
|
||||
}
|
||||
//public void
|
||||
private Task OnContextMenuClick(ContextMenuClickEventArgs<ZuteilungView> args)
|
||||
{
|
||||
ZuteilungID = args.RowInfo.RowData.ID;
|
||||
if (args.Item.Id == "deleteentry")
|
||||
{
|
||||
BlazorApp.Controller.ZuteilungController.Inaktivate(ZuteilungID, userid);
|
||||
GridDataZuteilungA = BlazorApp.Controller.ZuteilungController.GetZuteilungBySchuelerID(SchuelerID);
|
||||
}
|
||||
int s = 0;
|
||||
s = SchuelerID;
|
||||
return OnGridClicked.InvokeAsync(s.ToString());
|
||||
}
|
||||
|
||||
public void ReloadData(int iSchuelerID)
|
||||
{
|
||||
GridDataZuteilungA = BlazorApp.Controller.ZuteilungController.GetZuteilungBySchuelerID(iSchuelerID);
|
||||
GridZuteilungA.Refresh();
|
||||
|
||||
}
|
||||
}
|
||||
@@ -39,13 +39,50 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="col-lg-12 control-section toast-default-section">
|
||||
<SfToast ID="toast_default" @ref="ToastObj" Content="@ToastContent" Timeout="5000" Icon="e-meeting">
|
||||
<ToastPosition X="Right" Y="Bottom"></ToastPosition>
|
||||
<ToastAnimationSettings>
|
||||
<ToastShowAnimationSettings Effect="@ShowAnimation"></ToastShowAnimationSettings>
|
||||
<ToastHideAnimationSettings Effect="@HideAnimation"></ToastHideAnimationSettings>
|
||||
</ToastAnimationSettings>
|
||||
</SfToast>
|
||||
</div>
|
||||
<style>
|
||||
.bootstrap4 #toast_default .e-meeting::before {
|
||||
content: "\e763";
|
||||
font-size: 20px;
|
||||
}
|
||||
.e-toast-container .e-toast {
|
||||
background-color: lightgreen;
|
||||
}
|
||||
</style>
|
||||
|
||||
@code {
|
||||
|
||||
SfToast ToastObj;
|
||||
private string ToastPosition = "Right";
|
||||
private string ToastContent = "Zuteilung erfolgreich durchgeführt";
|
||||
private ToastEffect ShowAnimation = ToastEffect.FadeIn;
|
||||
private ToastEffect HideAnimation = ToastEffect.FadeOut;
|
||||
|
||||
private int @Variante = 1;
|
||||
void zuteilen()
|
||||
public void zuteilen()
|
||||
{
|
||||
try
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.Zuteilen(@Variante);
|
||||
ToastObj.ShowAsync();
|
||||
}
|
||||
catch
|
||||
{
|
||||
ToastContent = "Bei der automatischen Zuteilung ist ein Fehler aufgetreten.";
|
||||
ToastObj.ShowAsync();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
296
BlazorApp/Pages/Shared/BerufswunschListe.razor
Normal file
296
BlazorApp/Pages/Shared/BerufswunschListe.razor
Normal file
@@ -0,0 +1,296 @@
|
||||
@using Syncfusion.Blazor.Grids;
|
||||
@using BlazorApp.Helper
|
||||
@using BWPMModels;
|
||||
|
||||
@if (@AllowUpdates == true)
|
||||
{
|
||||
<SfGrid ID="Grid3" DataSource="@GridData2" @ref="Grid22" AllowRowDragAndDrop="true" AllowPaging="false" AllowSorting="true" Toolbar="@(new List<string>() { "Edit", "Delete" })"
|
||||
ContextMenuItems="@(new List<ContextMenuItemModel>() { new ContextMenuItemModel { Text = "Bearbeiten", Target = ".e-content", Id = "Edit"},new ContextMenuItemModel { Text = "Löschen", Target = ".e-content", Id = "Loeschen"} })">
|
||||
|
||||
<GridPageSettings PageCount="5" PageSizes="true"></GridPageSettings>
|
||||
<GridEditSettings AllowAdding="@AllowUpdates" AllowDeleting="AllowUpdates" AllowEditing="AllowUpdates" Mode="EditMode.Dialog"></GridEditSettings>
|
||||
<GridEvents RowDropped="RowDropHandler" ContextMenuItemClicked="OnContextMenuClick" OnActionBegin="OnBeginHandler" OnActionComplete="OnCompletedHandler" TValue="SchuelerBeruf" OnDataBound="RowDataBoundHandler"></GridEvents>
|
||||
|
||||
<GridColumns>
|
||||
@* <GridColumn Type="ColumnType.CheckBox" AllowFiltering="false" AllowSorting="false" Width="60"></GridColumn>
|
||||
*@
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.ID) HeaderText="Id" IsPrimaryKey="true" AllowAdding="false" Visible="false" Width="60"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.schuelerID) HeaderText="Schuelerid" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridForeignColumn Field=@nameof(SchuelerBeruf.berufID) HeaderText="Beruf" ForeignKeyField="ID" ForeignKeyValue="bezeichnung" ForeignDataSource="@berufe" Width="150"></GridForeignColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.bemerkung) HeaderText="Bemerkung" Width="100" Visible="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.prioritaet) HeaderText="Prioritaet" Width="100" Visible="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.aktiv) HeaderText="Aktiv" Width="100" Visible="false" DisplayAsCheckBox="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.erstellt_am) HeaderText="Erstellt_am" Width="100" Visible="false" Format="d" Type="ColumnType.Date"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mutiert_am) HeaderText="Mutiert_am" Width="100" Visible="false" Format="d" Type="ColumnType.Date"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mutierer) HeaderText="Mutierer" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mandantnr) HeaderText="Mandantnr" Width="100" Visible="false"></GridColumn>
|
||||
</GridColumns>
|
||||
</SfGrid>
|
||||
<div class="container">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body" style="color:red">@((MarkupString)berufhinweis)</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<SfGrid ID="Grid3" DataSource="@GridData2" @ref="Grid22" AllowRowDragAndDrop="false" AllowPaging="false" AllowSorting="false">
|
||||
<GridPageSettings PageCount="5" PageSizes="true"></GridPageSettings>
|
||||
<GridEditSettings AllowAdding="@AllowUpdates" AllowDeleting="AllowUpdates" AllowEditing="AllowUpdates" ></GridEditSettings>
|
||||
<GridEvents OnActionBegin="OnBeginHandler" OnActionComplete="OnCompletedHandler" TValue="SchuelerBeruf" OnDataBound="RowDataBoundHandler"></GridEvents>
|
||||
<GridEvents OnRecordClick="Berufswunsch_Click" TValue="SchuelerBeruf"></GridEvents>
|
||||
<GridColumns>
|
||||
@* <GridColumn Type="ColumnType.CheckBox" AllowFiltering="false" AllowSorting="false" Width="60"></GridColumn>
|
||||
*@
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.ID) HeaderText="Id" IsPrimaryKey="true" AllowAdding="false" Visible="false" Width="60"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.schuelerID) HeaderText="Schuelerid" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridForeignColumn Field=@nameof(SchuelerBeruf.berufID) HeaderText="Beruf" ForeignKeyField="ID" ForeignKeyValue="bezeichnung" ForeignDataSource="@berufe" Width="150"></GridForeignColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.bemerkung) HeaderText="Bemerkung" Width="100" Visible="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.prioritaet) HeaderText="Prioritaet" Width="100" Visible="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.aktiv) HeaderText="Aktiv" Width="100" Visible="false" DisplayAsCheckBox="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.erstellt_am) HeaderText="Erstellt_am" Width="100" Visible="false" Format="d" Type="ColumnType.Date"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mutiert_am) HeaderText="Mutiert_am" Width="100" Visible="false" Format="d" Type="ColumnType.Date"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mutierer) HeaderText="Mutierer" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(SchuelerBeruf.mandantnr) HeaderText="Mandantnr" Width="100" Visible="false"></GridColumn>
|
||||
</GridColumns>
|
||||
</SfGrid>
|
||||
}
|
||||
@code {
|
||||
[Parameter]
|
||||
public bool AllowUpdates { get; set; } = false;
|
||||
[Parameter]
|
||||
public EventCallback<string> OnGridClicked { get; set; }
|
||||
|
||||
//[Parameter]
|
||||
public int SchuelerID { get; set; }
|
||||
|
||||
|
||||
public string userid = "";
|
||||
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
public bool Initial { get; set; } = true;
|
||||
public bool ContinuePaging = true;
|
||||
public string berufhinweis = "";
|
||||
|
||||
SfGrid<SchuelerBeruf> Grid22 { get; set; }
|
||||
public List<BWPMModels.SchuelerBeruf> GridData2 { get; set; }
|
||||
public List<BWPMModels.Beruf> berufe { get; set; } = BlazorApp.Controller.BerufController.GetBerufsangebot();
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
private Task Berufswunsch_Click(RecordClickEventArgs<SchuelerBeruf> args)
|
||||
{
|
||||
return OnGridClicked.InvokeAsync(args.RowData.berufID.ToString());
|
||||
}
|
||||
|
||||
public void ReloadData(int iSchuelerID)
|
||||
{
|
||||
SchuelerID = iSchuelerID;
|
||||
GridData2 = BlazorApp.Controller.SchuelerBerufController.GetBySchuelerID(iSchuelerID);
|
||||
Grid22.Refresh();
|
||||
|
||||
pruefung();
|
||||
//return Task.CompletedTask;
|
||||
|
||||
}
|
||||
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.SchuelerBeruf> Args)
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
Args.Data.erstellt_am = DateTime.Now;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.SchuelerBerufController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
pruefung();
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.SchuelerBerufController.PUT(Args.Data);
|
||||
pruefung();
|
||||
}
|
||||
}
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Delete)
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = false;
|
||||
BlazorApp.Controller.SchuelerBerufController.PUT(Args.Data);
|
||||
pruefung();
|
||||
}
|
||||
}
|
||||
|
||||
public void OnContextMenuClick(ContextMenuClickEventArgs<BWPMModels.SchuelerBeruf> args)
|
||||
{
|
||||
switch (args.Item.Id)
|
||||
{
|
||||
case "PrioUp":
|
||||
args.RowInfo.RowData.prioritaet = args.RowInfo.RowData.prioritaet - 1;
|
||||
args.RowInfo.RowData.mutierer = userid.ToString();
|
||||
BlazorApp.Controller.SchuelerBerufController.PUT(args.RowInfo.RowData);
|
||||
update_griddata();
|
||||
pruefung();
|
||||
break;
|
||||
case "PrioDown":
|
||||
args.RowInfo.RowData.prioritaet = args.RowInfo.RowData.prioritaet + 1;
|
||||
args.RowInfo.RowData.mutierer = userid.ToString();
|
||||
BlazorApp.Controller.SchuelerBerufController.PUT(args.RowInfo.RowData);
|
||||
update_griddata();
|
||||
pruefung();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
|
||||
}
|
||||
if (args.Item.Id == "Prio")
|
||||
if (args.Item.Id == "Bearbeiten")
|
||||
{
|
||||
|
||||
}
|
||||
if (args.Item.Id == "Loeschen")
|
||||
{
|
||||
args.RowInfo.RowData.aktiv = false;
|
||||
args.RowInfo.RowData.mutiert_am = DateTime.Now;
|
||||
args.RowInfo.RowData.mutierer = userid.ToString();
|
||||
BlazorApp.Controller.SchuelerBerufController.PUT(args.RowInfo.RowData);
|
||||
update_griddata();
|
||||
pruefung();
|
||||
|
||||
}
|
||||
}
|
||||
public void RowDropHandler(RowDragEventArgs<BWPMModels.SchuelerBeruf> args)
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
dbh.add_sp_param("Param1", args.Data[0].ID.ToString());
|
||||
dbh.add_sp_param("Param2", userid.ToString());
|
||||
dbh.add_sp_param("Param3", args.DropIndex.ToString());
|
||||
|
||||
dbh.Get_Tabledata("sp_set_prio_schuelerberuf", true, false);
|
||||
args.Data[0].prioritaet = Convert.ToInt32(args.DropIndex) + 1;
|
||||
update_griddata();
|
||||
pruefung();
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
private void update_griddata()
|
||||
{
|
||||
//GridData.Clear();
|
||||
GridData2 = BlazorApp.Controller.SchuelerBerufController.GetBySchuelerID(SchuelerID);
|
||||
Grid22.Refresh();
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.SchuelerBeruf> Args)
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
await Grid22.SetRowData(Args.Data.ID, Args.Data);
|
||||
double xx = 0;
|
||||
Value = Args.Data.ID;
|
||||
xx = await DataHandler();
|
||||
await Grid22.SelectRow(xx);
|
||||
}
|
||||
}
|
||||
public async void RowDataBoundHandler(BeforeDataBoundArgs<BWPMModels.SchuelerBeruf> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
}
|
||||
Initial = false;
|
||||
}
|
||||
|
||||
public async Task<double> DataHandler()
|
||||
{
|
||||
var PageCount = (GridData2.Count / Grid22.PageSettings.PageSize) + 1;
|
||||
ContinuePaging = true;
|
||||
var CurrentPage = 1;
|
||||
Grid22.Refresh();
|
||||
await Grid22.GoToPage(1);
|
||||
for (int i = 1; i <= PageCount; i++)
|
||||
{
|
||||
List<SchuelerBeruf> Rows = await Grid22.GetCurrentViewRecords(); // returns the current view data
|
||||
for (int j = 0; j < Grid22.PageSettings.PageSize; j++)
|
||||
{
|
||||
if (j < Rows.Count && Rows[j].ID == Value)
|
||||
{
|
||||
foundrow = j;
|
||||
|
||||
ContinuePaging = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid22.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
public void pruefung()
|
||||
{
|
||||
berufhinweis = "";
|
||||
int Anzahl_Berufe = 0;
|
||||
try
|
||||
{
|
||||
dbhelper dbh = new dbhelper();
|
||||
if (BlazorApp.Controller.SchuelerBerufController.Get_Anzahl(SchuelerID) < Convert.ToInt32(dbh.Get_Option(4)))
|
||||
{
|
||||
berufhinweis += "\r\n- es sollten 3 Berufswünsche ausgewählt werden<br />";
|
||||
}
|
||||
if (BlazorApp.Controller.SchuelerBerufController.Has_Prio1(SchuelerID) == false)
|
||||
{
|
||||
berufhinweis += "\r\n- Es fehlt ein Berufswunsch mit Priorität 1";
|
||||
}
|
||||
if (BlazorApp.Controller.SchuelerBerufController.Has_Dublicates(SchuelerID) == true)
|
||||
{
|
||||
berufhinweis += "\r\n- Berufe wurden doppelt ausgewählt";
|
||||
}
|
||||
|
||||
}
|
||||
catch { };
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
74
BlazorApp/Pages/Shared/KlasseList.razor
Normal file
74
BlazorApp/Pages/Shared/KlasseList.razor
Normal file
@@ -0,0 +1,74 @@
|
||||
@using BWPMModels;
|
||||
|
||||
<RadzenDropDown AllowClear="true" TValue="string" @bind-Value=@KlasseID
|
||||
Data=@intKlasse
|
||||
Change=@(args => OnChange(args, "DropDown")) TextProperty="bezeichnung" ValueProperty="id" />
|
||||
|
||||
@code {
|
||||
[Parameter]
|
||||
public EventCallback<string> OnKlasseChanged { get; set; }
|
||||
|
||||
public string KlasseID;
|
||||
public List<iKlasse> intKlasse = new List<iKlasse>();
|
||||
public List<BWPMModels.Klasse> Klasse { get; set; } = BlazorApp.Controller.KlasseController.GetAllActiveData();
|
||||
|
||||
public class iKlasse
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string bezeichnung { get; set; }
|
||||
}
|
||||
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
intKlasse.Clear();
|
||||
foreach (BWPMModels.Klasse item in Klasse)
|
||||
{
|
||||
iKlasse kl = new iKlasse();
|
||||
kl.id = item.ID.ToString();
|
||||
kl.bezeichnung = item.bezeichnung;
|
||||
intKlasse.Add(kl);
|
||||
};
|
||||
KlasseID = Klasse[0].ID.ToString();
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Task OnChange(object value, string name)
|
||||
{
|
||||
try
|
||||
{
|
||||
KlasseID = value.ToString();
|
||||
return OnKlasseChanged.InvokeAsync(KlasseID);
|
||||
}
|
||||
catch
|
||||
{
|
||||
return OnKlasseChanged.InvokeAsync("0");
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
public string GetKlasseID()
|
||||
{
|
||||
return KlasseID;
|
||||
}
|
||||
|
||||
public void ReloadByLehrer(string LID)
|
||||
{
|
||||
Klasse = BlazorApp.Controller.KlasseController.GetByLehrerID(Convert.ToInt32(LID));
|
||||
intKlasse.Clear();
|
||||
foreach (BWPMModels.Klasse item in Klasse)
|
||||
{
|
||||
iKlasse kl = new iKlasse();
|
||||
kl.id = item.ID.ToString();
|
||||
kl.bezeichnung = item.bezeichnung;
|
||||
intKlasse.Add(kl);
|
||||
};
|
||||
try
|
||||
{
|
||||
KlasseID = Klasse[0].ID.ToString();
|
||||
}
|
||||
catch { KlasseID = "0"; }
|
||||
}
|
||||
|
||||
}
|
||||
55
BlazorApp/Pages/Shared/LehrerList.razor
Normal file
55
BlazorApp/Pages/Shared/LehrerList.razor
Normal file
@@ -0,0 +1,55 @@
|
||||
@using BWPMModels;
|
||||
|
||||
<RadzenDropDown AllowClear="true" TValue="string" @bind-Value=@LehrerID
|
||||
Data=@intLehrer
|
||||
Change=@(args => OnChange(args, "DropDown")) TextProperty="bezeichnung" ValueProperty="id" />
|
||||
|
||||
@code {
|
||||
[Parameter]
|
||||
public EventCallback<string> OnLehrerChanged { get; set; }
|
||||
|
||||
public string LehrerID;
|
||||
public List<iLehrer> intLehrer = new List<iLehrer>();
|
||||
public List<BWPMModels.Lehrer> Lehrer { get; set; } = BlazorApp.Controller.LehrerController.GetAllActiveData();
|
||||
|
||||
public class iLehrer
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string bezeichnung { get; set; }
|
||||
}
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
Lehrer = BlazorApp.Controller.LehrerController.GetAllActiveData();
|
||||
intLehrer.Clear();
|
||||
foreach (BWPMModels.Lehrer item in Lehrer)
|
||||
{
|
||||
iLehrer ll = new iLehrer();
|
||||
ll.id = item.ID.ToString();
|
||||
ll.bezeichnung = item.name.ToString() + " " + item.vorname.ToString();
|
||||
intLehrer.Add(ll);
|
||||
}
|
||||
LehrerID = Lehrer[0].ID.ToString();
|
||||
}
|
||||
|
||||
|
||||
public Task OnChange(object value, string name)
|
||||
{
|
||||
try
|
||||
{
|
||||
LehrerID = value.ToString();
|
||||
return OnLehrerChanged.InvokeAsync(LehrerID);
|
||||
}
|
||||
catch
|
||||
{
|
||||
return OnLehrerChanged.InvokeAsync("0");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public string GetLehrerID()
|
||||
{
|
||||
return LehrerID;
|
||||
}
|
||||
|
||||
}
|
||||
48
BlazorApp/Pages/Shared/OffenePlaetze.razor
Normal file
48
BlazorApp/Pages/Shared/OffenePlaetze.razor
Normal file
@@ -0,0 +1,48 @@
|
||||
@using Syncfusion.Blazor.Grids;
|
||||
@using BlazorApp.Helper
|
||||
@using BWPMModels;
|
||||
|
||||
<SfGrid ID="Grid6" DataSource="@GridDataZuteilung" @ref="GridZuteilung" AllowPaging="true" AllowSorting="true"
|
||||
Toolbar="@(new List<string>() { "Add", "Edit", "Update", "Cancel" })"
|
||||
ContextMenuItems="@(new List<Object>(){ new ContextMenuItemModel { Text = "Zuteilen", Target = ".e-content"} })">
|
||||
<GridPageSettings PageCount="5" PageSizes="true"></GridPageSettings>
|
||||
<GridEditSettings AllowAdding="false" AllowDeleting="false" AllowEditing="false" Mode="EditMode.Dialog"></GridEditSettings>
|
||||
<GridEvents ContextMenuItemClicked="OnContextMenuClick" TValue="View_Offene_Plaetze"></GridEvents>
|
||||
<GridColumns>
|
||||
<GridColumn Field=@nameof(View_Offene_Plaetze.ID) HeaderText="Id" IsPrimaryKey="true" AllowAdding="false" Width="60" Visible="false"> </GridColumn>
|
||||
<GridColumn Field=@nameof(View_Offene_Plaetze.nameZ1) HeaderText="Firma" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(View_Offene_Plaetze.zeit) HeaderText="Zeit" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(View_Offene_Plaetze.anzahl) HeaderText="Anzahl" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(View_Offene_Plaetze.typ) HeaderText="Typ" Width="40" Visible="true"></GridColumn>
|
||||
</GridColumns>
|
||||
</SfGrid>
|
||||
|
||||
|
||||
@code {
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<string> OnGridChanged { get; set; }
|
||||
public int SchuelerID { get; set; }
|
||||
|
||||
SfGrid<View_Offene_Plaetze> GridZuteilung { get; set; }
|
||||
|
||||
public List<BWPMModels.View_Offene_Plaetze> GridDataZuteilung { get; set; }
|
||||
BWPMModels.Zuteilung NeuZuteilung { get; set; }
|
||||
|
||||
private Task OnContextMenuClick(ContextMenuClickEventArgs<View_Offene_Plaetze> args)
|
||||
{
|
||||
|
||||
int s =0;
|
||||
s = SchuelerID;
|
||||
int b = 0;
|
||||
b = GridDataZuteilung[Convert.ToInt32(args.RowInfo.RowIndex)].ID;
|
||||
BlazorApp.Controller.ZuteilungController.insert_zuteilung(s, b);
|
||||
return OnGridChanged.InvokeAsync(s.ToString());
|
||||
}
|
||||
|
||||
public void ReloadData(int IBerufID, int IKlassentypID)
|
||||
{
|
||||
GridDataZuteilung = BlazorApp.Controller.ZuteilungController.GetOffenePlaetze(IBerufID, IKlassentypID);
|
||||
GridZuteilung.Refresh();
|
||||
}
|
||||
}
|
||||
75
BlazorApp/Pages/Shared/SchuelerList.razor
Normal file
75
BlazorApp/Pages/Shared/SchuelerList.razor
Normal file
@@ -0,0 +1,75 @@
|
||||
@using BWPMModels;
|
||||
<RadzenListBox @bind-Value=@SchuelerID
|
||||
Data=@schuelerliste TextProperty="bezeichnung" ValueProperty="id" Style="height:350px"
|
||||
Change=@(args => SchuelerChange(args, "schuelerlist")) />
|
||||
|
||||
@code {
|
||||
[Parameter]
|
||||
public EventCallback<string> OnSchuelerChanged { get; set; }
|
||||
|
||||
public List<BWPMModels.Schueler> Schueler { get; set; }
|
||||
private Schueler _schueler { get; set; } = new BWPMModels.Schueler();
|
||||
public List<Schuelerlist> schuelerliste = new List<Schuelerlist>();
|
||||
public int SchuelerID;
|
||||
public class Schuelerlist
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string bezeichnung { get; set; }
|
||||
}
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public string ReloadData(string KlasseID)
|
||||
{
|
||||
if (KlasseID == "-1")
|
||||
{
|
||||
Schueler = BlazorApp.Controller.SchuelerController.GetAllActiveData();
|
||||
}
|
||||
else{
|
||||
Schueler = BlazorApp.Controller.SchuelerController.GetByKlasseID(Convert.ToInt32(KlasseID));
|
||||
}
|
||||
|
||||
|
||||
schuelerliste.Clear();
|
||||
|
||||
int newschuelerid = 0;
|
||||
bool found = false;
|
||||
foreach (BWPMModels.Schueler item in Schueler)
|
||||
{
|
||||
Schuelerlist sl = new Schuelerlist();
|
||||
sl.id = item.ID;
|
||||
if (newschuelerid == 0) { newschuelerid = sl.id; };
|
||||
//if (SchuelerID == sl.id) { found = true; }
|
||||
sl.bezeichnung = item.name + " " + item.vorname;
|
||||
schuelerliste.Add(sl);
|
||||
|
||||
};
|
||||
SelectFirst();
|
||||
return SchuelerID.ToString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
public Task SchuelerChange(object value, string name)
|
||||
{
|
||||
var str = value is IEnumerable<object> ? string.Join(", ", (IEnumerable<object>)value) : value;
|
||||
return OnSchuelerChanged.InvokeAsync(str.ToString());
|
||||
}
|
||||
|
||||
public string GetSchuelerID()
|
||||
{
|
||||
return SchuelerID.ToString();
|
||||
}
|
||||
|
||||
public void SelectFirst()
|
||||
{
|
||||
try
|
||||
{
|
||||
SchuelerID = schuelerliste[0].id;
|
||||
}
|
||||
catch { SchuelerID = 0; };
|
||||
}
|
||||
|
||||
}
|
||||
@@ -94,9 +94,13 @@
|
||||
Typ
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<SfDropDownList @bind-Value="@KlasseTypID" TValue="string" TItem="Klassentyp" Placeholder="Klassentyp" DataSource="@klassentyp" Enabled="@DropDownEnabled">
|
||||
<RadzenDropDown AllowClear="true" TValue="string" @bind-Value=@KlasseTypID
|
||||
Data=@klassentyp
|
||||
TextProperty="bezeichnung" ValueProperty="id" />
|
||||
@* <SfDropDownList @bind-Value="@KlasseTypID" TValue="string" TItem="Klassentyp" Placeholder="Klassentyp" DataSource="@klassentyp" Enabled="@DropDownEnabled">
|
||||
<DropDownListFieldSettings Value="ID" Text="bezeichnung"></DropDownListFieldSettings>
|
||||
</SfDropDownList>
|
||||
*@
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
</div>
|
||||
@@ -271,7 +275,7 @@ new ContextMenuItemModel
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
|
||||
if (paramtid!=0)
|
||||
if (paramtid != 0)
|
||||
{
|
||||
lehrerID = paramtid.ToString();
|
||||
}
|
||||
@@ -363,7 +367,7 @@ new ContextMenuItemModel
|
||||
Schueler = BlazorApp.Controller.SchuelerController.GetByID(Convert.ToInt32(SchuelerID));
|
||||
_schueler = Schueler.First<BWPMModels.Schueler>();
|
||||
SchuelerklasseID = _schueler.klasseID.ToString();
|
||||
KlasseTypID = _schueler.klassemtypID.ToString();
|
||||
KlasseTypID = _schueler.klassentypID.ToString();
|
||||
FieldDisabled = false;
|
||||
DropDownEnabled = true;
|
||||
update_griddata();
|
||||
@@ -390,7 +394,7 @@ new ContextMenuItemModel
|
||||
_tmpschueler.vorname = _schueler.vorname;
|
||||
_tmpschueler.bemerkung = _schueler.bemerkung;
|
||||
_tmpschueler.klasseID = Convert.ToInt32(SchuelerklasseID);
|
||||
_tmpschueler.klassemtypID = Convert.ToInt32(KlasseTypID);
|
||||
_tmpschueler.klassentypID = Convert.ToInt32(KlasseTypID);
|
||||
BlazorApp.Controller.SchuelerController.PUT(_tmpschueler);
|
||||
UpdateSchulerliste();
|
||||
}
|
||||
@@ -407,7 +411,7 @@ new ContextMenuItemModel
|
||||
schuelerdata.vorname = "";
|
||||
schuelerdata.bemerkung = "";
|
||||
schuelerdata.klasseID = Convert.ToInt32(KlasseID);
|
||||
schuelerdata.klassemtypID = Convert.ToInt32(KlasseTypID);
|
||||
schuelerdata.klassentypID = Convert.ToInt32(KlasseTypID);
|
||||
schuelerid = BlazorApp.Controller.SchuelerController.POST(schuelerdata);
|
||||
FieldDisabled = false;
|
||||
DropDownEnabled = true;
|
||||
@@ -550,7 +554,7 @@ new ContextMenuItemModel
|
||||
|
||||
|
||||
}
|
||||
if (args.Item.Id =="Prio")
|
||||
if (args.Item.Id == "Prio")
|
||||
if (args.Item.Id == "Bearbeiten")
|
||||
{
|
||||
|
||||
@@ -712,4 +716,4 @@ new ContextMenuItemModel
|
||||
SchuelerID = args.RowData.id;
|
||||
SchuelerSelected();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@page "/"
|
||||
@page "/"
|
||||
@namespace BlazorApp.Pages
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@{
|
||||
@@ -21,6 +21,7 @@
|
||||
<link rel="stylesheet" href="_content/Radzen.Blazor/css/default-base.css">
|
||||
<link rel="stylesheet" href="_content/Radzen.Blazor/css/default.css">
|
||||
<link href="css/fas/fontawesome.css" rel="stylesheet">
|
||||
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script src="_content/Radzen.Blazor/Radzen.Blazor.js"></script>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user