Update 07082021
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
is_global = true
|
||||
build_property.RootNamespace = BlazorApp
|
||||
build_property.ProjectDir = e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\
|
||||
@@ -11,6 +11,7 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("FastReport.Web")]
|
||||
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Microsoft.AspNetCore.Identity.UI")]
|
||||
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Microsoft.AspNetCore.Identity.UI.Views.V3")]
|
||||
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Microsoft.AspNetCore.Identity.UI.Views.V4")]
|
||||
|
||||
@@ -1 +1 @@
|
||||
6e34d578825bb695e31b44e0846ec04c6ea04818
|
||||
b09c160abeeffc73ba6017c4f2b3649cdd7d1021
|
||||
|
||||
@@ -1 +1 @@
|
||||
ec2e3996ad303e9670e1cb21250ee9cb38c0e559
|
||||
a77cccb14b89518914423291c0a85ab83d2c656a
|
||||
|
||||
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.
@@ -1 +1 @@
|
||||
97fc988de0a7d668948e8335d0dd713c531482af
|
||||
9500a4b6d758b898f89bc77e14e662d0c7613687
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.csproj.AssemblyReference.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.Resources.SfResources.resources
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.Resources.SfResources.ar.resources
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.Resources.SfResources.de.resources
|
||||
@@ -14,14 +15,19 @@ E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\App.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Areas\Identity\Pages\Account\Login.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Administration.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Admin\Anrede\Anrede.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Admin\AspNetUsers\AspNetUserRolle.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Admin\AspNetUsers\AspNetUsers.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Admin\AspNetUsers\UserRollen.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Admin\Beruf\BerufListe.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Admin\Optionen\OptionenList.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Admin\Schulhaus\SchulhausList.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Admin\ScriptGenerator.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Admin\User\UserList.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Admin\Zeiten\Zeitenlist.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Buttons.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Company\Company.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Component.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Counter.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\FetchData.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Index.razor.g.cs
|
||||
@@ -31,79 +37,6 @@ E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Shared\SurveyPrompt.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\_Imports.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.RazorComponent.output.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\BlazorApp.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.TagHelpers.input.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.TagHelpers.output.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.RazorCoreGenerate.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\App.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Login.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Administration.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\AspNetUsers\AspNetUserRolle.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\AspNetUsers\AspNetUsers.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\AspNetUsers\UserRollen.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\Beruf\BerufListe.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\Schulhaus\SchulhausList.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\User\UserList.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\Zeiten\Zeitenlist.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Buttons.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Counter.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\FetchData.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Index.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Shared\Login.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Shared\MainLayout.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Shared\NavMenu.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Shared\SurveyPrompt.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\_Imports.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\AccessDenied.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ConfirmEmail.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ConfirmEmailChange.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ExternalLogin.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ForgotPassword.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ForgotPasswordConfirmation.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Lockout.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Login.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\LoginWith2fa.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\LoginWithRecoveryCode.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Logout.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\DeletePersonalData.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\Disable2fa.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\DownloadPersonalData.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\Email.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\EnableAuthenticator.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\ExternalLogins.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\GenerateRecoveryCodes.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\Index.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\PersonalData.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\ResetAuthenticator.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\SetPassword.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\ShowRecoveryCodes.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\TwoFactorAuthentication.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\_Layout.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\_StatusMessage.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\_ViewImports.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Register.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\RegisterCompany.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\RegisterConfirmation.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ResetPassword.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ResetPasswordConfirmation.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\_StatusMessage.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\_ViewImports.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Error.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\_ValidationScriptsPartial.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\_ViewImports.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\_ViewStart.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Error.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Shared\_Layout.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Shared\_LoginPartial.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Shared\_ValidationScriptsPartial.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\_Host.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\_ViewImports.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\_ViewStart.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.RazorAssemblyInfo.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.RazorAssemblyInfo.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.csproj.AssemblyReference.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\appsettings.Development.json
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\appsettings.json
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\BlazorApp.StaticWebAssets.xml
|
||||
@@ -266,6 +199,83 @@ E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\BWPMModels.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\BWPMModels.pdb
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\BlazorApp.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.TagHelpers.input.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.TagHelpers.output.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.RazorCoreGenerate.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\App.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Login.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Administration.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\Anrede\Anrede.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\AspNetUsers\AspNetUserRolle.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\AspNetUsers\AspNetUsers.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\AspNetUsers\UserRollen.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\Beruf\BerufListe.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\Optionen\OptionenList.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\Schulhaus\SchulhausList.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\ScriptGenerator.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\User\UserList.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\Zeiten\Zeitenlist.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Buttons.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Company\Company.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Component.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Counter.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\FetchData.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Index.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Shared\Login.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Shared\MainLayout.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Shared\NavMenu.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Shared\SurveyPrompt.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\_Imports.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\AccessDenied.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ConfirmEmail.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ConfirmEmailChange.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ExternalLogin.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ForgotPassword.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ForgotPasswordConfirmation.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Lockout.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Login.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\LoginWith2fa.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\LoginWithRecoveryCode.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Logout.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\DeletePersonalData.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\Disable2fa.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\DownloadPersonalData.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\Email.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\EnableAuthenticator.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\ExternalLogins.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\GenerateRecoveryCodes.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\Index.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\PersonalData.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\ResetAuthenticator.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\SetPassword.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\ShowRecoveryCodes.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\TwoFactorAuthentication.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\_Layout.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\_StatusMessage.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Manage\_ViewImports.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\Register.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\RegisterCompany.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\RegisterConfirmation.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ResetPassword.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\ResetPasswordConfirmation.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\_StatusMessage.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\_ViewImports.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Error.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\_ValidationScriptsPartial.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\_ViewImports.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\_ViewStart.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Error.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Shared\_Layout.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Shared\_LoginPartial.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Shared\_ValidationScriptsPartial.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\_Host.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\_ViewImports.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\_ViewStart.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.RazorAssemblyInfo.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.RazorAssemblyInfo.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\ar\BlazorApp.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\de\BlazorApp.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\en-US\BlazorApp.resources.dll
|
||||
@@ -281,3 +291,38 @@ E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.pdb
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\BlazorApp.genruntimeconfig.cache
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Company\Test.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Company\Test.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Company\CompanyContact.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Company\CompanyContact.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Company\Berufsangebot.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Company\Berufsangebot.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Admin\KlassenTyp\KlassentypList.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Admin\KlassenTyp\KlassentypList.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\FastReport.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\FastReport.Web.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\Microsoft.CodeAnalysis.VisualBasic.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\cs\Microsoft.CodeAnalysis.VisualBasic.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\de\Microsoft.CodeAnalysis.VisualBasic.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\es\Microsoft.CodeAnalysis.VisualBasic.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\fr\Microsoft.CodeAnalysis.VisualBasic.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\it\Microsoft.CodeAnalysis.VisualBasic.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\ja\Microsoft.CodeAnalysis.VisualBasic.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\ko\Microsoft.CodeAnalysis.VisualBasic.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\pl\Microsoft.CodeAnalysis.VisualBasic.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\pt-BR\Microsoft.CodeAnalysis.VisualBasic.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\ru\Microsoft.CodeAnalysis.VisualBasic.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\tr\Microsoft.CodeAnalysis.VisualBasic.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\zh-Hans\Microsoft.CodeAnalysis.VisualBasic.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\zh-Hant\Microsoft.CodeAnalysis.VisualBasic.resources.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\runtimes\any\lib\netcoreapp3.0\FastReport.Compat.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\runtimes\any\lib\netcoreapp3.0\FastReport.DataVisualization.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\FastReport.Compat.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Reporting\Reporting.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Reporting\Reporting.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\bin\Debug\netcoreapp3.1\Microsoft.AspNetCore.ProtectedBrowserStorage.dll
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Areas\Identity\Pages\Account\RegisterTeacher.cshtml.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\ShowConfig.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\ShowConfig.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\RazorDeclaration\Pages\Teacher\Teacher.razor.g.cs
|
||||
E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\obj\Debug\netcoreapp3.1\Razor\Pages\Teacher\Teacher.razor.g.cs
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -97,6 +97,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
+80
-21
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\Login.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "029281d97742375f1153acb304ceef6e79706793"
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\Login.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b93d850779f568e449012f6fe5f919b49507e43e"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Areas_Identity_Pages_Account_Login), @"mvc.1.0.razor-page", @"/Areas/Identity/Pages/Account/Login.cshtml")]
|
||||
@@ -40,15 +40,15 @@ using BlazorApp.Areas.Identity.Pages.Account;
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"029281d97742375f1153acb304ceef6e79706793", @"/Areas/Identity/Pages/Account/Login.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"b93d850779f568e449012f6fe5f919b49507e43e", @"/Areas/Identity/Pages/Account/Login.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"a2fce32d8cc0cb87973e4b93cf81f11dcd05921a", @"/Areas/Identity/Pages/_ViewImports.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"f807d0fcd0c379e4ca176598093eb40e60c5f1c7", @"/Areas/Identity/Pages/Account/_ViewImports.cshtml")]
|
||||
public class Areas_Identity_Pages_Account_Login : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
|
||||
{
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("text-danger"), 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"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("value", "info@shub.ch", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("value", "Admin*123", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("value", "hutter@shub.ch", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("value", "b", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_4 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("id", new global::Microsoft.AspNetCore.Html.HtmlString("forgot-password"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_5 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-page", "./ForgotPassword", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_6 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-page", "./Register", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
@@ -104,9 +104,9 @@ using BlazorApp.Areas.Identity.Pages.Account;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral("</h1>\r\n\r\n <div class=\"card shadow-lg p-3 mb-5 bg-white rounded\">\r\n <h4 class=\"card-header\">Login</h4>\r\n <div class=\"card-body\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "029281d97742375f1153acb304ceef6e797067938761", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b93d850779f568e449012f6fe5f919b49507e43e8755", async() => {
|
||||
WriteLiteral("\r\n <h4>Bitte melden Sie sich mit Ihrer UserID/Passwort an</h4>\r\n <hr />\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "029281d97742375f1153acb304ceef6e797067939140", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b93d850779f568e449012f6fe5f919b49507e43e9134", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>();
|
||||
@@ -128,7 +128,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSumma
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n <div class=\"form-group\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "029281d97742375f1153acb304ceef6e7970679310888", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b93d850779f568e449012f6fe5f919b49507e43e10882", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
|
||||
@@ -149,7 +149,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvid
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "029281d97742375f1153acb304ceef6e7970679312426", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b93d850779f568e449012f6fe5f919b49507e43e12420", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
|
||||
@@ -173,7 +173,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvid
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "029281d97742375f1153acb304ceef6e7970679314253", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b93d850779f568e449012f6fe5f919b49507e43e14247", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
|
||||
@@ -195,7 +195,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpr
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n </div>\r\n <div class=\"form-group\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "029281d97742375f1153acb304ceef6e7970679316020", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b93d850779f568e449012f6fe5f919b49507e43e16014", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
|
||||
@@ -215,14 +215,15 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvid
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "029281d97742375f1153acb304ceef6e7970679317561", async() => {
|
||||
WriteLiteral("\r\n");
|
||||
WriteLiteral(" ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b93d850779f568e449012f6fe5f919b49507e43e17590", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
|
||||
#nullable restore
|
||||
#line 24 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\Login.cshtml"
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\Login.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.Password);
|
||||
|
||||
#line default
|
||||
@@ -240,13 +241,13 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvid
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "029281d97742375f1153acb304ceef6e7970679319391", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b93d850779f568e449012f6fe5f919b49507e43e19420", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\Login.cshtml"
|
||||
#line 26 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\Login.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.Password);
|
||||
|
||||
#line default
|
||||
@@ -261,9 +262,67 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpr
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n </div>\r\n");
|
||||
WriteLiteral(" <div class=\"form-group\">\r\n <button type=\"submit\" class=\"btn btn-primary\">Log in</button>\r\n </div>\r\n <div class=\"form-group\">\r\n <p>\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "029281d97742375f1153acb304ceef6e7970679321388", async() => {
|
||||
WriteLiteral("\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"checkbox\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b93d850779f568e449012f6fe5f919b49507e43e21242", async() => {
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b93d850779f568e449012f6fe5f919b49507e43e21538", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\Login.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.RememberMe);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
#nullable restore
|
||||
#line 32 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\Login.cshtml"
|
||||
Write(Html.DisplayNameFor(m => m.Input.RememberMe));
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral("\r\n ");
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
|
||||
#nullable restore
|
||||
#line 30 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\Login.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.RememberMe);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral(@"
|
||||
</div>
|
||||
</div>
|
||||
<div class=""form-group"">
|
||||
<button type=""submit"" class=""btn btn-primary"">Log in</button>
|
||||
</div>
|
||||
<div class=""form-group"">
|
||||
<p>
|
||||
");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b93d850779f568e449012f6fe5f919b49507e43e25062", async() => {
|
||||
WriteLiteral("Passwort vergessen?");
|
||||
}
|
||||
);
|
||||
@@ -280,7 +339,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpr
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n </p>\r\n <p>\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "029281d97742375f1153acb304ceef6e7970679322785", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b93d850779f568e449012f6fe5f919b49507e43e26459", async() => {
|
||||
WriteLiteral("Neu registrieren");
|
||||
}
|
||||
);
|
||||
@@ -294,7 +353,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpr
|
||||
}
|
||||
BeginWriteTagHelperAttribute();
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\Login.cshtml"
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\Login.cshtml"
|
||||
WriteLiteral(Model.ReturnUrl);
|
||||
|
||||
#line default
|
||||
@@ -331,7 +390,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpr
|
||||
WriteLiteral("\r\n\r\n");
|
||||
DefineSection("Scripts", async() => {
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "029281d97742375f1153acb304ceef6e7970679326614", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b93d850779f568e449012f6fe5f919b49507e43e30288", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>();
|
||||
|
||||
@@ -97,6 +97,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
+510
@@ -0,0 +1,510 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "49b41b61632868591eee346e89d9e69cc5f3b554"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Areas_Identity_Pages_Account_RegisterTeacher), @"mvc.1.0.razor-page", @"/Areas/Identity/Pages/Account/RegisterTeacher.cshtml")]
|
||||
namespace AspNetCore
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc.Rendering;
|
||||
using Microsoft.AspNetCore.Mvc.ViewFeatures;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\_ViewImports.cshtml"
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\_ViewImports.cshtml"
|
||||
using BlazorApp.Areas.Identity;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\_ViewImports.cshtml"
|
||||
using BlazorApp.Areas.Identity.Pages;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\_ViewImports.cshtml"
|
||||
using BlazorApp.Areas.Identity.Pages.Account;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"49b41b61632868591eee346e89d9e69cc5f3b554", @"/Areas/Identity/Pages/Account/RegisterTeacher.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"a2fce32d8cc0cb87973e4b93cf81f11dcd05921a", @"/Areas/Identity/Pages/_ViewImports.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"f807d0fcd0c379e4ca176598093eb40e60c5f1c7", @"/Areas/Identity/Pages/Account/_ViewImports.cshtml")]
|
||||
public class Areas_Identity_Pages_Account_RegisterTeacher : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
|
||||
{
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("text-danger"), 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"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("method", "post", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("id", new global::Microsoft.AspNetCore.Html.HtmlString("external-account"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_4 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-page", "./ExternalLogin", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_5 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("form-horizontal"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_6 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("name", "_ValidationScriptsPartial", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
#line hidden
|
||||
#pragma warning disable 0649
|
||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
||||
#pragma warning restore 0649
|
||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
||||
#pragma warning disable 0169
|
||||
private string __tagHelperStringValueBuffer;
|
||||
#pragma warning restore 0169
|
||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __tagHelperScopeManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if (__backed__tagHelperScopeManager == null)
|
||||
{
|
||||
__backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
|
||||
}
|
||||
return __backed__tagHelperScopeManager;
|
||||
}
|
||||
}
|
||||
private global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper;
|
||||
private global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper;
|
||||
private global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper;
|
||||
private global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper;
|
||||
private global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper;
|
||||
private global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper;
|
||||
private global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper;
|
||||
#pragma warning disable 1998
|
||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||
{
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
|
||||
ViewData["Title"] = "Registrierung als Lehrperson";
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral("\r\n<h1>");
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
Write(ViewData["Title"]);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral("</h1>\r\n<div class=\"card shadow-lg p-3 mb-5 bg-white rounded\">\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-4\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "49b41b61632868591eee346e89d9e69cc5f3b5547758", async() => {
|
||||
WriteLiteral("\r\n <h4>Neues Konto erstellen</h4>\r\n <hr />\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "49b41b61632868591eee346e89d9e69cc5f3b5548108", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper);
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.All;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n <div class=\"form-group\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "49b41b61632868591eee346e89d9e69cc5f3b5549866", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.Email);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "49b41b61632868591eee346e89d9e69cc5f3b55411413", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.Email);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "49b41b61632868591eee346e89d9e69cc5f3b55413042", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.Email);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n </div>\r\n <div class=\"form-group\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "49b41b61632868591eee346e89d9e69cc5f3b55414819", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
|
||||
#nullable restore
|
||||
#line 22 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.Password);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "49b41b61632868591eee346e89d9e69cc5f3b55416370", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.Password);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "49b41b61632868591eee346e89d9e69cc5f3b55418002", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
|
||||
#nullable restore
|
||||
#line 24 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.Password);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n </div>\r\n <div class=\"form-group\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "49b41b61632868591eee346e89d9e69cc5f3b55419782", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.ConfirmPassword);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "49b41b61632868591eee346e89d9e69cc5f3b55421340", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
|
||||
#nullable restore
|
||||
#line 28 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.ConfirmPassword);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "49b41b61632868591eee346e89d9e69cc5f3b55422979", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.ConfirmPassword);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n </div>\r\n <button type=\"submit\" class=\"btn btn-primary\">Register</button>\r\n ");
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
|
||||
if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null)
|
||||
{
|
||||
throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-returnUrl", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues"));
|
||||
}
|
||||
BeginWriteTagHelperAttribute();
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
WriteLiteral(Model.ReturnUrl);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"] = __tagHelperStringValueBuffer;
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-route-returnUrl", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_2.Value;
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n </div>\r\n <div class=\"col-md-6 col-md-offset-2\">\r\n <section>\r\n <h4>Ablauf</h4>\r\n <hr />\r\n");
|
||||
#nullable restore
|
||||
#line 38 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
|
||||
if ((Model.ExternalLogins?.Count ?? 0) == 0)
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral(@" <div>
|
||||
<p>
|
||||
Nach der Registrierung erhalten Sie ein E-Mail um Ihr Konto zu bestätigen.
|
||||
</p>
|
||||
<p>
|
||||
Nach der Bestätigung können Sie Ihre Daten verwalten.
|
||||
</p>
|
||||
</div>
|
||||
");
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral(" ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "49b41b61632868591eee346e89d9e69cc5f3b55428277", async() => {
|
||||
WriteLiteral("\r\n <div>\r\n <p>\r\n");
|
||||
#nullable restore
|
||||
#line 55 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
foreach (var provider in Model.ExternalLogins)
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral(" <button type=\"submit\" class=\"btn btn-primary\" name=\"provider\"");
|
||||
BeginWriteAttribute("value", " value=\"", 2705, "\"", 2727, 1);
|
||||
#nullable restore
|
||||
#line 57 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
WriteAttributeValue("", 2713, provider.Name, 2713, 14, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
EndWriteAttribute();
|
||||
BeginWriteAttribute("title", " title=\"", 2728, "\"", 2783, 6);
|
||||
WriteAttributeValue("", 2736, "Log", 2736, 3, true);
|
||||
WriteAttributeValue(" ", 2739, "in", 2740, 3, true);
|
||||
WriteAttributeValue(" ", 2742, "using", 2743, 6, true);
|
||||
WriteAttributeValue(" ", 2748, "your", 2749, 5, true);
|
||||
#nullable restore
|
||||
#line 57 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
WriteAttributeValue(" ", 2753, provider.DisplayName, 2754, 21, false);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteAttributeValue(" ", 2775, "account", 2776, 8, true);
|
||||
EndWriteAttribute();
|
||||
WriteLiteral(">");
|
||||
#nullable restore
|
||||
#line 57 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
Write(provider.DisplayName);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral("</button>\r\n");
|
||||
#nullable restore
|
||||
#line 58 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral(" </p>\r\n </div>\r\n ");
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Page = (string)__tagHelperAttribute_4.Value;
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
|
||||
if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null)
|
||||
{
|
||||
throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-returnUrl", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues"));
|
||||
}
|
||||
BeginWriteTagHelperAttribute();
|
||||
#nullable restore
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
WriteLiteral(Model.ReturnUrl);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"] = __tagHelperStringValueBuffer;
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("asp-route-returnUrl", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_2.Value;
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
|
||||
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n");
|
||||
#nullable restore
|
||||
#line 62 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Areas\Identity\Pages\Account\RegisterTeacher.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral(" </section>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n");
|
||||
DefineSection("Scripts", async() => {
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "49b41b61632868591eee346e89d9e69cc5f3b55434119", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = (string)__tagHelperAttribute_6.Value;
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
|
||||
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
|
||||
if (!__tagHelperExecutionContext.Output.IsContentModified)
|
||||
{
|
||||
await __tagHelperExecutionContext.SetOutputContentAsync();
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
}
|
||||
);
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
||||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<RegisterComapnyModel> Html { get; private set; }
|
||||
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<RegisterComapnyModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<RegisterComapnyModel>)PageContext?.ViewData;
|
||||
public RegisterComapnyModel Model => ViewData.Model;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,699 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3538d209e87f423f5f09fe8b374bb5e5d4896537"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.Anrede
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Anrede/AnredeList")]
|
||||
public partial class Anrede : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>Anrede</h1>\r\n\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.AddMarkupContent(3, "\r\n ");
|
||||
__builder.OpenElement(4, "div");
|
||||
__builder.AddAttribute(5, "class", "content-wrapper");
|
||||
__builder.AddMarkupContent(6, "\r\n ");
|
||||
__builder.OpenElement(7, "div");
|
||||
__builder.AddAttribute(8, "class", "row");
|
||||
__builder.AddMarkupContent(9, "\r\n ");
|
||||
__Blazor.BlazorApp.Pages.Admin.Anrede.Anrede.TypeInference.CreateSfGrid_0(__builder, 10, 11,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 13,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 14,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
new List<string>() { "Add", "Edit", "Update", "Cancel" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 15, (__builder2) => {
|
||||
__builder2.AddMarkupContent(16, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(17);
|
||||
__builder2.AddAttribute(18, "PageCount", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
5
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(19, "PageSizes", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(20, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(21);
|
||||
__builder2.AddAttribute(22, "AllowAdding", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(23, "AllowDeleting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(24, "AllowEditing", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(25, "Mode", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(26, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<BWPMModels.Anrede>>(27);
|
||||
__builder2.AddAttribute(28, "OnActionBegin", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<BWPMModels.Anrede>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<BWPMModels.Anrede>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(29, "OnActionComplete", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<BWPMModels.Anrede>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<BWPMModels.Anrede>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
OnCompletedHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(30, "OnDataBound", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<BWPMModels.Anrede>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<BWPMModels.Anrede>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
RowDataBoundHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(31, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(32);
|
||||
__builder2.AddAttribute(33, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.AddMarkupContent(34, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(35);
|
||||
__builder3.AddAttribute(36, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
ColumnType.CheckBox
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(37, "AllowFiltering", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(38, "AllowSorting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(39, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(40, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(41);
|
||||
__builder3.AddAttribute(42, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
nameof(BWPMModels.Anrede.ID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(43, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(44, "IsPrimaryKey", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(45, "AllowAdding", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(46, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(47, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(48);
|
||||
__builder3.AddAttribute(49, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
nameof(BWPMModels.Anrede.bezeichnung)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(50, "HeaderText", "Bezeichnung");
|
||||
__builder3.AddAttribute(51, "Width", "100");
|
||||
__builder3.AddAttribute(52, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(53, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(54);
|
||||
__builder3.AddAttribute(55, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
nameof(BWPMModels.Anrede.erstellt_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(56, "HeaderText", "Erstellt_am");
|
||||
__builder3.AddAttribute(57, "Width", "100");
|
||||
__builder3.AddAttribute(58, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(59, "Format", "d");
|
||||
__builder3.AddAttribute(60, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(61, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(62);
|
||||
__builder3.AddAttribute(63, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
nameof(BWPMModels.Anrede.mutiert_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(64, "HeaderText", "Mutiert_am");
|
||||
__builder3.AddAttribute(65, "Width", "100");
|
||||
__builder3.AddAttribute(66, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(67, "Format", "d");
|
||||
__builder3.AddAttribute(68, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(69, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(70);
|
||||
__builder3.AddAttribute(71, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
nameof(BWPMModels.Anrede.mutierer)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(72, "HeaderText", "Mutierer");
|
||||
__builder3.AddAttribute(73, "Width", "100");
|
||||
__builder3.AddAttribute(74, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(75, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(76);
|
||||
__builder3.AddAttribute(77, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
nameof(BWPMModels.Anrede.aktiv)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(78, "HeaderText", "Aktiv");
|
||||
__builder3.AddAttribute(79, "Width", "100");
|
||||
__builder3.AddAttribute(80, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(81, "DisplayAsCheckBox", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(82, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(83, "\r\n ");
|
||||
}
|
||||
, 84, (__value) => {
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.AddMarkupContent(85, "\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(86, "\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(87, "\r\n");
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
SfGrid<BWPMModels.Anrede> Grid { get; set; }
|
||||
public List<BWPMModels.Anrede> GridData { get; set; }
|
||||
public List<BWPMModels.Anrede> Anredes { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.AnredeController.GetAllData();
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Anrede> 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.AnredeController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.AnredeController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Anrede> 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.Anrede> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
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 < BWPMModels.Anrede> 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; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.Anrede.Anrede
|
||||
{
|
||||
#line hidden
|
||||
internal static class TypeInference
|
||||
{
|
||||
public static void CreateSfGrid_0<TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Collections.Generic.IEnumerable<TValue> __arg0, int __seq1, global::System.Boolean __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Object __arg3, int __seq4, global::Microsoft.AspNetCore.Components.RenderFragment __arg4, int __seq5, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg5)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "DataSource", __arg0);
|
||||
__builder.AddAttribute(__seq1, "AllowPaging", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowSorting", __arg2);
|
||||
__builder.AddAttribute(__seq3, "Toolbar", __arg3);
|
||||
__builder.AddAttribute(__seq4, "ChildContent", __arg4);
|
||||
__builder.AddComponentReferenceCapture(__seq5, (__value) => { __arg5((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
+31
-3
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f07f0cb92830a847310cda835974e03731d9f780"
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0813a3b6fea7efd0a740b2ff6b92179e9f227eae"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.AspNetUsers
|
||||
@@ -90,6 +90,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
@@ -1075,7 +1103,7 @@ using BlazorApp.Controller;
|
||||
BWPMModels.AspNetUsers usr = new BWPMModels.AspNetUsers();
|
||||
usr.Id = Gridid;
|
||||
usr.PasswordHash = password;
|
||||
BlazorApp.Controller.AspNetUserRolleController.savepassword(usr);
|
||||
BlazorApp.Controller.AspNetUserRolleController.PUTPassword(usr);
|
||||
|
||||
this.IsVisible = false;
|
||||
}
|
||||
@@ -1161,7 +1189,7 @@ using BlazorApp.Controller;
|
||||
AspNetUserRoles rolle = new AspNetUserRoles();
|
||||
rolle.RoleId = Args.Data.RoleId;
|
||||
rolle.UserId = Args.Data.Id;
|
||||
BlazorApp.Controller.AspNetUserRolesController.savedata(rolle);
|
||||
BlazorApp.Controller.AspNetUserRolesController.PUT(rolle);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+30
-2
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "cc01cd7b5459ea98fe05e26a9c5c94fa8f7288ae"
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "970cd03a38281449cef761d0506c089cb380cd37"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.AspNetUsers
|
||||
@@ -97,6 +97,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
@@ -722,7 +750,7 @@ using BlazorApp.Controller;
|
||||
}
|
||||
else
|
||||
{
|
||||
BlazorApp.Controller.AspNetUsersController.savedata(Args.Data);
|
||||
BlazorApp.Controller.AspNetUsersController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+30
-4
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "46df865b3cc7119e5a080eb227141b59967f44ed"
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "993489f02727a6f474529b0b8501bf190fb1e840"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.AspNetUsers
|
||||
@@ -97,6 +97,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
@@ -603,12 +631,10 @@ using BlazorApp.Controller;
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
BlazorApp.Controller.AspNetRolesController.savedata(Args.Data);
|
||||
BlazorApp.Controller.AspNetRolesController.POST(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9e6dbfbca64eb1ddcb4b13e939a9ba14483d5390"
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f92d8b3d51840714dbd281384c3889e6eb72e437"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.Beruf
|
||||
@@ -90,6 +90,34 @@ using Syncfusion.Blazor.Calendars;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
@@ -284,11 +312,11 @@ using BlazorApp.Controller;
|
||||
__builder2.AddMarkupContent(31, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(32);
|
||||
__builder2.AddAttribute(33, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.AddMarkupContent(34, "\r\n 0\r\n\r\n ");
|
||||
__builder3.AddMarkupContent(34, "\r\n \r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(35);
|
||||
__builder3.AddAttribute(36, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 32 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.ID)
|
||||
|
||||
#line default
|
||||
@@ -298,7 +326,7 @@ using BlazorApp.Controller;
|
||||
__builder3.AddAttribute(37, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(38, "IsPrimaryKey", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 32 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -307,7 +335,7 @@ using BlazorApp.Controller;
|
||||
));
|
||||
__builder3.AddAttribute(39, "AllowAdding", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 32 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
@@ -320,7 +348,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(42);
|
||||
__builder3.AddAttribute(43, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 34 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.bezeichnung)
|
||||
|
||||
#line default
|
||||
@@ -331,7 +359,7 @@ using BlazorApp.Controller;
|
||||
__builder3.AddAttribute(45, "Width", "100");
|
||||
__builder3.AddAttribute(46, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 34 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -343,7 +371,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(48);
|
||||
__builder3.AddAttribute(49, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 36 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.lehrjahre)
|
||||
|
||||
#line default
|
||||
@@ -354,7 +382,7 @@ using BlazorApp.Controller;
|
||||
__builder3.AddAttribute(51, "Width", "100");
|
||||
__builder3.AddAttribute(52, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 36 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -366,7 +394,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(54);
|
||||
__builder3.AddAttribute(55, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 38 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.anmerkung)
|
||||
|
||||
#line default
|
||||
@@ -377,7 +405,7 @@ using BlazorApp.Controller;
|
||||
__builder3.AddAttribute(57, "Width", "100");
|
||||
__builder3.AddAttribute(58, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 38 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -389,7 +417,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(60);
|
||||
__builder3.AddAttribute(61, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.beschreibung)
|
||||
|
||||
#line default
|
||||
@@ -400,7 +428,7 @@ using BlazorApp.Controller;
|
||||
__builder3.AddAttribute(63, "Width", "100");
|
||||
__builder3.AddAttribute(64, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -412,7 +440,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(66);
|
||||
__builder3.AddAttribute(67, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 42 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.klasseNr)
|
||||
|
||||
#line default
|
||||
@@ -423,7 +451,7 @@ using BlazorApp.Controller;
|
||||
__builder3.AddAttribute(69, "Width", "100");
|
||||
__builder3.AddAttribute(70, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 42 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -435,7 +463,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(72);
|
||||
__builder3.AddAttribute(73, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.aktiv)
|
||||
|
||||
#line default
|
||||
@@ -446,7 +474,7 @@ using BlazorApp.Controller;
|
||||
__builder3.AddAttribute(75, "Width", "100");
|
||||
__builder3.AddAttribute(76, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -455,7 +483,7 @@ using BlazorApp.Controller;
|
||||
));
|
||||
__builder3.AddAttribute(77, "DisplayAsCheckBox", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -467,7 +495,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(79);
|
||||
__builder3.AddAttribute(80, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 46 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.erstellt_am)
|
||||
|
||||
#line default
|
||||
@@ -478,7 +506,7 @@ using BlazorApp.Controller;
|
||||
__builder3.AddAttribute(82, "Width", "100");
|
||||
__builder3.AddAttribute(83, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 46 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
@@ -488,7 +516,7 @@ using BlazorApp.Controller;
|
||||
__builder3.AddAttribute(84, "Format", "d");
|
||||
__builder3.AddAttribute(85, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 46 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
@@ -500,7 +528,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(87);
|
||||
__builder3.AddAttribute(88, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.mutiert_am)
|
||||
|
||||
#line default
|
||||
@@ -511,7 +539,7 @@ using BlazorApp.Controller;
|
||||
__builder3.AddAttribute(90, "Width", "100");
|
||||
__builder3.AddAttribute(91, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
@@ -521,7 +549,7 @@ using BlazorApp.Controller;
|
||||
__builder3.AddAttribute(92, "Format", "d");
|
||||
__builder3.AddAttribute(93, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
@@ -533,7 +561,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(95);
|
||||
__builder3.AddAttribute(96, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 51 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 50 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.mutierer)
|
||||
|
||||
#line default
|
||||
@@ -544,7 +572,7 @@ using BlazorApp.Controller;
|
||||
__builder3.AddAttribute(98, "Width", "100");
|
||||
__builder3.AddAttribute(99, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 51 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 50 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
@@ -556,7 +584,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(101);
|
||||
__builder3.AddAttribute(102, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.mandantnr)
|
||||
|
||||
#line default
|
||||
@@ -567,7 +595,7 @@ using BlazorApp.Controller;
|
||||
__builder3.AddAttribute(104, "Width", "100");
|
||||
__builder3.AddAttribute(105, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
@@ -600,7 +628,7 @@ using BlazorApp.Controller;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 59 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 58 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
|
||||
IEnumerable<Beruf> berufe;
|
||||
SfGrid<Beruf> Grid { get; set; }
|
||||
@@ -656,14 +684,14 @@ using BlazorApp.Controller;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.BerufController.InsertData(Args.Data);
|
||||
Args.Data.ID = BlazorApp.Controller.BerufController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.BerufController.savedata(Args.Data);
|
||||
BlazorApp.Controller.BerufController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+722
@@ -0,0 +1,722 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7eeb1dd8c86963a84eca89fb2a35e6af47c10ba6"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.KlassenTyp
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Klassentyp/KlassentypList")]
|
||||
public partial class KlassentypList : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>Klassentyp</h1>\r\n\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.AddMarkupContent(3, "\r\n ");
|
||||
__builder.OpenElement(4, "div");
|
||||
__builder.AddAttribute(5, "class", "content-wrapper");
|
||||
__builder.AddMarkupContent(6, "\r\n ");
|
||||
__builder.OpenElement(7, "div");
|
||||
__builder.AddAttribute(8, "class", "row");
|
||||
__builder.AddMarkupContent(9, "\r\n ");
|
||||
__Blazor.BlazorApp.Pages.Admin.KlassenTyp.KlassentypList.TypeInference.CreateSfGrid_0(__builder, 10, 11,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 13,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 14,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
new List<string>() { "Add", "Edit", "Update", "Cancel" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 15, (__builder2) => {
|
||||
__builder2.AddMarkupContent(16, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(17);
|
||||
__builder2.AddAttribute(18, "PageCount", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
5
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(19, "PageSizes", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(20, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(21);
|
||||
__builder2.AddAttribute(22, "AllowAdding", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(23, "AllowDeleting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(24, "AllowEditing", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(25, "Mode", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(26, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<Klassentyp>>(27);
|
||||
__builder2.AddAttribute(28, "OnActionBegin", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Klassentyp>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Klassentyp>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(29, "OnActionComplete", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Klassentyp>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Klassentyp>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
OnCompletedHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(30, "OnDataBound", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Klassentyp>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Klassentyp>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
RowDataBoundHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(31, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(32);
|
||||
__builder2.AddAttribute(33, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.AddMarkupContent(34, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(35);
|
||||
__builder3.AddAttribute(36, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
ColumnType.CheckBox
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(37, "AllowFiltering", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(38, "AllowSorting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(39, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(40, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(41);
|
||||
__builder3.AddAttribute(42, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.ID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(43, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(44, "IsPrimaryKey", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(45, "AllowAdding", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(46, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(47, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(48);
|
||||
__builder3.AddAttribute(49, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.bezeichnung)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(50, "HeaderText", "Bezeichnung");
|
||||
__builder3.AddAttribute(51, "Width", "100");
|
||||
__builder3.AddAttribute(52, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(53, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(54);
|
||||
__builder3.AddAttribute(55, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.aktiv)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(56, "HeaderText", "Aktiv");
|
||||
__builder3.AddAttribute(57, "Width", "100");
|
||||
__builder3.AddAttribute(58, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(59, "DisplayAsCheckBox", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(60, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(61);
|
||||
__builder3.AddAttribute(62, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.erstellt_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(63, "HeaderText", "Erstellt_am");
|
||||
__builder3.AddAttribute(64, "Width", "100");
|
||||
__builder3.AddAttribute(65, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(66, "Format", "d");
|
||||
__builder3.AddAttribute(67, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(68, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(69);
|
||||
__builder3.AddAttribute(70, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.mutiert_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(71, "HeaderText", "Mutiert_am");
|
||||
__builder3.AddAttribute(72, "Width", "100");
|
||||
__builder3.AddAttribute(73, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(74, "Format", "d");
|
||||
__builder3.AddAttribute(75, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(76, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(77);
|
||||
__builder3.AddAttribute(78, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.mutierer)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(79, "HeaderText", "Mutierer");
|
||||
__builder3.AddAttribute(80, "Width", "100");
|
||||
__builder3.AddAttribute(81, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(82, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(83);
|
||||
__builder3.AddAttribute(84, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.mandantID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(85, "HeaderText", "Mandantid");
|
||||
__builder3.AddAttribute(86, "Width", "100");
|
||||
__builder3.AddAttribute(87, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(88, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(89, "\r\n ");
|
||||
}
|
||||
, 90, (__value) => {
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.AddMarkupContent(91, "\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(92, "\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(93, "\r\n");
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
SfGrid<Klassentyp> Grid { get; set; }
|
||||
public List<BWPMModels.Klassentyp> GridData { get; set; }
|
||||
public List<BWPMModels.Klassentyp> Klassentyps { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.KlassentypController.GetAllData();
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Klassentyp> 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.KlassentypController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.KlassentypController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Klassentyp> 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.Klassentyp> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
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<Klassentyp> 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; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.KlassenTyp.KlassentypList
|
||||
{
|
||||
#line hidden
|
||||
internal static class TypeInference
|
||||
{
|
||||
public static void CreateSfGrid_0<TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Collections.Generic.IEnumerable<TValue> __arg0, int __seq1, global::System.Boolean __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Object __arg3, int __seq4, global::Microsoft.AspNetCore.Components.RenderFragment __arg4, int __seq5, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg5)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "DataSource", __arg0);
|
||||
__builder.AddAttribute(__seq1, "AllowPaging", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowSorting", __arg2);
|
||||
__builder.AddAttribute(__seq3, "Toolbar", __arg3);
|
||||
__builder.AddAttribute(__seq4, "ChildContent", __arg4);
|
||||
__builder.AddComponentReferenceCapture(__seq5, (__value) => { __arg5((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,745 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6117fbc37e0326b9e0dac8527464cfc3e5767fe2"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.Optionen
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Optionen/OptionenList")]
|
||||
public partial class OptionenList : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>Optionen</h1>\r\n\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.AddMarkupContent(3, "\r\n ");
|
||||
__builder.OpenElement(4, "div");
|
||||
__builder.AddAttribute(5, "class", "content-wrapper");
|
||||
__builder.AddMarkupContent(6, "\r\n ");
|
||||
__builder.OpenElement(7, "div");
|
||||
__builder.AddAttribute(8, "class", "row");
|
||||
__builder.AddMarkupContent(9, "\r\n ");
|
||||
__Blazor.BlazorApp.Pages.Admin.Optionen.OptionenList.TypeInference.CreateSfGrid_0(__builder, 10, 11,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 13,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 14,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
new List<string>() { "Add", "Edit", "Update", "Cancel" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 15, (__builder2) => {
|
||||
__builder2.AddMarkupContent(16, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(17);
|
||||
__builder2.AddAttribute(18, "PageCount", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
5
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(19, "PageSizes", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(20, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(21);
|
||||
__builder2.AddAttribute(22, "AllowAdding", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(23, "AllowDeleting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(24, "AllowEditing", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(25, "Mode", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(26, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<Optionen>>(27);
|
||||
__builder2.AddAttribute(28, "OnActionBegin", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Optionen>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Optionen>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(29, "OnActionComplete", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Optionen>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Optionen>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
OnCompletedHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(30, "OnDataBound", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Optionen>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Optionen>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
RowDataBoundHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(31, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(32);
|
||||
__builder2.AddAttribute(33, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.AddMarkupContent(34, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(35);
|
||||
__builder3.AddAttribute(36, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
ColumnType.CheckBox
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(37, "AllowFiltering", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(38, "AllowSorting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(39, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(40, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(41);
|
||||
__builder3.AddAttribute(42, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.ID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(43, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(44, "IsPrimaryKey", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(45, "AllowAdding", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(46, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(47, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(48);
|
||||
__builder3.AddAttribute(49, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.mandantnr)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(50, "HeaderText", "Mandantnr");
|
||||
__builder3.AddAttribute(51, "Width", "100");
|
||||
__builder3.AddAttribute(52, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(53, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(54);
|
||||
__builder3.AddAttribute(55, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.Bezeichnung)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(56, "HeaderText", "Bezeichnung");
|
||||
__builder3.AddAttribute(57, "Width", "100");
|
||||
__builder3.AddAttribute(58, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(59, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(60);
|
||||
__builder3.AddAttribute(61, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.inhalt)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(62, "HeaderText", "Inhalt");
|
||||
__builder3.AddAttribute(63, "Width", "200");
|
||||
__builder3.AddAttribute(64, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(65, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(66);
|
||||
__builder3.AddAttribute(67, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.erstellt_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(68, "HeaderText", "Erstellt_am");
|
||||
__builder3.AddAttribute(69, "Width", "400");
|
||||
__builder3.AddAttribute(70, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(71, "Format", "d");
|
||||
__builder3.AddAttribute(72, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(73, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(74);
|
||||
__builder3.AddAttribute(75, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.mutiert_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(76, "HeaderText", "Mutiert_am");
|
||||
__builder3.AddAttribute(77, "Width", "100");
|
||||
__builder3.AddAttribute(78, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(79, "Format", "d");
|
||||
__builder3.AddAttribute(80, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(81, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(82);
|
||||
__builder3.AddAttribute(83, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.mutierer)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(84, "HeaderText", "Mutierer");
|
||||
__builder3.AddAttribute(85, "Width", "100");
|
||||
__builder3.AddAttribute(86, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(87, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(88);
|
||||
__builder3.AddAttribute(89, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.aktiv)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(90, "HeaderText", "Aktiv");
|
||||
__builder3.AddAttribute(91, "Width", "100");
|
||||
__builder3.AddAttribute(92, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(93, "DisplayAsCheckBox", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(94, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(95, "\r\n ");
|
||||
}
|
||||
, 96, (__value) => {
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.AddMarkupContent(97, "\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(98, "\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(99, "\r\n");
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
SfGrid<Optionen> Grid { get; set; }
|
||||
public List<BWPMModels.Optionen> GridData { get; set; }
|
||||
public List<BWPMModels.Optionen> Optionens { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.OptionenController.GetAllData();
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Optionen> 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.OptionenController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.OptionenController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Optionen> 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.Optionen> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
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<Optionen> 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; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.Optionen.OptionenList
|
||||
{
|
||||
#line hidden
|
||||
internal static class TypeInference
|
||||
{
|
||||
public static void CreateSfGrid_0<TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Collections.Generic.IEnumerable<TValue> __arg0, int __seq1, global::System.Boolean __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Object __arg3, int __seq4, global::Microsoft.AspNetCore.Components.RenderFragment __arg4, int __seq5, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg5)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "DataSource", __arg0);
|
||||
__builder.AddAttribute(__seq1, "AllowPaging", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowSorting", __arg2);
|
||||
__builder.AddAttribute(__seq3, "Toolbar", __arg3);
|
||||
__builder.AddAttribute(__seq4, "ChildContent", __arg4);
|
||||
__builder.AddComponentReferenceCapture(__seq5, (__value) => { __arg5((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
+31
-3
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2e21a045a3e2a0e9dc78f54806f40fb33a78814c"
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2de8ad3e7bdfb5d91a6d69e980497e81f6068702"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.Schulhaus
|
||||
@@ -97,6 +97,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
@@ -707,14 +735,14 @@ using BlazorApp.Controller;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.SchulhausController.InsertData(Args.Data);
|
||||
Args.Data.ID = BlazorApp.Controller.SchulhausController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.SchulhausController.savedata(Args.Data);
|
||||
BlazorApp.Controller.SchulhausController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,460 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3f40d478b77a0e9e44105000bd9185c79d28632c"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using System.Text;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Syncfusion.Blazor.Navigations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Newtonsoft.Json;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/ScriptGenerator")]
|
||||
public partial class ScriptGenerator : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h2>Script-Generator</h2>\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.AddMarkupContent(3, "\r\n ");
|
||||
__builder.OpenElement(4, "div");
|
||||
__builder.AddAttribute(5, "class", "content-wrapper");
|
||||
__builder.AddMarkupContent(6, "\r\n\r\n ");
|
||||
__builder.OpenElement(7, "input");
|
||||
__builder.AddAttribute(8, "type", "text");
|
||||
__builder.AddAttribute(9, "id", "tablename");
|
||||
__builder.AddAttribute(10, "name", "Required");
|
||||
__builder.AddAttribute(11, "class", "e-input");
|
||||
__builder.AddAttribute(12, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
#nullable restore
|
||||
#line 22 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
tablename
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddAttribute(13, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => tablename = __value, tablename));
|
||||
__builder.SetUpdatesAttributeName("value");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(14, "\r\n ");
|
||||
__builder.OpenComponent<Syncfusion.Blazor.Buttons.SfButton>(15);
|
||||
__builder.AddAttribute(16, "OnClick", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
GenerateCode
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder.AddAttribute(17, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddContent(18, "Generieren");
|
||||
}
|
||||
));
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(19, "\r\n <p></p>\r\n ");
|
||||
__builder.OpenElement(20, "div");
|
||||
__builder.AddAttribute(21, "class", "sample-browser e-view sf-new");
|
||||
__builder.AddMarkupContent(22, "\r\n ");
|
||||
__builder.OpenElement(23, "div");
|
||||
__builder.AddAttribute(24, "class", "sb-tab-content");
|
||||
__builder.AddMarkupContent(25, "\r\n ");
|
||||
__builder.OpenElement(26, "div");
|
||||
__builder.AddAttribute(27, "class", "sb-source-section");
|
||||
__builder.AddMarkupContent(28, "\r\n ");
|
||||
__builder.OpenComponent<Syncfusion.Blazor.Navigations.SfTab>(29);
|
||||
__builder.AddAttribute(30, "CssClass", "sb-content-tab");
|
||||
__builder.AddAttribute(31, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddMarkupContent(32, "\r\n\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Navigations.TabItems>(33);
|
||||
__builder2.AddAttribute(34, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.AddMarkupContent(35, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Navigations.TabItem>(36);
|
||||
__builder3.AddAttribute(37, "CssClass", "e-tab");
|
||||
__builder3.AddAttribute(38, "HeaderTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.AddContent(39, "Model-Class");
|
||||
}
|
||||
));
|
||||
__builder3.AddAttribute(40, "ContentTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.AddMarkupContent(41, "\r\n ");
|
||||
__builder4.OpenElement(42, "div");
|
||||
__builder4.AddAttribute(43, "class", "login-form");
|
||||
__builder4.AddMarkupContent(44, "\r\n ");
|
||||
__builder4.OpenElement(45, "div");
|
||||
__builder4.AddAttribute(46, "class", "wrap");
|
||||
__builder4.AddMarkupContent(47, "\r\n ");
|
||||
__builder4.OpenElement(48, "pre");
|
||||
__builder4.AddAttribute(49, "class", "code");
|
||||
__builder4.AddMarkupContent(50, "\r\n");
|
||||
__builder4.AddContent(51,
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
Code1
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__builder4.AddMarkupContent(52, "\r\n ");
|
||||
__builder4.CloseElement();
|
||||
__builder4.AddMarkupContent(53, "\r\n ");
|
||||
__builder4.CloseElement();
|
||||
__builder4.AddMarkupContent(54, "\r\n ");
|
||||
__builder4.CloseElement();
|
||||
__builder4.AddMarkupContent(55, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(56, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Navigations.TabItem>(57);
|
||||
__builder3.AddAttribute(58, "HeaderTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.AddContent(59, "WebAPI Service-Controller");
|
||||
}
|
||||
));
|
||||
__builder3.AddAttribute(60, "ContentTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.AddMarkupContent(61, "\r\n ");
|
||||
__builder4.OpenElement(62, "div");
|
||||
__builder4.AddAttribute(63, "class", "login-form");
|
||||
__builder4.AddMarkupContent(64, "\r\n ");
|
||||
__builder4.OpenElement(65, "div");
|
||||
__builder4.AddAttribute(66, "class", "wrap");
|
||||
__builder4.AddMarkupContent(67, "\r\n ");
|
||||
__builder4.OpenElement(68, "pre");
|
||||
__builder4.AddAttribute(69, "class", "code");
|
||||
__builder4.AddMarkupContent(70, "\r\n");
|
||||
__builder4.AddContent(71,
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
Code2
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__builder4.AddMarkupContent(72, "\r\n ");
|
||||
__builder4.CloseElement();
|
||||
__builder4.AddMarkupContent(73, "\r\n ");
|
||||
__builder4.CloseElement();
|
||||
__builder4.AddMarkupContent(74, "\r\n ");
|
||||
__builder4.CloseElement();
|
||||
__builder4.AddMarkupContent(75, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(76, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Navigations.TabItem>(77);
|
||||
__builder3.AddAttribute(78, "HeaderTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.AddContent(79, "Razor-Page");
|
||||
}
|
||||
));
|
||||
__builder3.AddAttribute(80, "ContentTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.AddMarkupContent(81, "\r\n ");
|
||||
__builder4.OpenElement(82, "div");
|
||||
__builder4.AddAttribute(83, "class", "login-form");
|
||||
__builder4.AddMarkupContent(84, "\r\n ");
|
||||
__builder4.OpenElement(85, "div");
|
||||
__builder4.AddAttribute(86, "class", "wrap");
|
||||
__builder4.AddMarkupContent(87, "\r\n ");
|
||||
__builder4.OpenElement(88, "pre");
|
||||
__builder4.AddAttribute(89, "class", "code");
|
||||
__builder4.AddMarkupContent(90, "\r\n");
|
||||
__builder4.AddContent(91,
|
||||
#nullable restore
|
||||
#line 61 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
Code3
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__builder4.AddMarkupContent(92, "\r\n ");
|
||||
__builder4.CloseElement();
|
||||
__builder4.AddMarkupContent(93, "\r\n ");
|
||||
__builder4.CloseElement();
|
||||
__builder4.AddMarkupContent(94, "\r\n ");
|
||||
__builder4.CloseElement();
|
||||
__builder4.AddMarkupContent(95, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(96, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Navigations.TabItem>(97);
|
||||
__builder3.AddAttribute(98, "HeaderTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.AddContent(99, "Razor App-Controller");
|
||||
}
|
||||
));
|
||||
__builder3.AddAttribute(100, "ContentTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.AddMarkupContent(101, "\r\n ");
|
||||
__builder4.OpenElement(102, "div");
|
||||
__builder4.AddAttribute(103, "class", "login-form");
|
||||
__builder4.AddMarkupContent(104, "\r\n ");
|
||||
__builder4.OpenElement(105, "div");
|
||||
__builder4.AddAttribute(106, "class", "wrap");
|
||||
__builder4.AddMarkupContent(107, "\r\n ");
|
||||
__builder4.OpenElement(108, "pre");
|
||||
__builder4.AddAttribute(109, "class", "code");
|
||||
__builder4.AddMarkupContent(110, "\r\n");
|
||||
__builder4.AddContent(111,
|
||||
#nullable restore
|
||||
#line 73 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
Code4
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__builder4.AddMarkupContent(112, "\r\n ");
|
||||
__builder4.CloseElement();
|
||||
__builder4.AddMarkupContent(113, "\r\n ");
|
||||
__builder4.CloseElement();
|
||||
__builder4.AddMarkupContent(114, "\r\n ");
|
||||
__builder4.CloseElement();
|
||||
__builder4.AddMarkupContent(115, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(116, "\r\n\r\n ");
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(117, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(118, "\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(119, "\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(120, "\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(121, "\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(122, "\r\n ");
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 88 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
|
||||
private List<TabItem> sourceCodeItems;
|
||||
public string tablename { get; set; } = "beruf";
|
||||
public string Code1 { get; set; } = "";
|
||||
public string Code2 { get; set; } = "";
|
||||
public string Code3 { get; set; } = "";
|
||||
public string Code4 { get; set; } = "";
|
||||
|
||||
public void GenerateCode()
|
||||
{
|
||||
|
||||
var clist1 = BlazorApp.Controller.MyScriptController.GetData(1, tablename);
|
||||
Code1 = clist1[0].script;
|
||||
var clist2 = BlazorApp.Controller.MyScriptController.GetData(4, tablename);
|
||||
Code2 = clist2[0].script;
|
||||
var clist3 = BlazorApp.Controller.MyScriptController.GetData(7, tablename);
|
||||
Code3 = clist3[0].script;
|
||||
var clist4 = BlazorApp.Controller.MyScriptController.GetData(8, tablename);
|
||||
Code4 = clist4[0].script;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0997ea92a57de44eab9679d133988ce90bc15261"
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "082222f110b8a7fa9e9d453ab3617e2d839aa6c4"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.User
|
||||
@@ -101,35 +101,63 @@ using Radzen.Blazor;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using BlazorApp.Helper;
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
@@ -171,7 +199,7 @@ using BlazorApp.Controller;
|
||||
__builder2.AddMarkupContent(22, "\r\n\r\n ");
|
||||
__Blazor.BlazorApp.Pages.Admin.User.UserList.TypeInference.CreateSfGrid_0(__builder2, 23, 24,
|
||||
#nullable restore
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
users
|
||||
|
||||
#line default
|
||||
@@ -179,7 +207,7 @@ using BlazorApp.Controller;
|
||||
#nullable disable
|
||||
, 25,
|
||||
#nullable restore
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
new List<string>() { "Add", "Edit", "Delete", "Update", "Cancel" }
|
||||
|
||||
#line default
|
||||
@@ -187,7 +215,7 @@ using BlazorApp.Controller;
|
||||
#nullable disable
|
||||
, 26, "315", 27,
|
||||
#nullable restore
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -195,7 +223,7 @@ using BlazorApp.Controller;
|
||||
#nullable disable
|
||||
, 28,
|
||||
#nullable restore
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -203,7 +231,7 @@ using BlazorApp.Controller;
|
||||
#nullable disable
|
||||
, 29,
|
||||
#nullable restore
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -211,7 +239,7 @@ using BlazorApp.Controller;
|
||||
#nullable disable
|
||||
, 30,
|
||||
#nullable restore
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -222,7 +250,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridFilterSettings>(33);
|
||||
__builder3.AddAttribute(34, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.FilterType>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 42 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
Syncfusion.Blazor.Grids.FilterType.Menu
|
||||
|
||||
#line default
|
||||
@@ -234,7 +262,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(36);
|
||||
__builder3.AddAttribute(37, "AllowAdding", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 42 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -243,7 +271,7 @@ using BlazorApp.Controller;
|
||||
));
|
||||
__builder3.AddAttribute(38, "AllowDeleting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 42 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -252,7 +280,7 @@ using BlazorApp.Controller;
|
||||
));
|
||||
__builder3.AddAttribute(39, "AllowEditing", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 42 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -261,7 +289,7 @@ using BlazorApp.Controller;
|
||||
));
|
||||
__builder3.AddAttribute(40, "Mode", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 42 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
@@ -273,7 +301,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<User>>(42);
|
||||
__builder3.AddAttribute(43, "OnActionBegin", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<User>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<User>>(this,
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
@@ -285,7 +313,7 @@ using BlazorApp.Controller;
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridSelectionSettings>(45);
|
||||
__builder3.AddAttribute(46, "CheckboxOnly", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -294,7 +322,7 @@ using BlazorApp.Controller;
|
||||
));
|
||||
__builder3.AddAttribute(47, "PersistSelection", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -303,7 +331,7 @@ using BlazorApp.Controller;
|
||||
));
|
||||
__builder3.AddAttribute(48, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.SelectionType>(
|
||||
#nullable restore
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
SelectionType.Multiple
|
||||
|
||||
#line default
|
||||
@@ -318,7 +346,7 @@ using BlazorApp.Controller;
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(53);
|
||||
__builder4.AddAttribute(54, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 46 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
ColumnType.CheckBox
|
||||
|
||||
#line default
|
||||
@@ -327,7 +355,7 @@ using BlazorApp.Controller;
|
||||
));
|
||||
__builder4.AddAttribute(55, "AllowFiltering", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 46 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
@@ -336,7 +364,7 @@ using BlazorApp.Controller;
|
||||
));
|
||||
__builder4.AddAttribute(56, "AllowSorting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 46 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
@@ -349,7 +377,7 @@ using BlazorApp.Controller;
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(59);
|
||||
__builder4.AddAttribute(60, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.ID)
|
||||
|
||||
#line default
|
||||
@@ -359,7 +387,7 @@ using BlazorApp.Controller;
|
||||
__builder4.AddAttribute(61, "HeaderText", "ID");
|
||||
__builder4.AddAttribute(62, "IsPrimaryKey", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -368,7 +396,7 @@ using BlazorApp.Controller;
|
||||
));
|
||||
__builder4.AddAttribute(63, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -380,7 +408,7 @@ using BlazorApp.Controller;
|
||||
__builder4.AddMarkupContent(65, "\r\n ");
|
||||
__Blazor.BlazorApp.Pages.Admin.User.UserList.TypeInference.CreateGridForeignColumn_1(__builder4, 66, 67,
|
||||
#nullable restore
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.usertype)
|
||||
|
||||
#line default
|
||||
@@ -388,7 +416,7 @@ using BlazorApp.Controller;
|
||||
#nullable disable
|
||||
, 68, "Typ", 69, "Typ", 70,
|
||||
#nullable restore
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
usertypes
|
||||
|
||||
#line default
|
||||
@@ -399,7 +427,7 @@ using BlazorApp.Controller;
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(73);
|
||||
__builder4.AddAttribute(74, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 50 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.username)
|
||||
|
||||
#line default
|
||||
@@ -409,7 +437,7 @@ using BlazorApp.Controller;
|
||||
__builder4.AddAttribute(75, "HeaderText", "Username");
|
||||
__builder4.AddAttribute(76, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 50 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -422,7 +450,7 @@ using BlazorApp.Controller;
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(79);
|
||||
__builder4.AddAttribute(80, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 50 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 51 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.passwort)
|
||||
|
||||
#line default
|
||||
@@ -432,7 +460,7 @@ using BlazorApp.Controller;
|
||||
__builder4.AddAttribute(81, "HeaderText", "Passwort");
|
||||
__builder4.AddAttribute(82, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 50 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 51 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -445,7 +473,7 @@ using BlazorApp.Controller;
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(85);
|
||||
__builder4.AddAttribute(86, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 51 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.email)
|
||||
|
||||
#line default
|
||||
@@ -455,7 +483,7 @@ using BlazorApp.Controller;
|
||||
__builder4.AddAttribute(87, "HeaderText", "Mail");
|
||||
__builder4.AddAttribute(88, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 51 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -468,7 +496,7 @@ using BlazorApp.Controller;
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(91);
|
||||
__builder4.AddAttribute(92, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.mutiert_am)
|
||||
|
||||
#line default
|
||||
@@ -478,7 +506,7 @@ using BlazorApp.Controller;
|
||||
__builder4.AddAttribute(93, "HeaderText", "Mutiert");
|
||||
__builder4.AddAttribute(94, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -488,7 +516,7 @@ using BlazorApp.Controller;
|
||||
__builder4.AddAttribute(95, "Format", "d");
|
||||
__builder4.AddAttribute(96, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
@@ -501,7 +529,7 @@ using BlazorApp.Controller;
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(99);
|
||||
__builder4.AddAttribute(100, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 54 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.aktiv)
|
||||
|
||||
#line default
|
||||
@@ -511,7 +539,7 @@ using BlazorApp.Controller;
|
||||
__builder4.AddAttribute(101, "HeaderText", "Aktiv");
|
||||
__builder4.AddAttribute(102, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 54 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -521,7 +549,7 @@ using BlazorApp.Controller;
|
||||
__builder4.AddAttribute(103, "Width", "60");
|
||||
__builder4.AddAttribute(104, "DisplayAsCheckBox", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 54 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
@@ -551,7 +579,7 @@ using BlazorApp.Controller;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 62 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 63 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
|
||||
|
||||
|
||||
@@ -591,6 +619,7 @@ using BlazorApp.Controller;
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
string userid = "";
|
||||
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
@@ -603,10 +632,11 @@ using BlazorApp.Controller;
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
await sessionStorage.SetItemAsync("UserID", "");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2bd1e0deae706f1573d6a3a38f61752c801fdaf3"
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "fb6534f8eec45a6370299a97f36b7336b5bc973d"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.Zeiten
|
||||
@@ -97,6 +97,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
@@ -644,14 +672,14 @@ using BlazorApp.Controller;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.ZeitenController.InsertData(Args.Data);
|
||||
Args.Data.ID = BlazorApp.Controller.ZeitenController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.ZeitenController.savedata(Args.Data);
|
||||
BlazorApp.Controller.ZeitenController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -666,7 +694,7 @@ using BlazorApp.Controller;
|
||||
foreach (Zeiten row in Rows)
|
||||
{
|
||||
row.reihenfolge = order;
|
||||
BlazorApp.Controller.ZeitenController.savedata(row);
|
||||
BlazorApp.Controller.ZeitenController.PUT(row);
|
||||
order = order + 1;
|
||||
Grid.Refresh();
|
||||
}
|
||||
|
||||
@@ -90,6 +90,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Buttons.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "79bd5c3b00bcb0aba95683a768d653c69c7f7679"
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Buttons.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "389359e0f51f91b0e0f4d8326ac16cd7337ed934"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages
|
||||
@@ -97,6 +97,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
@@ -130,7 +158,7 @@ using Radzen.Blazor;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder.AddAttribute(15, "Text", "Button");
|
||||
__builder.AddAttribute(15, "Text", "Buttonx");
|
||||
__builder.AddAttribute(16, "Style", "margin-bottom: 20px; width: 150px");
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(17, "\n ");
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,917 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2cc91c29cdd88a8d78d10adeb4b13a6abbac3e8f"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Company
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using Syncfusion.Blazor.Popups;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Company/CompanyContact")]
|
||||
public partial class CompanyContact : Admin.ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>Ansprechpartner</h1>\r\n\r\n\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.AddMarkupContent(3, "\r\n ");
|
||||
__builder.OpenElement(4, "div");
|
||||
__builder.AddAttribute(5, "class", "content-wrapper");
|
||||
__builder.AddMarkupContent(6, "\r\n ");
|
||||
__builder.OpenElement(7, "div");
|
||||
__builder.AddAttribute(8, "class", "row");
|
||||
__builder.AddMarkupContent(9, "\r\n ");
|
||||
__Blazor.BlazorApp.Pages.Company.CompanyContact.TypeInference.CreateSfGrid_0(__builder, 10, 11,
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12,
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 13,
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 14,
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
new List<string>() { "Add", "Edit", "Update", "Cancel" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 15, (__builder2) => {
|
||||
__builder2.AddMarkupContent(16, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(17);
|
||||
__builder2.AddAttribute(18, "PageCount", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
5
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(19, "PageSizes", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(20, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(21);
|
||||
__builder2.AddAttribute(22, "AllowAdding", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 22 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(23, "AllowDeleting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 22 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(24, "AllowEditing", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 22 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(25, "Mode", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 22 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(26, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<Ansprechpartner>>(27);
|
||||
__builder2.AddAttribute(28, "OnActionBegin", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Ansprechpartner>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Ansprechpartner>>(this,
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(29, "OnActionComplete", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Ansprechpartner>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Ansprechpartner>>(this,
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
OnCompletedHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(30, "OnDataBound", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Ansprechpartner>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Ansprechpartner>>(this,
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
RowDataBoundHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(31, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(32);
|
||||
__builder2.AddAttribute(33, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.AddMarkupContent(34, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(35);
|
||||
__builder3.AddAttribute(36, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
ColumnType.CheckBox
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(37, "AllowFiltering", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(38, "AllowSorting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(39, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(40, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(41);
|
||||
__builder3.AddAttribute(42, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
nameof(Ansprechpartner.ID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(43, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(44, "IsPrimaryKey", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(45, "AllowAdding", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(46, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(47, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(48);
|
||||
__builder3.AddAttribute(49, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
nameof(Ansprechpartner.FirmaID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(50, "HeaderText", "Firmaid");
|
||||
__builder3.AddAttribute(51, "Width", "100");
|
||||
__builder3.AddAttribute(52, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(53, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(54);
|
||||
__builder3.AddAttribute(55, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
nameof(Ansprechpartner.name)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(56, "HeaderText", "Name");
|
||||
__builder3.AddAttribute(57, "Width", "100");
|
||||
__builder3.AddAttribute(58, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(59, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(60);
|
||||
__builder3.AddAttribute(61, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
nameof(Ansprechpartner.vorname)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(62, "HeaderText", "Vorname");
|
||||
__builder3.AddAttribute(63, "Width", "100");
|
||||
__builder3.AddAttribute(64, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(65, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(66);
|
||||
__builder3.AddAttribute(67, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
nameof(Ansprechpartner.anrede)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(68, "HeaderText", "Anrede");
|
||||
__builder3.AddAttribute(69, "Width", "100");
|
||||
__builder3.AddAttribute(70, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(71, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(72);
|
||||
__builder3.AddAttribute(73, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
nameof(Ansprechpartner.tel)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(74, "HeaderText", "Tel");
|
||||
__builder3.AddAttribute(75, "Width", "100");
|
||||
__builder3.AddAttribute(76, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(77, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(78);
|
||||
__builder3.AddAttribute(79, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
nameof(Ansprechpartner.email)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(80, "HeaderText", "Email");
|
||||
__builder3.AddAttribute(81, "Width", "100");
|
||||
__builder3.AddAttribute(82, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(83, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(84);
|
||||
__builder3.AddAttribute(85, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
nameof(Ansprechpartner.aktiv)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(86, "HeaderText", "Aktiv");
|
||||
__builder3.AddAttribute(87, "Width", "100");
|
||||
__builder3.AddAttribute(88, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(89, "DisplayAsCheckBox", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(90, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(91);
|
||||
__builder3.AddAttribute(92, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
nameof(Ansprechpartner.erstellt_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(93, "HeaderText", "Erstellt_am");
|
||||
__builder3.AddAttribute(94, "Width", "100");
|
||||
__builder3.AddAttribute(95, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(96, "Format", "d");
|
||||
__builder3.AddAttribute(97, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(98, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(99);
|
||||
__builder3.AddAttribute(100, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
nameof(Ansprechpartner.mutiert_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(101, "HeaderText", "Mutiert_am");
|
||||
__builder3.AddAttribute(102, "Width", "100");
|
||||
__builder3.AddAttribute(103, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(104, "Format", "d");
|
||||
__builder3.AddAttribute(105, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(106, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(107);
|
||||
__builder3.AddAttribute(108, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
nameof(Ansprechpartner.mutierer)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(109, "HeaderText", "Mutierer");
|
||||
__builder3.AddAttribute(110, "Width", "100");
|
||||
__builder3.AddAttribute(111, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(112, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(113, "\r\n ");
|
||||
}
|
||||
, 114, (__value) => {
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.AddMarkupContent(115, "\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(116, "\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(117, "\r\n");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(118, "\r\n\r\n");
|
||||
__builder.OpenComponent<Syncfusion.Blazor.Popups.SfDialog>(119);
|
||||
__builder.AddAttribute(120, "Width", "250px");
|
||||
__builder.AddAttribute(121, "IsModal", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 54 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddAttribute(122, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 54 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
ShowDialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddAttribute(123, "VisibleChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Boolean>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Boolean>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => ShowDialog = __value, ShowDialog))));
|
||||
__builder.AddAttribute(124, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddMarkupContent(125, "\r\n\t");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Popups.DialogTemplates>(126);
|
||||
__builder2.AddAttribute(127, "Header", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.AddMarkupContent(128, " Formmular unvollständig ");
|
||||
}
|
||||
));
|
||||
__builder2.AddAttribute(129, "Content", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.AddMarkupContent(130, " Bitte das Formular vollständig ausfüllen. ");
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(131, "\r\n\t");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Popups.DialogButtons>(132);
|
||||
__builder2.AddAttribute(133, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.AddMarkupContent(134, "\r\n\t\t");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Popups.DialogButton>(135);
|
||||
__builder3.AddAttribute(136, "Content", "OK");
|
||||
__builder3.AddAttribute(137, "IsPrimary", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 61 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(138, "OnClick", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 61 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
CloseDialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(139, "\r\n\t");
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(140, "\r\n");
|
||||
}
|
||||
));
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 64 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
|
||||
SfGrid<Ansprechpartner> Grid { get; set; }
|
||||
public List<BWPMModels.Ansprechpartner> GridData { get; set; }
|
||||
public List<BWPMModels.Ansprechpartner> Ansprechpartners { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
private Firma _firma { get; set; } = new BWPMModels.Firma();
|
||||
public List<BWPMModels.Firma> Firmendaten { get; set; }
|
||||
private bool ShowDialog { get; set; } = false;
|
||||
|
||||
private void CloseDialog()
|
||||
{
|
||||
this.ShowDialog = false;
|
||||
}
|
||||
|
||||
protected override async void OnInitialized()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 94 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
|
||||
|
||||
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);
|
||||
userid = userId;
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
userid = userId;
|
||||
}
|
||||
}
|
||||
|
||||
Firmendaten = BlazorApp.Controller.FirmaController.GetByUserID(userid);
|
||||
_firma = Firmendaten.First<BWPMModels.Firma>();
|
||||
if (_firma.nameZ1==""){
|
||||
ShowDialog = true;
|
||||
return;
|
||||
}
|
||||
GridData = BlazorApp.Controller.AnsprechpartnerController.GetByFirmaID(_firma.ID);
|
||||
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Ansprechpartner> 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.FirmaID = _firma.ID;
|
||||
Args.Data.ID = BlazorApp.Controller.AnsprechpartnerController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.AnsprechpartnerController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Ansprechpartner> 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.Ansprechpartner> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
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<Ansprechpartner> 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; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Company.CompanyContact
|
||||
{
|
||||
#line hidden
|
||||
internal static class TypeInference
|
||||
{
|
||||
public static void CreateSfGrid_0<TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Collections.Generic.IEnumerable<TValue> __arg0, int __seq1, global::System.Boolean __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Object __arg3, int __seq4, global::Microsoft.AspNetCore.Components.RenderFragment __arg4, int __seq5, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg5)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "DataSource", __arg0);
|
||||
__builder.AddAttribute(__seq1, "AllowPaging", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowSorting", __arg2);
|
||||
__builder.AddAttribute(__seq3, "Toolbar", __arg3);
|
||||
__builder.AddAttribute(__seq4, "ChildContent", __arg4);
|
||||
__builder.AddComponentReferenceCapture(__seq5, (__value) => { __arg5((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,141 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Component.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f89fa5bc8dad007b97defd78389870bdaa9d3d04"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public partial class Component : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h3>Component</h3>");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -97,6 +97,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
@@ -97,6 +97,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
@@ -97,6 +97,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
@@ -0,0 +1,339 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ff1fc10d198f958eb45cce94f54c813746edebe2"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Reporting
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using System.IO;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using System.Data;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Reporting/Reporting")]
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Reporting/Reporting/{ReportNr}")]
|
||||
public partial class Reporting : Admin.ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.OpenElement(0, "div");
|
||||
__builder.AddAttribute(1, "id", "container");
|
||||
__builder.AddMarkupContent(2, "\r\n\r\n ");
|
||||
__builder.OpenComponent<FastReport.Web.Blazor.Components.WebReportContainer>(3);
|
||||
__builder.AddAttribute(4, "WebReport", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<FastReport.Web.WebReport>(
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
UserWebReport
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(5, "\r\n ");
|
||||
__builder.OpenComponent<Syncfusion.Blazor.Spinner.SfSpinner>(6);
|
||||
__builder.AddAttribute(7, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
Spinnervisible
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddAttribute(8, "VisibleChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Boolean>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Boolean>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => Spinnervisible = __value, Spinnervisible))));
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(9, "\r\n");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(10, "\r\n");
|
||||
__builder.AddContent(11,
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
emsg
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__builder.AddMarkupContent(12, ";\r\n\r\n");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 22 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
|
||||
[Parameter]
|
||||
public string ReportNr { get; set; }
|
||||
|
||||
public string emsg { get; set; } = "";
|
||||
private IHostingEnvironment Environment;
|
||||
private bool Spinnervisible { get; set; } = true;
|
||||
public string ReportName { get; set; }
|
||||
public DataSet DataSet { get; set; } = new DataSet();
|
||||
public WebReport UserWebReport { get; set; } = new WebReport();
|
||||
public Report Report { get; set; } = new Report();
|
||||
string guserid = "";
|
||||
string sql = "";
|
||||
|
||||
private Firma _firma { get; set; } = new BWPMModels.Firma();
|
||||
public List<BWPMModels.Firma> Firmendaten { get; set; }
|
||||
|
||||
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
Spinnervisible = false;
|
||||
}
|
||||
protected override async Task OnParametersSetAsync()
|
||||
{
|
||||
string paramtyp1 = "";
|
||||
string paramtyp2 = "";
|
||||
string paramtyp3 = "";
|
||||
|
||||
Helper.dbhelper dbh = new Helper.dbhelper();
|
||||
string reportdir = dbh.Get_Option(28);
|
||||
|
||||
reportdir += "/";
|
||||
dbh.Get_Tabledata("Select * from Report where id=" + ReportNr.ToString(), false, true);
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 56 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
|
||||
try
|
||||
{
|
||||
Report = Report.FromFile(reportdir + dbh.dsdaten.Tables[0].Rows[0]["reportfile"]);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
emsg=e.Message;
|
||||
return;
|
||||
}
|
||||
paramtyp1 = dbh.dsdaten.Tables[0].Rows[0]["paramtype1"].ToString();
|
||||
paramtyp2 = dbh.dsdaten.Tables[0].Rows[0]["paramtype2"].ToString();
|
||||
paramtyp3 = dbh.dsdaten.Tables[0].Rows[0]["paramtype3"].ToString();
|
||||
|
||||
sql = dbh.dsdaten.Tables[0].Rows[0]["sql"].ToString();
|
||||
|
||||
switch (paramtyp1)
|
||||
{
|
||||
case "%firmaID%":
|
||||
Firmendaten = BlazorApp.Controller.FirmaController.GetByUserID(userid);
|
||||
_firma = Firmendaten.First<BWPMModels.Firma>();
|
||||
sql = sql.Replace("%firmaid%", _firma.ID.ToString());
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
||||
|
||||
dbh.dsdaten.Tables.Clear();
|
||||
DataSet.Tables.Clear();
|
||||
DataSet.Tables.Add(dbh.Get_Tabledata(sql, false, true).Copy());
|
||||
Report.SetParameterValue("Parcours", dbh.Get_Option(2));
|
||||
Report.SetParameterValue("Spruch", dbh.Get_Option(3));
|
||||
Report.SetParameterValue("URL", dbh.Get_Option(27));
|
||||
Report.RegisterData(DataSet);
|
||||
Report.GetDataSource("Daten").Enabled = true;
|
||||
|
||||
UserWebReport.Report = Report;
|
||||
UserWebReport.Report.Refresh();
|
||||
Spinnervisible = false;
|
||||
}
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
try
|
||||
|
||||
{
|
||||
|
||||
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);
|
||||
userid = userId;
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
userid = userId;
|
||||
}
|
||||
}
|
||||
UserWebReport = new WebReport();
|
||||
}
|
||||
catch (Exception e)
|
||||
{ emsg = e.Message.ToString(); };
|
||||
}
|
||||
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,278 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a3f39d6be62f423e52dd1d581a14a1486278145c"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor"
|
||||
using System.IO;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/showconfig")]
|
||||
public partial class ShowConfig : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h3>ShowConfig</h3>\r\n\r\n");
|
||||
__builder.OpenElement(1, "button");
|
||||
__builder.AddAttribute(2, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor"
|
||||
ShowConfiguration
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddContent(3, "Config");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(4, "\r\n<br>\r\n");
|
||||
__builder.OpenElement(5, "label");
|
||||
__builder.AddContent(6, "Autologin: ");
|
||||
__builder.AddContent(7,
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor"
|
||||
alogin
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(8, "<br>\r\n");
|
||||
__builder.OpenElement(9, "label");
|
||||
__builder.AddContent(10, "Connectionstring: ");
|
||||
__builder.AddContent(11,
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor"
|
||||
connstring
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(12, "<br>\r\n");
|
||||
__builder.OpenElement(13, "label");
|
||||
__builder.AddContent(14, "Directory: ");
|
||||
__builder.AddContent(15,
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor"
|
||||
mydir
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(16, "<br>\r\n<br>\r\n ");
|
||||
__builder.OpenElement(17, "input");
|
||||
__builder.AddAttribute(18, "placeholder", "Enter your text");
|
||||
__builder.AddAttribute(19, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor"
|
||||
pathi
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddAttribute(20, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => pathi = __value, pathi));
|
||||
__builder.SetUpdatesAttributeName("value");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(21, "\r\n ");
|
||||
__builder.OpenElement(22, "button");
|
||||
__builder.AddAttribute(23, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 14 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor"
|
||||
UpdateFilelist
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddContent(24, "Refresh");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(25, "\r\n<br>\r\n");
|
||||
__builder.OpenElement(26, "label");
|
||||
__builder.AddContent(27, "Files: ");
|
||||
__builder.AddContent(28,
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor"
|
||||
filelist
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(29, "\r\n\r\n<hr>");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor"
|
||||
|
||||
public string alogin { get; set; } = "";
|
||||
public string connstring { get; set; } = "";
|
||||
public string mydir { get; set; } = "";
|
||||
public string filelist { get; set; } = "";
|
||||
public string pathi { get; set; } = "";
|
||||
private void ShowConfiguration()
|
||||
{
|
||||
Helper.ParameterHelper ph = new Helper.ParameterHelper();
|
||||
alogin = ph.GetParameter("autologin");
|
||||
connstring = ph.GetConnString("BlazorAppContextConnection");
|
||||
mydir = AppContext.BaseDirectory;
|
||||
|
||||
|
||||
}
|
||||
private void UpdateFilelist()
|
||||
{
|
||||
filelist = "";
|
||||
string [] fileEntries = Directory.GetFiles(pathi);
|
||||
foreach (string fileName in fileEntries)
|
||||
filelist = filelist + ", " + fileName;
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\_Host.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8501d6bc089d1066686824abfe076f91c939e65a"
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\_Host.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "cd16336ac39374317c56f9e4ad029124f43d91ea"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(BlazorApp.Pages.Pages__Host), @"mvc.1.0.razor-page", @"/Pages/_Host.cshtml")]
|
||||
@@ -20,7 +20,7 @@ using Microsoft.AspNetCore.Identity;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("RouteTemplate", "/")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"8501d6bc089d1066686824abfe076f91c939e65a", @"/Pages/_Host.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"cd16336ac39374317c56f9e4ad029124f43d91ea", @"/Pages/_Host.cshtml")]
|
||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"8320e1b00bbdbcf772f6a9149a2f8caa81a87627", @"/Pages/_ViewImports.cshtml")]
|
||||
public class Pages__Host : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
|
||||
{
|
||||
@@ -64,9 +64,9 @@ using Microsoft.AspNetCore.Identity;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
WriteLiteral("\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8501d6bc089d1066686824abfe076f91c939e65a4756", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cd16336ac39374317c56f9e4ad029124f43d91ea4756", async() => {
|
||||
WriteLiteral("\r\n\r\n\r\n <meta charset=\"utf-8\" />\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\r\n <title>BlazorApp</title>\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("base", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8501d6bc089d1066686824abfe076f91c939e65a5176", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("base", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "cd16336ac39374317c56f9e4ad029124f43d91ea5176", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
|
||||
@@ -98,9 +98,9 @@ using Microsoft.AspNetCore.Identity;
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8501d6bc089d1066686824abfe076f91c939e65a7353", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cd16336ac39374317c56f9e4ad029124f43d91ea7353", async() => {
|
||||
WriteLiteral("\r\n <script src=\"_content/Radzen.Blazor/Radzen.Blazor.js\"></script>\r\n <app>\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("component", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8501d6bc089d1066686824abfe076f91c939e65a7705", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("component", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "cd16336ac39374317c56f9e4ad029124f43d91ea7705", async() => {
|
||||
}
|
||||
);
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ComponentTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.ComponentTagHelper>();
|
||||
@@ -115,7 +115,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ComponentTagHelper.ComponentType = typeof(
|
||||
__tagHelperExecutionContext.AddTagHelperAttribute("type", __Microsoft_AspNetCore_Mvc_TagHelpers_ComponentTagHelper.ComponentType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
#nullable restore
|
||||
#line 26 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\_Host.cshtml"
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ComponentTagHelper.RenderMode = global::Microsoft.AspNetCore.Mvc.Rendering.RenderMode.ServerPrerendered;
|
||||
__Microsoft_AspNetCore_Mvc_TagHelpers_ComponentTagHelper.RenderMode = global::Microsoft.AspNetCore.Mvc.Rendering.RenderMode.Server;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
@@ -128,8 +128,9 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ComponentTagHelper.RenderMode = global::Mi
|
||||
}
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n");
|
||||
WriteLiteral("\r\n </app>\r\n\r\n <div id=\"blazor-error-ui\">\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("environment", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8501d6bc089d1066686824abfe076f91c939e65a9759", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("environment", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cd16336ac39374317c56f9e4ad029124f43d91ea9787", async() => {
|
||||
WriteLiteral("\r\n An error has occurred. This application may no longer respond until reloaded.\r\n ");
|
||||
}
|
||||
);
|
||||
@@ -145,7 +146,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ComponentTagHelper.RenderMode = global::Mi
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("environment", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8501d6bc089d1066686824abfe076f91c939e65a11116", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("environment", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cd16336ac39374317c56f9e4ad029124f43d91ea11144", async() => {
|
||||
WriteLiteral("\r\n An unhandled exception has occurred. See browser dev tools for details.\r\n ");
|
||||
}
|
||||
);
|
||||
@@ -161,7 +162,7 @@ __Microsoft_AspNetCore_Mvc_TagHelpers_ComponentTagHelper.RenderMode = global::Mi
|
||||
Write(__tagHelperExecutionContext.Output);
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n <a");
|
||||
BeginWriteAttribute("href", " href=\"", 1242, "\"", 1249, 0);
|
||||
BeginWriteAttribute("href", " href=\"", 1311, "\"", 1318, 0);
|
||||
EndWriteAttribute();
|
||||
WriteLiteral(" class=\"reload\">Reload</a>\r\n <a class=\"dismiss\">🗙</a>\r\n </div>\r\n\r\n <script src=\"_framework/blazor.server.js\"></script>\r\n");
|
||||
}
|
||||
|
||||
@@ -97,6 +97,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "202ce552f789376751e61b37cf15f3231be7f171"
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a086702dfc2e020832f92627f5875e5521d76ecd"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Shared
|
||||
@@ -89,6 +89,34 @@ using Syncfusion.Blazor.Calendars;
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
@@ -520,14 +548,14 @@ using Radzen.Blazor;
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(110, "\r\n ");
|
||||
__builder3.AddMarkupContent(110, "\r\n ");
|
||||
__builder3.OpenComponent<Microsoft.AspNetCore.Components.Authorization.AuthorizeView>(111);
|
||||
__builder3.AddAttribute(112, "Roles", "Administrators");
|
||||
__builder3.AddAttribute(112, "Roles", "Lehrer");
|
||||
__builder3.AddAttribute(113, "Authorized", (Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder4) => {
|
||||
__builder4.AddMarkupContent(114, "\r\n\r\n");
|
||||
__builder4.AddMarkupContent(114, "\r\n");
|
||||
#nullable restore
|
||||
#line 86 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
foreach (var mentry in AdminMenu)
|
||||
#line 85 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
foreach (var mentry in TeacherMenu)
|
||||
{
|
||||
|
||||
#line default
|
||||
@@ -537,7 +565,7 @@ using Radzen.Blazor;
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(116);
|
||||
__builder4.AddAttribute(117, "Text", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 88 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 87 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
mentry.Name
|
||||
|
||||
#line default
|
||||
@@ -546,7 +574,7 @@ using Radzen.Blazor;
|
||||
));
|
||||
__builder4.AddAttribute(118, "Path", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 88 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 87 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
mentry.Path
|
||||
|
||||
#line default
|
||||
@@ -555,7 +583,7 @@ using Radzen.Blazor;
|
||||
));
|
||||
__builder4.AddAttribute(119, "Icon", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 88 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 87 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
mentry.Icon
|
||||
|
||||
#line default
|
||||
@@ -564,7 +592,7 @@ using Radzen.Blazor;
|
||||
));
|
||||
__builder4.AddAttribute(120, "Expanded", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 88 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 87 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
mentry.Expanded
|
||||
|
||||
#line default
|
||||
@@ -575,7 +603,7 @@ using Radzen.Blazor;
|
||||
__builder4.AddAttribute(122, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => {
|
||||
__builder5.AddMarkupContent(123, "\r\n");
|
||||
#nullable restore
|
||||
#line 89 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 88 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
if (mentry.Children != null)
|
||||
{
|
||||
|
||||
@@ -584,7 +612,7 @@ using Radzen.Blazor;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 91 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 90 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
foreach (var child in mentry.Children)
|
||||
{
|
||||
if (child.Children != null)
|
||||
@@ -597,7 +625,7 @@ using Radzen.Blazor;
|
||||
__builder5.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(125);
|
||||
__builder5.AddAttribute(126, "Text", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 95 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 94 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
child.Name
|
||||
|
||||
#line default
|
||||
@@ -606,7 +634,7 @@ using Radzen.Blazor;
|
||||
));
|
||||
__builder5.AddAttribute(127, "Icon", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 95 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 94 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
child.Icon
|
||||
|
||||
#line default
|
||||
@@ -615,7 +643,7 @@ using Radzen.Blazor;
|
||||
));
|
||||
__builder5.AddAttribute(128, "Expanded", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 95 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 94 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
child.Expanded
|
||||
|
||||
#line default
|
||||
@@ -626,7 +654,7 @@ using Radzen.Blazor;
|
||||
__builder5.AddAttribute(130, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder6) => {
|
||||
__builder6.AddMarkupContent(131, "\r\n");
|
||||
#nullable restore
|
||||
#line 96 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 95 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
foreach (var subchild in child.Children)
|
||||
{
|
||||
|
||||
@@ -637,7 +665,7 @@ using Radzen.Blazor;
|
||||
__builder6.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(133);
|
||||
__builder6.AddAttribute(134, "Text", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 98 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 97 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
subchild.Name
|
||||
|
||||
#line default
|
||||
@@ -646,7 +674,7 @@ using Radzen.Blazor;
|
||||
));
|
||||
__builder6.AddAttribute(135, "Path", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 98 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 97 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
subchild.Path
|
||||
|
||||
#line default
|
||||
@@ -655,7 +683,7 @@ using Radzen.Blazor;
|
||||
));
|
||||
__builder6.CloseComponent();
|
||||
#nullable restore
|
||||
#line 98 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 97 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
}
|
||||
|
||||
#line default
|
||||
@@ -667,7 +695,7 @@ using Radzen.Blazor;
|
||||
__builder5.CloseComponent();
|
||||
__builder5.AddContent(137, " ");
|
||||
#nullable restore
|
||||
#line 99 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 98 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -679,7 +707,7 @@ using Radzen.Blazor;
|
||||
__builder5.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(139);
|
||||
__builder5.AddAttribute(140, "Text", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 102 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 101 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
child.Name
|
||||
|
||||
#line default
|
||||
@@ -688,7 +716,7 @@ using Radzen.Blazor;
|
||||
));
|
||||
__builder5.AddAttribute(141, "Path", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 102 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 101 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
child.Path
|
||||
|
||||
#line default
|
||||
@@ -697,7 +725,7 @@ using Radzen.Blazor;
|
||||
));
|
||||
__builder5.AddAttribute(142, "Icon", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 102 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 101 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
child.Icon
|
||||
|
||||
#line default
|
||||
@@ -706,7 +734,7 @@ using Radzen.Blazor;
|
||||
));
|
||||
__builder5.CloseComponent();
|
||||
#nullable restore
|
||||
#line 102 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 101 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -714,7 +742,7 @@ using Radzen.Blazor;
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 103 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 102 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
}
|
||||
|
||||
#line default
|
||||
@@ -725,7 +753,7 @@ using Radzen.Blazor;
|
||||
));
|
||||
__builder4.CloseComponent();
|
||||
#nullable restore
|
||||
#line 104 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 103 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
}
|
||||
|
||||
#line default
|
||||
@@ -741,36 +769,272 @@ using Radzen.Blazor;
|
||||
}
|
||||
));
|
||||
__builder3.AddAttribute(150, "NotAuthorized", (Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder4) => {
|
||||
__builder4.AddMarkupContent(151, "\r\n ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(152);
|
||||
__builder4.AddAttribute(153, "Text", "Anmelden");
|
||||
__builder4.AddAttribute(154, "Path", "/identity/account/login");
|
||||
__builder4.AddAttribute(155, "Icon", "");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(156, "\r\n ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(157);
|
||||
__builder4.AddAttribute(158, "Text", "Registrierung Firma");
|
||||
__builder4.AddAttribute(159, "Path", "/identity/account/registercompany");
|
||||
__builder4.AddAttribute(160, "Icon", "");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(161, "\r\n ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(162);
|
||||
__builder4.AddAttribute(163, "Text", "Registrierung Lehrer");
|
||||
__builder4.AddAttribute(164, "Path", "/identity/account/registerteacher");
|
||||
__builder4.AddAttribute(165, "Icon", "");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(166, "\r\n \r\n ");
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(167, "\r\n ");
|
||||
__builder3.AddMarkupContent(151, "\r\n ");
|
||||
__builder3.OpenComponent<Microsoft.AspNetCore.Components.Authorization.AuthorizeView>(152);
|
||||
__builder3.AddAttribute(153, "Roles", "Administrators");
|
||||
__builder3.AddAttribute(154, "Authorized", (Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder4) => {
|
||||
__builder4.AddMarkupContent(155, "\r\n\r\n");
|
||||
#nullable restore
|
||||
#line 112 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
foreach (var mentry in AdminMenu)
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder4.AddContent(156, " ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(157);
|
||||
__builder4.AddAttribute(158, "Text", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 114 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
mentry.Name
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(159, "Path", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 114 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
mentry.Path
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(160, "Icon", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 114 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
mentry.Icon
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(161, "Expanded", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 114 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
mentry.Expanded
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(162, "ExpandedChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Boolean>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Boolean>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => mentry.Expanded = __value, mentry.Expanded))));
|
||||
__builder4.AddAttribute(163, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => {
|
||||
__builder5.AddMarkupContent(164, "\r\n");
|
||||
#nullable restore
|
||||
#line 115 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
if (mentry.Children != null)
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 117 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
foreach (var child in mentry.Children)
|
||||
{
|
||||
if (child.Children != null)
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder5.AddContent(165, " ");
|
||||
__builder5.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(166);
|
||||
__builder5.AddAttribute(167, "Text", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 121 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
child.Name
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(168, "Icon", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 121 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
child.Icon
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(169, "Expanded", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 121 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
child.Expanded
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(170, "ExpandedChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Boolean>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Boolean>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => child.Expanded = __value, child.Expanded))));
|
||||
__builder5.AddAttribute(171, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder6) => {
|
||||
__builder6.AddMarkupContent(172, "\r\n");
|
||||
#nullable restore
|
||||
#line 122 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
foreach (var subchild in child.Children)
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder6.AddContent(173, " ");
|
||||
__builder6.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(174);
|
||||
__builder6.AddAttribute(175, "Text", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 124 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
subchild.Name
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder6.AddAttribute(176, "Path", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 124 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
subchild.Path
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder6.CloseComponent();
|
||||
#nullable restore
|
||||
#line 124 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder6.AddContent(177, " ");
|
||||
}
|
||||
));
|
||||
__builder5.CloseComponent();
|
||||
__builder5.AddContent(178, " ");
|
||||
#nullable restore
|
||||
#line 125 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder5.AddContent(179, " ");
|
||||
__builder5.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(180);
|
||||
__builder5.AddAttribute(181, "Text", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 128 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
child.Name
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(182, "Path", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 128 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
child.Path
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(183, "Icon", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 128 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
child.Icon
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.CloseComponent();
|
||||
#nullable restore
|
||||
#line 128 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
}
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 129 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder5.AddContent(184, " ");
|
||||
}
|
||||
));
|
||||
__builder4.CloseComponent();
|
||||
#nullable restore
|
||||
#line 130 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder4.AddMarkupContent(185, "\r\n ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(186);
|
||||
__builder4.AddAttribute(187, "Text", "Abmelden");
|
||||
__builder4.AddAttribute(188, "Path", "/identity/account/logout");
|
||||
__builder4.AddAttribute(189, "Icon", "");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(190, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder3.AddAttribute(191, "NotAuthorized", (Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder4) => {
|
||||
__builder4.AddMarkupContent(192, "\r\n ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(193);
|
||||
__builder4.AddAttribute(194, "Text", "Anmelden");
|
||||
__builder4.AddAttribute(195, "Path", "/identity/account/login");
|
||||
__builder4.AddAttribute(196, "Icon", "");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(197, "\r\n ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(198);
|
||||
__builder4.AddAttribute(199, "Text", "Registrierung Firma");
|
||||
__builder4.AddAttribute(200, "Path", "/identity/account/registercompany");
|
||||
__builder4.AddAttribute(201, "Icon", "");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(202, "\r\n ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(203);
|
||||
__builder4.AddAttribute(204, "Text", "Registrierung Lehrer");
|
||||
__builder4.AddAttribute(205, "Path", "/identity/account/registerteacher");
|
||||
__builder4.AddAttribute(206, "Icon", "");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(207, "\r\n ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(208);
|
||||
__builder4.AddAttribute(209, "Text", "ScriptGenerator");
|
||||
__builder4.AddAttribute(210, "Path", "/Admin/ScriptGenerator");
|
||||
__builder4.AddAttribute(211, "Icon", "");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(212, "\r\n ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(213);
|
||||
__builder4.AddAttribute(214, "Text", "ShowConfig");
|
||||
__builder4.AddAttribute(215, "Path", "/ShowConfig");
|
||||
__builder4.AddAttribute(216, "Icon", "");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(217, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(218, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(168, "\r\n ");
|
||||
__builder2.AddMarkupContent(219, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder.AddComponentReferenceCapture(169, (__value) => {
|
||||
__builder.AddComponentReferenceCapture(220, (__value) => {
|
||||
#nullable restore
|
||||
#line 51 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
sidebar0 = (Radzen.Blazor.RadzenSidebar)__value;
|
||||
@@ -781,28 +1045,28 @@ using Radzen.Blazor;
|
||||
}
|
||||
);
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(170, "\r\n ");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenFooter>(171);
|
||||
__builder.AddAttribute(172, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddMarkupContent(173, "\r\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenLabel>(174);
|
||||
__builder2.AddAttribute(175, "Text", "Radzen Blazor Components, Copyright © 2020");
|
||||
__builder.AddMarkupContent(221, "\r\n ");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenFooter>(222);
|
||||
__builder.AddAttribute(223, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddMarkupContent(224, "\r\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenLabel>(225);
|
||||
__builder2.AddAttribute(226, "Text", "Radzen Blazor Components, Copyright © 2020");
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(176, "\r\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenLink>(177);
|
||||
__builder2.AddAttribute(178, "Text", "[source]");
|
||||
__builder2.AddAttribute(179, "Path", "https://github.com/radzenhq/radzen-blazor");
|
||||
__builder2.AddAttribute(180, "Target", "_blank");
|
||||
__builder2.AddAttribute(181, "Style", "margin-left:5px;vertical-align:bottom;");
|
||||
__builder2.AddMarkupContent(227, "\r\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenLink>(228);
|
||||
__builder2.AddAttribute(229, "Text", "[source]");
|
||||
__builder2.AddAttribute(230, "Path", "https://github.com/radzenhq/radzen-blazor");
|
||||
__builder2.AddAttribute(231, "Target", "_blank");
|
||||
__builder2.AddAttribute(232, "Style", "margin-left:5px;vertical-align:bottom;");
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(182, "\r\n ");
|
||||
__builder2.AddMarkupContent(233, "\r\n ");
|
||||
}
|
||||
));
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 147 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 174 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
RadzenSidebar sidebar0;
|
||||
RadzenBody body0;
|
||||
bool sidebarExpanded = true;
|
||||
@@ -821,6 +1085,7 @@ using Radzen.Blazor;
|
||||
//public List<BlazorApp.Models.MenuItem> AdminMenu = new List<Models.MenuItem>();
|
||||
IEnumerable<BlazorApp.Models.MenuItem> AdminMenu;
|
||||
IEnumerable<BlazorApp.Models.MenuItem> CompanyMenu;
|
||||
IEnumerable<BlazorApp.Models.MenuItem> TeacherMenu;
|
||||
|
||||
string Theme
|
||||
{
|
||||
@@ -849,6 +1114,7 @@ using Radzen.Blazor;
|
||||
|
||||
AdminMenu = MenuService.MenuAdmin;
|
||||
CompanyMenu = MenuService.MenuComapny;
|
||||
TeacherMenu = MenuService.MenuTeacher;
|
||||
|
||||
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8cfb4c36b9a7aed01715f245181a91d477d1cd11"
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c9f0bb1cd3e69e799a5f55176ed4b2fdb668ad1d"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Shared
|
||||
@@ -82,6 +82,34 @@ using Syncfusion.Blazor.Calendars;
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
@@ -154,19 +182,20 @@ using Newtonsoft.Json;
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder.OpenElement(0, "link");
|
||||
__builder.AddAttribute(1, "href", "_content/Radzen.Blazor/css/" + (
|
||||
__builder.AddContent(0, " ");
|
||||
__builder.OpenElement(1, "link");
|
||||
__builder.AddAttribute(2, "href", "_content/Radzen.Blazor/css/" + (
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
Theme
|
||||
Theme
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddAttribute(2, "rel", "stylesheet");
|
||||
__builder.AddAttribute(3, "rel", "stylesheet");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(3, "\n");
|
||||
__builder.AddMarkupContent(4, "\r\n");
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
}
|
||||
@@ -174,29 +203,29 @@ using Newtonsoft.Json;
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenDialog>(4);
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenDialog>(5);
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(5, "\n");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenNotification>(6);
|
||||
__builder.AddMarkupContent(6, "\n");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenNotification>(7);
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(7, "\n");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenTooltip>(8);
|
||||
__builder.AddMarkupContent(8, "\n");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenTooltip>(9);
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(9, "\n");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenContextMenu>(10);
|
||||
__builder.AddMarkupContent(10, "\n");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenContextMenu>(11);
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(11, "\n\n");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenHeader>(12);
|
||||
__builder.AddAttribute(13, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddMarkupContent(14, "\n ");
|
||||
__builder2.OpenElement(15, "div");
|
||||
__builder2.AddAttribute(16, "class", "row justify-content-start align-items-center");
|
||||
__builder2.AddMarkupContent(17, "\n ");
|
||||
__builder2.OpenElement(18, "div");
|
||||
__builder2.AddAttribute(19, "class", "col-6 d-flex align-items-center");
|
||||
__builder2.AddMarkupContent(20, "\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenSidebarToggle>(21);
|
||||
__builder2.AddAttribute(22, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.EventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.EventArgs>(this,
|
||||
__builder.AddMarkupContent(12, "\n\n");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenHeader>(13);
|
||||
__builder.AddAttribute(14, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddMarkupContent(15, "\n ");
|
||||
__builder2.OpenElement(16, "div");
|
||||
__builder2.AddAttribute(17, "class", "row justify-content-start align-items-center");
|
||||
__builder2.AddMarkupContent(18, "\n ");
|
||||
__builder2.OpenElement(19, "div");
|
||||
__builder2.AddAttribute(20, "class", "col-6 d-flex align-items-center");
|
||||
__builder2.AddMarkupContent(21, "\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenSidebarToggle>(22);
|
||||
__builder2.AddAttribute(23, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.EventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.EventArgs>(this,
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
args => { sidebarExpanded = !sidebarExpanded; bodyExpanded = !bodyExpanded; }
|
||||
@@ -206,42 +235,42 @@ using Newtonsoft.Json;
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(23, "\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenLabel>(24);
|
||||
__builder2.AddAttribute(25, "Text", "Radzen Blazor Components");
|
||||
__builder2.AddMarkupContent(24, "\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenLabel>(25);
|
||||
__builder2.AddAttribute(26, "Text", "Radzen Blazor Components");
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(26, "\n ");
|
||||
__builder2.CloseElement();
|
||||
__builder2.AddMarkupContent(27, "\n ");
|
||||
__builder2.OpenElement(28, "div");
|
||||
__builder2.AddAttribute(29, "class", "col-6 d-flex align-items-center justify-content-end");
|
||||
__builder2.AddMarkupContent(30, "\n ");
|
||||
__builder2.AddMarkupContent(31, "<label class=\"d-none d-sm-inline-block\" style=\"margin-left: 1rem\">Theme:</label>\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenDropDown<string>>(32);
|
||||
__builder2.AddAttribute(33, "style", "margin:0 .5rem");
|
||||
__builder2.AddAttribute(34, "TextProperty", "Text");
|
||||
__builder2.AddAttribute(35, "ValueProperty", "Value");
|
||||
__builder2.AddAttribute(36, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Collections.IEnumerable>(
|
||||
__builder2.CloseElement();
|
||||
__builder2.AddMarkupContent(28, "\n ");
|
||||
__builder2.OpenElement(29, "div");
|
||||
__builder2.AddAttribute(30, "class", "col-6 d-flex align-items-center justify-content-end");
|
||||
__builder2.AddMarkupContent(31, "\n ");
|
||||
__builder2.AddMarkupContent(32, "<label class=\"d-none d-sm-inline-block\" style=\"margin-left: 1rem\">Theme:</label>\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenDropDown<string>>(33);
|
||||
__builder2.AddAttribute(34, "style", "margin:0 .5rem");
|
||||
__builder2.AddAttribute(35, "TextProperty", "Text");
|
||||
__builder2.AddAttribute(36, "ValueProperty", "Value");
|
||||
__builder2.AddAttribute(37, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Collections.IEnumerable>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 38 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
themes
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(37, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
__builder2.AddAttribute(38, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 38 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
ThemeState.CurrentTheme
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(38, "Change", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Object>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Object>(this,
|
||||
__builder2.AddAttribute(39, "Change", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Object>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Object>(this,
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 38 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
ChangeTheme
|
||||
|
||||
#line default
|
||||
@@ -249,54 +278,54 @@ using Newtonsoft.Json;
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(39, "\n ");
|
||||
__builder2.AddMarkupContent(40, "\n ");
|
||||
__builder2.CloseElement();
|
||||
__builder2.AddMarkupContent(40, "\n ");
|
||||
__builder2.AddMarkupContent(41, "\n ");
|
||||
__builder2.CloseElement();
|
||||
__builder2.AddMarkupContent(41, "\n ");
|
||||
__builder2.AddMarkupContent(42, "\n ");
|
||||
}
|
||||
));
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(42, "\n");
|
||||
__builder.OpenElement(43, "div");
|
||||
__builder.AddAttribute(44, "style", "width:100%");
|
||||
__builder.AddMarkupContent(45, "\n ");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenBody>(46);
|
||||
__builder.AddAttribute(47, "Expanded", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
__builder.AddMarkupContent(43, "\n");
|
||||
__builder.OpenElement(44, "div");
|
||||
__builder.AddAttribute(45, "style", "width:100%");
|
||||
__builder.AddMarkupContent(46, "\n ");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenBody>(47);
|
||||
__builder.AddAttribute(48, "Expanded", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
bodyExpanded
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddAttribute(48, "ExpandedChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Boolean>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Boolean>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => bodyExpanded = __value, bodyExpanded))));
|
||||
__builder.AddAttribute(49, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddMarkupContent(50, "\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenContentContainer>(51);
|
||||
__builder2.AddAttribute(52, "Name", "main");
|
||||
__builder2.AddAttribute(53, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.AddMarkupContent(54, "\n ");
|
||||
__builder3.AddContent(55,
|
||||
__builder.AddAttribute(49, "ExpandedChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Boolean>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Boolean>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => bodyExpanded = __value, bodyExpanded))));
|
||||
__builder.AddAttribute(50, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddMarkupContent(51, "\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenContentContainer>(52);
|
||||
__builder2.AddAttribute(53, "Name", "main");
|
||||
__builder2.AddAttribute(54, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.AddMarkupContent(55, "\n ");
|
||||
__builder3.AddContent(56,
|
||||
#nullable restore
|
||||
#line 50 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
Body
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__builder3.AddMarkupContent(56, "\n ");
|
||||
__builder3.AddMarkupContent(57, "\n ");
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(57, "\n ");
|
||||
__builder2.AddMarkupContent(58, "\n ");
|
||||
}
|
||||
));
|
||||
__builder.AddComponentReferenceCapture(58, (__value) => {
|
||||
__builder.AddComponentReferenceCapture(59, (__value) => {
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
body0 = (Radzen.Blazor.RadzenBody)__value;
|
||||
|
||||
#line default
|
||||
@@ -305,89 +334,91 @@ using Newtonsoft.Json;
|
||||
}
|
||||
);
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(59, "\n");
|
||||
__builder.AddMarkupContent(60, "\n");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(60, "\n\n");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenSidebar>(61);
|
||||
__builder.AddAttribute(62, "Expanded", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
__builder.AddMarkupContent(61, "\n\n");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenSidebar>(62);
|
||||
__builder.AddAttribute(63, "Expanded", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 56 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
sidebarExpanded
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddAttribute(63, "ExpandedChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Boolean>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Boolean>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => sidebarExpanded = __value, sidebarExpanded))));
|
||||
__builder.AddAttribute(64, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddMarkupContent(65, "\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenPanelMenu>(66);
|
||||
__builder2.AddAttribute(67, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.AddMarkupContent(68, "\n ");
|
||||
__builder3.OpenComponent<Microsoft.AspNetCore.Components.Authorization.AuthorizeView>(69);
|
||||
__builder3.AddAttribute(70, "Roles", "Administrators");
|
||||
__builder3.AddAttribute(71, "Authorized", (Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder4) => {
|
||||
__builder4.AddMarkupContent(72, "\n");
|
||||
__builder.AddAttribute(64, "ExpandedChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Boolean>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Boolean>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => sidebarExpanded = __value, sidebarExpanded))));
|
||||
__builder.AddAttribute(65, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddMarkupContent(66, "\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenPanelMenu>(67);
|
||||
__builder2.AddAttribute(68, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.AddMarkupContent(69, "\n ");
|
||||
__builder3.OpenComponent<Microsoft.AspNetCore.Components.Authorization.AuthorizeView>(70);
|
||||
__builder3.AddAttribute(71, "Roles", "Administrators");
|
||||
__builder3.AddAttribute(72, "Authorized", (Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder4) => {
|
||||
__builder4.AddMarkupContent(73, "\n");
|
||||
#nullable restore
|
||||
#line 64 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 58 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
foreach (var Menuentry in AdminMenu)
|
||||
{
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(73);
|
||||
__builder4.AddAttribute(74, "Text", "Menuentry.Name");
|
||||
__builder4.AddAttribute(75, "Path", "MenuEntry.Path");
|
||||
__builder4.AddAttribute(76, "Icon", "MenuEntry.Icon");
|
||||
__builder4.AddAttribute(77, "Expanded", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
__builder4.AddContent(74, " ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(75);
|
||||
__builder4.AddAttribute(76, "Text", "Menuentry.Name");
|
||||
__builder4.AddAttribute(77, "Path", "MenuEntry.Path");
|
||||
__builder4.AddAttribute(78, "Icon", "MenuEntry.Icon");
|
||||
__builder4.AddAttribute(79, "Expanded", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 66 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
Menuentry.Expanded
|
||||
#line 60 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
Menuentry.Expanded
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(78, "ExpandedChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Boolean>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Boolean>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => Menuentry.Expanded = __value, Menuentry.Expanded))));
|
||||
__builder4.AddAttribute(80, "ExpandedChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Boolean>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Boolean>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => Menuentry.Expanded = __value, Menuentry.Expanded))));
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(81, "\r\n");
|
||||
#nullable restore
|
||||
#line 67 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
}
|
||||
#line 62 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder4.AddContent(79, " ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(80);
|
||||
__builder4.AddAttribute(81, "Text", "Abmelden");
|
||||
__builder4.AddAttribute(82, "Path", "/identity/account/logout");
|
||||
__builder4.AddAttribute(83, "Icon", "");
|
||||
__builder4.AddContent(82, " ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(83);
|
||||
__builder4.AddAttribute(84, "Text", "Abmelden");
|
||||
__builder4.AddAttribute(85, "Path", "/identity/account/logout");
|
||||
__builder4.AddAttribute(86, "Icon", "");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(84, "\n ");
|
||||
__builder4.AddMarkupContent(87, "\n ");
|
||||
}
|
||||
));
|
||||
__builder3.AddAttribute(85, "NotAuthorized", (Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder4) => {
|
||||
__builder4.AddMarkupContent(86, "\n ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(87);
|
||||
__builder4.AddAttribute(88, "Text", "Anmelden");
|
||||
__builder4.AddAttribute(89, "Path", "/identity/account/login");
|
||||
__builder4.AddAttribute(90, "Icon", "");
|
||||
__builder3.AddAttribute(88, "NotAuthorized", (Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder4) => {
|
||||
__builder4.AddMarkupContent(89, "\n ");
|
||||
__builder4.OpenComponent<Radzen.Blazor.RadzenPanelMenuItem>(90);
|
||||
__builder4.AddAttribute(91, "Text", "Anmelden");
|
||||
__builder4.AddAttribute(92, "Path", "/identity/account/login");
|
||||
__builder4.AddAttribute(93, "Icon", "");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(91, "\n ");
|
||||
__builder4.AddMarkupContent(94, "\n ");
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(92, "\n ");
|
||||
__builder3.AddMarkupContent(95, "\n ");
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(93, "\n ");
|
||||
__builder2.AddMarkupContent(96, "\n \n ");
|
||||
}
|
||||
));
|
||||
__builder.AddComponentReferenceCapture(94, (__value) => {
|
||||
__builder.AddComponentReferenceCapture(97, (__value) => {
|
||||
#nullable restore
|
||||
#line 56 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
sidebar0 = (Radzen.Blazor.RadzenSidebar)__value;
|
||||
|
||||
#line default
|
||||
@@ -396,99 +427,102 @@ using Newtonsoft.Json;
|
||||
}
|
||||
);
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(95, "\n");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenFooter>(96);
|
||||
__builder.AddAttribute(97, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddMarkupContent(98, "\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenLabel>(99);
|
||||
__builder2.AddAttribute(100, "Text", "Radzen Blazor Components, Copyright © 2020");
|
||||
__builder2.CloseComponent();
|
||||
__builder.AddMarkupContent(98, "\n");
|
||||
__builder.OpenComponent<Radzen.Blazor.RadzenFooter>(99);
|
||||
__builder.AddAttribute(100, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddMarkupContent(101, "\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenLink>(102);
|
||||
__builder2.AddAttribute(103, "Text", "[source]");
|
||||
__builder2.AddAttribute(104, "Path", "https://github.com/radzenhq/radzen-blazor");
|
||||
__builder2.AddAttribute(105, "Target", "_blank");
|
||||
__builder2.AddAttribute(106, "Style", "margin-left:5px;vertical-align:bottom;");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenLabel>(102);
|
||||
__builder2.AddAttribute(103, "Text", "Radzen Blazor Components, Copyright © 2020");
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(107, "\n ");
|
||||
__builder2.AddMarkupContent(104, "\n ");
|
||||
__builder2.OpenComponent<Radzen.Blazor.RadzenLink>(105);
|
||||
__builder2.AddAttribute(106, "Text", "[source]");
|
||||
__builder2.AddAttribute(107, "Path", "https://github.com/radzenhq/radzen-blazor");
|
||||
__builder2.AddAttribute(108, "Target", "_blank");
|
||||
__builder2.AddAttribute(109, "Style", "margin-left:5px;vertical-align:bottom;");
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(110, "\n ");
|
||||
}
|
||||
));
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 105 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 80 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
|
||||
RadzenSidebar sidebar0;
|
||||
RadzenBody body0;
|
||||
bool sidebarExpanded = true;
|
||||
bool bodyExpanded = false;
|
||||
|
||||
dynamic themes = new[]
|
||||
{
|
||||
new { Text = "Default", Value = "default"},
|
||||
new { Text = "Dark", Value="dark" },
|
||||
new { Text = "Software", Value = "software"},
|
||||
new { Text = "Humanistic", Value = "humanistic" }
|
||||
|
||||
RadzenSidebar sidebar0;
|
||||
RadzenBody body0;
|
||||
bool sidebarExpanded = true;
|
||||
bool bodyExpanded = false;
|
||||
|
||||
dynamic themes = new[]
|
||||
{
|
||||
new { Text = "Default", Value = "default"},
|
||||
new { Text = "Dark", Value="dark" },
|
||||
new { Text = "Software", Value = "software"},
|
||||
new { Text = "Humanistic", Value = "humanistic" }
|
||||
};
|
||||
|
||||
IEnumerable<BlazorApp.Models.MenuItem> AdminMenu;
|
||||
IEnumerable<BlazorApp.Models.MenuItem> AdminMenu;
|
||||
|
||||
string Theme
|
||||
string Theme
|
||||
{
|
||||
get
|
||||
{
|
||||
return $"{ThemeState.CurrentTheme}.css";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
|
||||
|
||||
if (httpContextAccessor != null && httpContextAccessor.HttpContext != null &&
|
||||
httpContextAccessor.HttpContext.Request != null && httpContextAccessor.HttpContext.Request.Headers.ContainsKey("User-Agent"))
|
||||
{
|
||||
var userAgent = httpContextAccessor.HttpContext.Request.Headers["User-Agent"].FirstOrDefault();
|
||||
if (!string.IsNullOrEmpty(userAgent))
|
||||
{
|
||||
get
|
||||
if (userAgent.Contains("iPhone") || userAgent.Contains("Android") || userAgent.Contains("Googlebot"))
|
||||
{
|
||||
return $"{ThemeState.CurrentTheme}.css";
|
||||
sidebarExpanded = false;
|
||||
bodyExpanded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
|
||||
|
||||
}
|
||||
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
if (!firstRender)
|
||||
{
|
||||
var example = ExampleService.FindCurrent(UriHelper.ToAbsoluteUri(UriHelper.Uri));
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
if (httpContextAccessor != null && httpContextAccessor.HttpContext != null &&
|
||||
httpContextAccessor.HttpContext.Request != null && httpContextAccessor.HttpContext.Request.Headers.ContainsKey("User-Agent"))
|
||||
{
|
||||
var userAgent = httpContextAccessor.HttpContext.Request.Headers["User-Agent"].FirstOrDefault();
|
||||
if (!string.IsNullOrEmpty(userAgent))
|
||||
{
|
||||
if (userAgent.Contains("iPhone") || userAgent.Contains("Android") || userAgent.Contains("Googlebot"))
|
||||
{
|
||||
sidebarExpanded = false;
|
||||
bodyExpanded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
if (!firstRender)
|
||||
{
|
||||
var example = ExampleService.FindCurrent(UriHelper.ToAbsoluteUri(UriHelper.Uri));
|
||||
void ChangeTheme(object value)
|
||||
{
|
||||
ThemeState.CurrentTheme = value.ToString();
|
||||
UriHelper.NavigateTo(UriHelper.ToAbsoluteUri(UriHelper.Uri).ToString());
|
||||
}
|
||||
|
||||
//await JSRuntime.InvokeVoidAsync("setTitle", ExampleService.TitleFor(example));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void ChangeTheme(object value)
|
||||
{
|
||||
ThemeState.CurrentTheme = value.ToString();
|
||||
UriHelper.NavigateTo(UriHelper.ToAbsoluteUri(UriHelper.Uri).ToString());
|
||||
}
|
||||
|
||||
public class CustomMenuItem
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Text { get; set; }
|
||||
public string ParentId { get; set; }
|
||||
public string Url { get; set; }
|
||||
}
|
||||
public class CustomMenuItem
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Text { get; set; }
|
||||
public string ParentId { get; set; }
|
||||
public string Url { get; set; }
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
@@ -97,6 +97,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "332621cbf14266ae62aac7a3172673a5332ef62a"
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "218b0284bca78220fca38ed4b2960c21ee32e841"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp
|
||||
@@ -97,6 +97,34 @@ using Radzen;
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
@@ -13,93 +13,121 @@ namespace BlazorApp
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
+41
-13
@@ -13,93 +13,121 @@ namespace BlazorApp.Areas.Identity.Pages.Account
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+115
@@ -0,0 +1,115 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Controller.Firma
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public partial class Company : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,115 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Controller.Firma
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public partial class Firma : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
+319
@@ -0,0 +1,319 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages.Admin.Anrede
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Anrede/AnredeList")]
|
||||
public partial class Anrede : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 41 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
SfGrid<BWPMModels.Anrede> Grid { get; set; }
|
||||
public List<BWPMModels.Anrede> GridData { get; set; }
|
||||
public List<BWPMModels.Anrede> Anredes { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.AnredeController.GetAllData();
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Anrede> 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.AnredeController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.AnredeController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Anrede> 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.Anrede> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
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 < BWPMModels.Anrede> 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; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
+52
-24
@@ -13,147 +13,175 @@ namespace BlazorApp.Pages.Admin.AspNetUsers
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
using Syncfusion.Blazor.Popups;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
@@ -168,7 +196,7 @@ using BlazorApp.Controller;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 89 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
#line 89 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUserRolle.razor"
|
||||
|
||||
private bool IsVisible { get; set; } = false;
|
||||
private string Gridid = "";
|
||||
@@ -210,7 +238,7 @@ using BlazorApp.Controller;
|
||||
BWPMModels.AspNetUsers usr = new BWPMModels.AspNetUsers();
|
||||
usr.Id = Gridid;
|
||||
usr.PasswordHash = password;
|
||||
BlazorApp.Controller.AspNetUserRolleController.savepassword(usr);
|
||||
BlazorApp.Controller.AspNetUserRolleController.PUTPassword(usr);
|
||||
|
||||
this.IsVisible = false;
|
||||
}
|
||||
@@ -296,7 +324,7 @@ using BlazorApp.Controller;
|
||||
AspNetUserRoles rolle = new AspNetUserRoles();
|
||||
rolle.RoleId = Args.Data.RoleId;
|
||||
rolle.UserId = Args.Data.Id;
|
||||
BlazorApp.Controller.AspNetUserRolesController.savedata(rolle);
|
||||
BlazorApp.Controller.AspNetUserRolesController.PUT(rolle);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+49
-21
@@ -13,133 +13,161 @@ namespace BlazorApp.Pages.Admin.AspNetUsers
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
@@ -154,7 +182,7 @@ using BlazorApp.Controller;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 56 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
#line 56 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
SfGrid<BWPMModels.AspNetUsers> Grid { get; set; }
|
||||
public List<BWPMModels.AspNetUsers> GridData { get; set; }
|
||||
public List<BWPMModels.AspNetUsers> AspNetUserss { get; set; }
|
||||
@@ -208,7 +236,7 @@ using BlazorApp.Controller;
|
||||
}
|
||||
else
|
||||
{
|
||||
BlazorApp.Controller.AspNetUsersController.savedata(Args.Data);
|
||||
BlazorApp.Controller.AspNetUsersController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+49
-23
@@ -13,133 +13,161 @@ namespace BlazorApp.Pages.Admin.AspNetUsers
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
@@ -154,7 +182,7 @@ using BlazorApp.Controller;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 56 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
#line 56 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
|
||||
SfGrid<AspNetRoles> Grid { get; set; }
|
||||
|
||||
@@ -211,12 +239,10 @@ using BlazorApp.Controller;
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
BlazorApp.Controller.AspNetRolesController.savedata(Args.Data);
|
||||
BlazorApp.Controller.AspNetRolesController.POST(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+50
-22
@@ -13,133 +13,161 @@ namespace BlazorApp.Pages.Admin.Beruf
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
@@ -154,7 +182,7 @@ using BlazorApp.Controller;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 59 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
#line 58 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
|
||||
IEnumerable<Beruf> berufe;
|
||||
SfGrid<Beruf> Grid { get; set; }
|
||||
@@ -210,14 +238,14 @@ using BlazorApp.Controller;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.BerufController.InsertData(Args.Data);
|
||||
Args.Data.ID = BlazorApp.Controller.BerufController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.BerufController.savedata(Args.Data);
|
||||
BlazorApp.Controller.BerufController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages.Admin.Beruf
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public partial class Editberuf : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
+319
@@ -0,0 +1,319 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages.Admin.KlassenTyp
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Klassentyp/KlassentypList")]
|
||||
public partial class KlassentypList : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 43 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
SfGrid<Klassentyp> Grid { get; set; }
|
||||
public List<BWPMModels.Klassentyp> GridData { get; set; }
|
||||
public List<BWPMModels.Klassentyp> Klassentyps { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.KlassentypController.GetAllData();
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Klassentyp> 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.KlassentypController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.KlassentypController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Klassentyp> 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.Klassentyp> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
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<Klassentyp> 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; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
+319
@@ -0,0 +1,319 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages.Admin.Optionen
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Optionen/OptionenList")]
|
||||
public partial class OptionenList : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 45 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
SfGrid<Optionen> Grid { get; set; }
|
||||
public List<BWPMModels.Optionen> GridData { get; set; }
|
||||
public List<BWPMModels.Optionen> Optionens { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.OptionenController.GetAllData();
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Optionen> 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.OptionenController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.OptionenController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Optionen> 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.Optionen> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
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<Optionen> 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; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
+50
-22
@@ -13,133 +13,161 @@ namespace BlazorApp.Pages.Admin.Schulhaus
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
@@ -154,7 +182,7 @@ using BlazorApp.Controller;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
#line 53 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
SfGrid<Schulhaus> Grid { get; set; }
|
||||
public List<BWPMModels.Schulhaus> GridData { get; set; }
|
||||
public List<BWPMModels.Schulhaus> Schulhauss { get; set; }
|
||||
@@ -207,14 +235,14 @@ using BlazorApp.Controller;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.SchulhausController.InsertData(Args.Data);
|
||||
Args.Data.ID = BlazorApp.Controller.SchulhausController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.SchulhausController.savedata(Args.Data);
|
||||
BlazorApp.Controller.SchulhausController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+244
@@ -0,0 +1,244 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages.Admin
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using System.Text;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Syncfusion.Blazor.Navigations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Newtonsoft.Json;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/ScriptGenerator")]
|
||||
public partial class ScriptGenerator : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 88 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
|
||||
private List<TabItem> sourceCodeItems;
|
||||
public string tablename { get; set; } = "beruf";
|
||||
public string Code1 { get; set; } = "";
|
||||
public string Code2 { get; set; } = "";
|
||||
public string Code3 { get; set; } = "";
|
||||
public string Code4 { get; set; } = "";
|
||||
|
||||
public void GenerateCode()
|
||||
{
|
||||
|
||||
var clist1 = BlazorApp.Controller.MyScriptController.GetData(1, tablename);
|
||||
Code1 = clist1[0].script;
|
||||
var clist2 = BlazorApp.Controller.MyScriptController.GetData(4, tablename);
|
||||
Code2 = clist2[0].script;
|
||||
var clist3 = BlazorApp.Controller.MyScriptController.GetData(7, tablename);
|
||||
Code3 = clist3[0].script;
|
||||
var clist4 = BlazorApp.Controller.MyScriptController.GetData(8, tablename);
|
||||
Code4 = clist4[0].script;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
+50
-20
@@ -13,126 +13,154 @@ namespace BlazorApp.Pages.Admin.User
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
@@ -147,7 +175,7 @@ using BlazorApp.Controller;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 62 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
#line 63 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
|
||||
|
||||
|
||||
@@ -187,6 +215,7 @@ using BlazorApp.Controller;
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
string userid = "";
|
||||
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
@@ -199,10 +228,11 @@ using BlazorApp.Controller;
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
await sessionStorage.SetItemAsync("UserID", "");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+51
-23
@@ -13,133 +13,161 @@ namespace BlazorApp.Pages.Admin.Zeiten
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
@@ -154,7 +182,7 @@ using BlazorApp.Controller;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
#line 49 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
SfGrid<Zeiten> Grid { get; set; }
|
||||
public List<BWPMModels.Zeiten> GridData { get; set; }
|
||||
public List<BWPMModels.Zeiten> Zeitens { get; set; }
|
||||
@@ -207,14 +235,14 @@ using BlazorApp.Controller;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.ZeitenController.InsertData(Args.Data);
|
||||
Args.Data.ID = BlazorApp.Controller.ZeitenController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.ZeitenController.savedata(Args.Data);
|
||||
BlazorApp.Controller.ZeitenController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -229,7 +257,7 @@ using BlazorApp.Controller;
|
||||
foreach (Zeiten row in Rows)
|
||||
{
|
||||
row.reihenfolge = order;
|
||||
BlazorApp.Controller.ZeitenController.savedata(row);
|
||||
BlazorApp.Controller.ZeitenController.PUT(row);
|
||||
order = order + 1;
|
||||
Grid.Refresh();
|
||||
}
|
||||
|
||||
+43
-15
@@ -13,98 +13,126 @@ namespace BlazorApp.Pages
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Administration.razor"
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Administration.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Administration.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Administration.razor"
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
#line default
|
||||
@@ -119,7 +147,7 @@ using Microsoft.AspNetCore.Identity;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 122 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Administration.razor"
|
||||
#line 122 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Administration.razor"
|
||||
|
||||
[CascadingParameter]
|
||||
private Task<AuthenticationState> authenticationStateTask { get; set; }
|
||||
|
||||
@@ -13,93 +13,121 @@ namespace BlazorApp.Pages
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
@@ -113,7 +141,7 @@ using Radzen.Blazor;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 67 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Buttons.razor"
|
||||
#line 67 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Buttons.razor"
|
||||
|
||||
bool busy;
|
||||
|
||||
|
||||
+500
@@ -0,0 +1,500 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages.Company
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Berufsangebot.razor"
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Berufsangebot.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Berufsangebot.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Berufsangebot.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Berufsangebot.razor"
|
||||
using Syncfusion.Blazor.Navigations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Berufsangebot.razor"
|
||||
using Syncfusion.Blazor.Popups;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Berufsangebot.razor"
|
||||
using Syncfusion.Blazor.DropDowns;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Berufsangebot.razor"
|
||||
using Syncfusion.Blazor.Lists;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Berufsangebot.razor"
|
||||
using Syncfusion.Blazor.Inputs;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Berufsangebot.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 14 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Berufsangebot.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Company/Berufsangebot")]
|
||||
public partial class Berufsangebot : Admin.ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 154 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Berufsangebot.razor"
|
||||
|
||||
public string fid { get; set; } = "";
|
||||
public string[] BerufID;
|
||||
public string[] AnsprechpartnerID;
|
||||
public string[] ZeitID;
|
||||
public string PlatzID = "1";
|
||||
public string KlassenTypID = "1";
|
||||
public string bemerkung { get; set; } = "";
|
||||
public string schuelerbemerkung { get; set; } = "";
|
||||
public string standortbemerkung { get; set; } = "";
|
||||
public bool ShowDialog = false;
|
||||
string message = "";
|
||||
SfListBox<string[], Beruf> Berufsliste { get; set; }
|
||||
SfGrid<BWPMModels.Firmaberuf> Grid { get; set; }
|
||||
string userid = "";
|
||||
static string firmaid = "";
|
||||
|
||||
public List<Beruf> berufe = new List<Beruf>();
|
||||
public List<BWPMModels.Beruf> _berufe { get; set; } = BlazorApp.Controller.BerufController.GetAllAktiveData();
|
||||
public List<Zeit> zeiten = new List<Zeit>();
|
||||
|
||||
public List<BWPMModels.Zeiten> _zeiten { get; set; } = BlazorApp.Controller.ZeitenController.GetAllAktiveData();
|
||||
public List<BWPMModels.Ansprechpartner> ansprechpartner { get; set; }
|
||||
public List<BWPMModels.Klassentyp> klassentyp { get; set; } = BlazorApp.Controller.KlassentypController.GetAllAktiveData();
|
||||
public List<BWPMModels.Firma> Firmendaten { get; set; }
|
||||
public List<AP> lap = new List<AP>();
|
||||
public List<Plaetze> plaetze = new List<Plaetze>();
|
||||
public List<BWPMModels.Firmaberuf> 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;
|
||||
|
||||
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);
|
||||
}
|
||||
foreach (BWPMModels.Zeiten item in _zeiten)
|
||||
{
|
||||
Zeit ze = new Zeit();
|
||||
ze.id = item.ID;
|
||||
ze.bezeichnung = item.bezeichnung;
|
||||
zeiten.Add(ze);
|
||||
}
|
||||
|
||||
firmaid = await sessionStorage.GetItemAsync<string>("FirmaID");
|
||||
get_ansprechaprtner(firmaid);
|
||||
}
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
if (firstRender != true) { return; };
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
userid = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
}
|
||||
firmaid = await sessionStorage.GetItemAsync<string>("FirmaID");
|
||||
if (firmaid == null)
|
||||
{
|
||||
Firmendaten = BlazorApp.Controller.FirmaController.GetByUserID(userid);
|
||||
firmaid = Firmendaten.First<BWPMModels.Firma>().ID.ToString();
|
||||
}
|
||||
try
|
||||
{
|
||||
GridData = BlazorApp.Controller.FirmaberufController.GetAllAktiveByFirmaID(Convert.ToInt32(firmaid));
|
||||
|
||||
get_ansprechaprtner(firmaid);
|
||||
|
||||
}
|
||||
catch { };
|
||||
await Task.Delay(200);
|
||||
try
|
||||
{
|
||||
await sessionStorage.SetItemAsync("FirmaID", firmaid);
|
||||
await sessionStorage.SetItemAsync("UserID", userid);
|
||||
|
||||
}
|
||||
catch { }
|
||||
for (int i = 1; i < 51; i++)
|
||||
{
|
||||
plaetze.Add(new Plaetze { id = i, text = i.ToString() });
|
||||
}
|
||||
PlatzID = "1";
|
||||
KlassenTypID = "1";
|
||||
}
|
||||
|
||||
private void get_ansprechaprtner(string firmaid)
|
||||
{
|
||||
if (firmaid=="") {return;};
|
||||
lap.Clear();
|
||||
ansprechpartner = BlazorApp.Controller.AnsprechpartnerController.GetAllAktivDataByFirmaID(Convert.ToInt32(firmaid));
|
||||
foreach (Ansprechpartner item in ansprechpartner)
|
||||
{
|
||||
AP a1 = new AP();
|
||||
a1.ID = item.ID;
|
||||
a1.name = item.name;
|
||||
lap.Add(a1);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
public class AP
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string name { get; set; }
|
||||
}
|
||||
|
||||
public class Plaetze
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string text { get; set; }
|
||||
}
|
||||
|
||||
public class Beruf
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string bezeichnung { get; set; }
|
||||
}
|
||||
|
||||
public class Zeit
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string bezeichnung { get; set; }
|
||||
}
|
||||
|
||||
private void CloseDialog()
|
||||
{
|
||||
this.ShowDialog = false;
|
||||
}
|
||||
|
||||
public void einfuegen()
|
||||
{
|
||||
message = "";
|
||||
int bid = 0;
|
||||
int aid = 0;
|
||||
int zid = 0;
|
||||
int pid = 0;
|
||||
int kid = 0;
|
||||
|
||||
try { bid = Convert.ToInt32(BerufID[0]); } catch { };
|
||||
try { aid = Convert.ToInt32(AnsprechpartnerID[0]); } catch { };
|
||||
try { zid = Convert.ToInt32(ZeitID[0]); } catch { };
|
||||
try { pid = Convert.ToInt32(PlatzID); } catch { };
|
||||
try { kid = Convert.ToInt32(KlassenTypID); } catch { };
|
||||
|
||||
if (bid == 0) { message += "- Bitte einen Beruf auswählen<br/>"; };
|
||||
if (aid == 0) { message += "- Bitte einen Ansprechpartner auswählen<br/>"; };
|
||||
if (zid == 0) { message += "- Bitte einen Zeit auswählen<br/>"; };
|
||||
if (pid == 0) { message += "- Bitte Anzahl Plätze auswählen<br/>"; };
|
||||
if (kid == 0) { message += "- Bitte Klassentyp auswählen<br/>"; };
|
||||
if (message != "")
|
||||
{
|
||||
this.ShowDialog = true;
|
||||
return;
|
||||
}
|
||||
|
||||
BWPMModels.Firmaberuf fb = new BWPMModels.Firmaberuf();
|
||||
fb.firmaID = Convert.ToInt32(firmaid);
|
||||
fb.berufID = bid;
|
||||
fb.ansprechpartnerID = aid;
|
||||
fb.zeitID = zid;
|
||||
fb.anzahl = pid;
|
||||
fb.klassetypID = kid;
|
||||
fb.erstellt_am = DateTime.Now;
|
||||
fb.mutiert_am = DateTime.Now;
|
||||
fb.aktiv = true;
|
||||
fb.mutierer = userid;
|
||||
fb.bemerkung = bemerkung;
|
||||
fb.schuelerbemerkung = schuelerbemerkung;
|
||||
fb.standortbemerkung = standortbemerkung;
|
||||
BlazorApp.Controller.FirmaberufController.POST(fb);
|
||||
GridData = BlazorApp.Controller.FirmaberufController.GetAllAktiveByFirmaID(Convert.ToInt32(firmaid));
|
||||
Grid.Refresh();
|
||||
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Firmaberuf> 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.FirmaberufController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.FirmaberufController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Delete)
|
||||
{
|
||||
Args.Data.aktiv = false;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.FirmaberufController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Firmaberuf> 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.Firmaberuf> args)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
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<Firmaberuf> 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; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,276 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages.Company
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Company.razor"
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Company.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Company.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Company.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Company.razor"
|
||||
using Syncfusion.Blazor.Navigations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Company.razor"
|
||||
using Syncfusion.Blazor.Popups;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Company.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Company.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Company/Company")]
|
||||
public partial class Company : Admin.ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 214 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Company.razor"
|
||||
|
||||
private Firma _firma { get; set; } = new BWPMModels.Firma();
|
||||
public List<BWPMModels.Firma> Firmendaten { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
private bool ShowErrorDialog { get; set; } = false;
|
||||
|
||||
public void Submit()
|
||||
{
|
||||
BlazorApp.Controller.FirmaController.PUT(_firma);
|
||||
}
|
||||
public void InvalidSubmit()
|
||||
{
|
||||
ShowErrorDialog = true;
|
||||
}
|
||||
private void CloseDialog()
|
||||
{
|
||||
this.ShowErrorDialog = false;
|
||||
}
|
||||
|
||||
private void SaveClick()
|
||||
{
|
||||
//BlazorApp.Controller.FirmaController.savedata(_firma);
|
||||
}
|
||||
|
||||
protected override async void OnInitialized()
|
||||
{
|
||||
|
||||
}
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 246 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Company.razor"
|
||||
|
||||
|
||||
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);
|
||||
userid = userId;
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
userid = userId;
|
||||
}
|
||||
}
|
||||
if (firstRender)
|
||||
{
|
||||
Firmendaten = BlazorApp.Controller.FirmaController.GetByUserID(userid);
|
||||
_firma = Firmendaten.First<BWPMModels.Firma>();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
+355
@@ -0,0 +1,355 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages.Company
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using Syncfusion.Blazor.Popups;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Company/CompanyContact")]
|
||||
public partial class CompanyContact : Admin.ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 64 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
|
||||
SfGrid<Ansprechpartner> Grid { get; set; }
|
||||
public List<BWPMModels.Ansprechpartner> GridData { get; set; }
|
||||
public List<BWPMModels.Ansprechpartner> Ansprechpartners { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
private Firma _firma { get; set; } = new BWPMModels.Firma();
|
||||
public List<BWPMModels.Firma> Firmendaten { get; set; }
|
||||
private bool ShowDialog { get; set; } = false;
|
||||
|
||||
private void CloseDialog()
|
||||
{
|
||||
this.ShowDialog = false;
|
||||
}
|
||||
|
||||
protected override async void OnInitialized()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 94 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\CompanyContact.razor"
|
||||
|
||||
|
||||
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);
|
||||
userid = userId;
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
userid = userId;
|
||||
}
|
||||
}
|
||||
|
||||
Firmendaten = BlazorApp.Controller.FirmaController.GetByUserID(userid);
|
||||
_firma = Firmendaten.First<BWPMModels.Firma>();
|
||||
if (_firma.nameZ1==""){
|
||||
ShowDialog = true;
|
||||
return;
|
||||
}
|
||||
GridData = BlazorApp.Controller.AnsprechpartnerController.GetByFirmaID(_firma.ID);
|
||||
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Ansprechpartner> 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.FirmaID = _firma.ID;
|
||||
Args.Data.ID = BlazorApp.Controller.AnsprechpartnerController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.AnsprechpartnerController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Ansprechpartner> 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.Ansprechpartner> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
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<Ansprechpartner> 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; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,252 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages.Company
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Test.razor"
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Test.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Test.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Test.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Test.razor"
|
||||
using Syncfusion.Blazor.Navigations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Test.razor"
|
||||
using Syncfusion.Blazor.Popups;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Test.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Test.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Company/Test")]
|
||||
public partial class Test : Admin.ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 218 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Test.razor"
|
||||
|
||||
private Firma _firma { get; set; } = new BWPMModels.Firma();
|
||||
public List<BWPMModels.Firma> Firmendaten { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
private bool ShowErrorDialog { get; set; } = false;
|
||||
|
||||
public void Submit()
|
||||
{
|
||||
BlazorApp.Controller.FirmaController.PUT(_firma);
|
||||
}
|
||||
public void InvalidSubmit()
|
||||
{
|
||||
ShowErrorDialog = true;
|
||||
}
|
||||
private void CloseDialog()
|
||||
{
|
||||
this.ShowErrorDialog = false;
|
||||
}
|
||||
|
||||
private void SaveClick()
|
||||
{
|
||||
//BlazorApp.Controller.FirmaController.savedata(_firma);
|
||||
}
|
||||
|
||||
protected override async void OnInitialized()
|
||||
{
|
||||
userid = "4c456017-85b9-4f34-a42c-f3ac534cc34f";
|
||||
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 266 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Company\Test.razor"
|
||||
|
||||
|
||||
Firmendaten = BlazorApp.Controller.FirmaController.GetByUserID(userid);
|
||||
_firma = Firmendaten.First<BWPMModels.Firma>();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,143 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public partial class Component : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -13,93 +13,121 @@ namespace BlazorApp.Pages
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
@@ -112,7 +140,7 @@ using Radzen.Blazor;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Counter.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Counter.razor"
|
||||
|
||||
private int currentCount = 0;
|
||||
|
||||
|
||||
@@ -13,98 +13,126 @@ namespace BlazorApp.Pages
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\FetchData.razor"
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\FetchData.razor"
|
||||
using BlazorApp.Data;
|
||||
|
||||
#line default
|
||||
@@ -119,7 +147,7 @@ using BlazorApp.Data;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\FetchData.razor"
|
||||
#line 39 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\FetchData.razor"
|
||||
|
||||
private WeatherForecast[] forecasts;
|
||||
|
||||
|
||||
@@ -13,93 +13,121 @@ namespace BlazorApp.Pages
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
@@ -0,0 +1,164 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages.Reporting
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Report.razor"
|
||||
using System.IO;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Report.razor"
|
||||
using System.Data;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Report.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Report.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Report.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Reporting/Test/TestReport")]
|
||||
public partial class Report : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Report.razor"
|
||||
|
||||
[Parameter]
|
||||
public string ReportName { get; set; }
|
||||
public DataSet DataSet { get; set; } = new DataSet();
|
||||
public WebReport UserWebReport { get; set; } = new WebReport();
|
||||
public Report Report { get; set; } = new Report();
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
+302
@@ -0,0 +1,302 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages.Reporting
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using System.IO;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using System.Data;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Reporting/Reporting")]
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Reporting/Reporting/{ReportNr}")]
|
||||
public partial class Reporting : Admin.ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 22 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
|
||||
[Parameter]
|
||||
public string ReportNr { get; set; }
|
||||
|
||||
public string emsg { get; set; } = "";
|
||||
private IHostingEnvironment Environment;
|
||||
private bool Spinnervisible { get; set; } = true;
|
||||
public string ReportName { get; set; }
|
||||
public DataSet DataSet { get; set; } = new DataSet();
|
||||
public WebReport UserWebReport { get; set; } = new WebReport();
|
||||
public Report Report { get; set; } = new Report();
|
||||
string guserid = "";
|
||||
string sql = "";
|
||||
|
||||
private Firma _firma { get; set; } = new BWPMModels.Firma();
|
||||
public List<BWPMModels.Firma> Firmendaten { get; set; }
|
||||
|
||||
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
Spinnervisible = false;
|
||||
}
|
||||
protected override async Task OnParametersSetAsync()
|
||||
{
|
||||
string paramtyp1 = "";
|
||||
string paramtyp2 = "";
|
||||
string paramtyp3 = "";
|
||||
|
||||
Helper.dbhelper dbh = new Helper.dbhelper();
|
||||
string reportdir = dbh.Get_Option(28);
|
||||
|
||||
reportdir += "/";
|
||||
dbh.Get_Tabledata("Select * from Report where id=" + ReportNr.ToString(), false, true);
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 56 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\Reporting.razor"
|
||||
|
||||
try
|
||||
{
|
||||
Report = Report.FromFile(reportdir + dbh.dsdaten.Tables[0].Rows[0]["reportfile"]);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
emsg=e.Message;
|
||||
return;
|
||||
}
|
||||
paramtyp1 = dbh.dsdaten.Tables[0].Rows[0]["paramtype1"].ToString();
|
||||
paramtyp2 = dbh.dsdaten.Tables[0].Rows[0]["paramtype2"].ToString();
|
||||
paramtyp3 = dbh.dsdaten.Tables[0].Rows[0]["paramtype3"].ToString();
|
||||
|
||||
sql = dbh.dsdaten.Tables[0].Rows[0]["sql"].ToString();
|
||||
|
||||
switch (paramtyp1)
|
||||
{
|
||||
case "%firmaID%":
|
||||
Firmendaten = BlazorApp.Controller.FirmaController.GetByUserID(userid);
|
||||
_firma = Firmendaten.First<BWPMModels.Firma>();
|
||||
sql = sql.Replace("%firmaid%", _firma.ID.ToString());
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
||||
|
||||
dbh.dsdaten.Tables.Clear();
|
||||
DataSet.Tables.Clear();
|
||||
DataSet.Tables.Add(dbh.Get_Tabledata(sql, false, true).Copy());
|
||||
Report.SetParameterValue("Parcours", dbh.Get_Option(2));
|
||||
Report.SetParameterValue("Spruch", dbh.Get_Option(3));
|
||||
Report.SetParameterValue("URL", dbh.Get_Option(27));
|
||||
Report.RegisterData(DataSet);
|
||||
Report.GetDataSource("Daten").Enabled = true;
|
||||
|
||||
UserWebReport.Report = Report;
|
||||
UserWebReport.Report.Refresh();
|
||||
Spinnervisible = false;
|
||||
}
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
try
|
||||
|
||||
{
|
||||
|
||||
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);
|
||||
userid = userId;
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
userid = userId;
|
||||
}
|
||||
}
|
||||
UserWebReport = new WebReport();
|
||||
}
|
||||
catch (Exception e)
|
||||
{ emsg = e.Message.ToString(); };
|
||||
}
|
||||
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
+164
@@ -0,0 +1,164 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages.Reporting
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\TestReport.razor"
|
||||
using System.IO;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\TestReport.razor"
|
||||
using System.Data;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\TestReport.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\TestReport.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\TestReport.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Reporting/Test/TestReport")]
|
||||
public partial class TestReport : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Reporting\TestReport.razor"
|
||||
|
||||
[Parameter]
|
||||
public string ReportName { get; set; }
|
||||
public DataSet DataSet { get; set; } = new DataSet();
|
||||
public WebReport UserWebReport { get; set; } = new WebReport();
|
||||
public Report Report { get; set; } = new Report();
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,187 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor"
|
||||
using System.IO;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/showconfig")]
|
||||
public partial class ShowConfig : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 20 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\ShowConfig.razor"
|
||||
|
||||
public string alogin { get; set; } = "";
|
||||
public string connstring { get; set; } = "";
|
||||
public string mydir { get; set; } = "";
|
||||
public string filelist { get; set; } = "";
|
||||
public string pathi { get; set; } = "";
|
||||
private void ShowConfiguration()
|
||||
{
|
||||
Helper.ParameterHelper ph = new Helper.ParameterHelper();
|
||||
alogin = ph.GetParameter("autologin");
|
||||
connstring = ph.GetConnString("BlazorAppContextConnection");
|
||||
mydir = AppContext.BaseDirectory;
|
||||
|
||||
|
||||
}
|
||||
private void UpdateFilelist()
|
||||
{
|
||||
filelist = "";
|
||||
string [] fileEntries = Directory.GetFiles(pathi);
|
||||
foreach (string fileName in fileEntries)
|
||||
filelist = filelist + ", " + fileName;
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,377 @@
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 0414
|
||||
#pragma warning disable 0649
|
||||
#pragma warning disable 0169
|
||||
|
||||
namespace BlazorApp.Pages.Teacher
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Teacher\Teacher.razor"
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Teacher\Teacher.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Teacher\Teacher.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Teacher\Teacher.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Teacher\Teacher.razor"
|
||||
using Syncfusion.Blazor.Navigations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Teacher\Teacher.razor"
|
||||
using Syncfusion.Blazor.Popups;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Teacher\Teacher.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Teacher\Teacher.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Teacher/TeacherContact")]
|
||||
public partial class Teacher : Admin.ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 176 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Teacher\Teacher.razor"
|
||||
|
||||
SfGrid<Klasse> Grid { get; set; }
|
||||
public int Value = 0;
|
||||
public List<BWPMModels.Klasse> GridData { get; set; }
|
||||
public List<BWPMModels.Klasse> Klasses { get; set; }
|
||||
public int foundrow = 0;
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
|
||||
private List<BWPMModels.Schulhaus> _schulhaus { get; set; } = BlazorApp.Controller.SchulhausController.GetAllData();
|
||||
private Lehrer _lehrer { get; set; } = new BWPMModels.Lehrer();
|
||||
public List<BWPMModels.Lehrer> Lehrerdaten { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
private bool ShowErrorDialog { get; set; } = false;
|
||||
private bool ShowErrorDialog_grid { get; set; } = false;
|
||||
|
||||
public void Submit()
|
||||
{
|
||||
BlazorApp.Controller.LehrerController.PUT(_lehrer);
|
||||
}
|
||||
public void InvalidSubmit()
|
||||
{
|
||||
ShowErrorDialog = true;
|
||||
}
|
||||
private void CloseDialog()
|
||||
{
|
||||
this.ShowErrorDialog = false;
|
||||
}
|
||||
|
||||
private void SaveClick()
|
||||
{
|
||||
}
|
||||
|
||||
protected override async void OnInitialized()
|
||||
{
|
||||
|
||||
}
|
||||
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);
|
||||
userid = userId;
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
userid = userId;
|
||||
}
|
||||
}
|
||||
if (firstRender)
|
||||
{
|
||||
Lehrerdaten = BlazorApp.Controller.LehrerController.GetByUserID(userid);
|
||||
_lehrer = Lehrerdaten.First<BWPMModels.Lehrer>();
|
||||
GridData = BlazorApp.Controller.KlasseController.GetByLehrerID(_lehrer.ID);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Klasse> Args)
|
||||
|
||||
{
|
||||
try{
|
||||
if (_lehrer.ID==0)
|
||||
{ShowErrorDialog_grid=true
|
||||
return}
|
||||
}
|
||||
catch
|
||||
{ ShowErrorDialog_grid=true
|
||||
return}
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
Args.Data.lehrerID = _lehrer.ID;
|
||||
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.KlasseController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.KlasseController.PUT(Args.Data);
|
||||
|
||||
Value = Args.Data.ID;
|
||||
Grid.Refresh();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Klasse> 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.Klasse> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
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<Klasse> 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; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -13,93 +13,121 @@ namespace BlazorApp.Shared
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
@@ -12,105 +12,133 @@ namespace BlazorApp.Shared
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
using Microsoft.AspNetCore.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
@@ -124,7 +152,7 @@ using Radzen.Blazor;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 147 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
#line 174 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\MainLayout.razor"
|
||||
RadzenSidebar sidebar0;
|
||||
RadzenBody body0;
|
||||
bool sidebarExpanded = true;
|
||||
@@ -143,6 +171,7 @@ using Radzen.Blazor;
|
||||
//public List<BlazorApp.Models.MenuItem> AdminMenu = new List<Models.MenuItem>();
|
||||
IEnumerable<BlazorApp.Models.MenuItem> AdminMenu;
|
||||
IEnumerable<BlazorApp.Models.MenuItem> CompanyMenu;
|
||||
IEnumerable<BlazorApp.Models.MenuItem> TeacherMenu;
|
||||
|
||||
string Theme
|
||||
{
|
||||
@@ -171,6 +200,7 @@ using Radzen.Blazor;
|
||||
|
||||
AdminMenu = MenuService.MenuAdmin;
|
||||
CompanyMenu = MenuService.MenuComapny;
|
||||
TeacherMenu = MenuService.MenuTeacher;
|
||||
|
||||
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
|
||||
}
|
||||
|
||||
@@ -12,133 +12,161 @@ namespace BlazorApp.Shared
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
using Microsoft.AspNetCore.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
using Syncfusion.Blazor.Navigations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
using Newtonsoft.Json;
|
||||
|
||||
#line default
|
||||
@@ -152,78 +180,81 @@ using Newtonsoft.Json;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 105 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
#line 80 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\NavMenu.razor"
|
||||
|
||||
RadzenSidebar sidebar0;
|
||||
RadzenBody body0;
|
||||
bool sidebarExpanded = true;
|
||||
bool bodyExpanded = false;
|
||||
|
||||
dynamic themes = new[]
|
||||
{
|
||||
new { Text = "Default", Value = "default"},
|
||||
new { Text = "Dark", Value="dark" },
|
||||
new { Text = "Software", Value = "software"},
|
||||
new { Text = "Humanistic", Value = "humanistic" }
|
||||
|
||||
RadzenSidebar sidebar0;
|
||||
RadzenBody body0;
|
||||
bool sidebarExpanded = true;
|
||||
bool bodyExpanded = false;
|
||||
|
||||
dynamic themes = new[]
|
||||
{
|
||||
new { Text = "Default", Value = "default"},
|
||||
new { Text = "Dark", Value="dark" },
|
||||
new { Text = "Software", Value = "software"},
|
||||
new { Text = "Humanistic", Value = "humanistic" }
|
||||
};
|
||||
|
||||
IEnumerable<BlazorApp.Models.MenuItem> AdminMenu;
|
||||
IEnumerable<BlazorApp.Models.MenuItem> AdminMenu;
|
||||
|
||||
string Theme
|
||||
string Theme
|
||||
{
|
||||
get
|
||||
{
|
||||
return $"{ThemeState.CurrentTheme}.css";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
|
||||
|
||||
if (httpContextAccessor != null && httpContextAccessor.HttpContext != null &&
|
||||
httpContextAccessor.HttpContext.Request != null && httpContextAccessor.HttpContext.Request.Headers.ContainsKey("User-Agent"))
|
||||
{
|
||||
var userAgent = httpContextAccessor.HttpContext.Request.Headers["User-Agent"].FirstOrDefault();
|
||||
if (!string.IsNullOrEmpty(userAgent))
|
||||
{
|
||||
get
|
||||
if (userAgent.Contains("iPhone") || userAgent.Contains("Android") || userAgent.Contains("Googlebot"))
|
||||
{
|
||||
return $"{ThemeState.CurrentTheme}.css";
|
||||
sidebarExpanded = false;
|
||||
bodyExpanded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
|
||||
|
||||
}
|
||||
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
if (!firstRender)
|
||||
{
|
||||
var example = ExampleService.FindCurrent(UriHelper.ToAbsoluteUri(UriHelper.Uri));
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
if (httpContextAccessor != null && httpContextAccessor.HttpContext != null &&
|
||||
httpContextAccessor.HttpContext.Request != null && httpContextAccessor.HttpContext.Request.Headers.ContainsKey("User-Agent"))
|
||||
{
|
||||
var userAgent = httpContextAccessor.HttpContext.Request.Headers["User-Agent"].FirstOrDefault();
|
||||
if (!string.IsNullOrEmpty(userAgent))
|
||||
{
|
||||
if (userAgent.Contains("iPhone") || userAgent.Contains("Android") || userAgent.Contains("Googlebot"))
|
||||
{
|
||||
sidebarExpanded = false;
|
||||
bodyExpanded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
if (!firstRender)
|
||||
{
|
||||
var example = ExampleService.FindCurrent(UriHelper.ToAbsoluteUri(UriHelper.Uri));
|
||||
void ChangeTheme(object value)
|
||||
{
|
||||
ThemeState.CurrentTheme = value.ToString();
|
||||
UriHelper.NavigateTo(UriHelper.ToAbsoluteUri(UriHelper.Uri).ToString());
|
||||
}
|
||||
|
||||
//await JSRuntime.InvokeVoidAsync("setTitle", ExampleService.TitleFor(example));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void ChangeTheme(object value)
|
||||
{
|
||||
ThemeState.CurrentTheme = value.ToString();
|
||||
UriHelper.NavigateTo(UriHelper.ToAbsoluteUri(UriHelper.Uri).ToString());
|
||||
}
|
||||
|
||||
public class CustomMenuItem
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Text { get; set; }
|
||||
public string ParentId { get; set; }
|
||||
public string Url { get; set; }
|
||||
}
|
||||
public class CustomMenuItem
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Text { get; set; }
|
||||
public string ParentId { get; set; }
|
||||
public string Url { get; set; }
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
@@ -13,93 +13,121 @@ namespace BlazorApp.Shared
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
@@ -111,7 +139,7 @@ using Radzen.Blazor;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\SurveyPrompt.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Shared\SurveyPrompt.razor"
|
||||
|
||||
// Demonstrates how a parent component can supply parameters
|
||||
[Parameter]
|
||||
|
||||
@@ -13,93 +13,121 @@ namespace BlazorApp
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 1 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 2 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 3 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 4 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 5 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 6 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 7 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 8 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 9 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 10 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 11 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 12 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
#line 13 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "e:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
134a2e9ce3f24db7abbe5cf23f6dfcb06604958b
|
||||
850cde819a5a05deb30ab20a6064f348295118a1
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<StaticWebAssets Version="1.0">
|
||||
<ContentRoot BasePath="/Identity" Path="C:\Users\Steafn Hutter lokal\.nuget\packages\microsoft.aspnetcore.identity.ui\3.1.15\staticwebassets\V4\" />
|
||||
<ContentRoot BasePath="_content/FastReport.Web" Path="C:\Users\Steafn Hutter lokal\.nuget\packages\fastreport.web\2021.3.17\build\..\staticwebassets\" />
|
||||
<ContentRoot BasePath="_content/Microsoft.AspNetCore.ProtectedBrowserStorage" Path="C:\Users\Steafn Hutter lokal\.nuget\packages\microsoft.aspnetcore.protectedbrowserstorage\0.1.0-alpha.19521.1\build\..\staticwebassets\" />
|
||||
<ContentRoot BasePath="_content/Radzen.Blazor" Path="C:\Users\Steafn Hutter lokal\.nuget\packages\radzen.blazor\3.6.7\build\..\staticwebassets\" />
|
||||
<ContentRoot BasePath="_content/Syncfusion.Blazor" Path="C:\Users\Steafn Hutter lokal\.nuget\packages\syncfusion.blazor\19.1.0.54\build\..\staticwebassets\" />
|
||||
<ContentRoot BasePath="_content/Syncfusion.Blazor.Themes" Path="C:\Users\Steafn Hutter lokal\.nuget\packages\syncfusion.blazor.themes\19.1.0.54\build\..\staticwebassets\" />
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user