WIP: KRV administration - page organizing
This commit is contained in:
parent
cd6df8c643
commit
7e3daba6e3
111 changed files with 442 additions and 614 deletions
|
@ -23,7 +23,7 @@
|
||||||
d. @(SelectedDate.Day)/@(SelectedDate.Month)
|
d. @(SelectedDate.Day)/@(SelectedDate.Month)
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-5">
|
<div class="col-sm-5">
|
||||||
<InputDate class="form-control calendar" @bind-Value="SelectedDate" @oninput="OnDateChanged"/>
|
<InputDate class="form-control calendar" @bind-Value="SelectedDate" @oninput="WorkDateChanged"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -35,7 +35,7 @@ public partial class WorkDateComponent : IDisposable
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// OnChanged callback function
|
/// OnChanged callback function
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Parameter] public EventCallback<string> OnChangedCallback { get; set; }
|
[Parameter] public EventCallback<string> OnWorkDateChangedCallback { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// work date context holding the edit value
|
/// work date context holding the edit value
|
||||||
|
@ -69,13 +69,12 @@ public partial class WorkDateComponent : IDisposable
|
||||||
/// OnDateChanged function call to invoke the event callback
|
/// OnDateChanged function call to invoke the event callback
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="e"></param>
|
/// <param name="e"></param>
|
||||||
private async Task OnDateChanged(ChangeEventArgs e)
|
private async Task WorkDateChanged(ChangeEventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (DateTime.TryParse(e.Value.ToString(), out var setDate))
|
if (DateTime.TryParse(e.Value.ToString(), out var setDate))
|
||||||
{
|
{
|
||||||
await UserPreference.SetWorkDate(setDate);
|
await UserPreference.SetWorkDate(setDate);
|
||||||
await OnChangedCallback.InvokeAsync($"{setDate:yyyy-MM-dd}");
|
await OnWorkDateChangedCallback.InvokeAsync($"{setDate:yyyy-MM-dd}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
<div class="row bg-dark text-white rounded-2 mb-2 py-2 align-items-center">
|
<div class="row bg-dark text-white rounded-2 mb-2 py-2 align-items-center">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<WorkDateComponent OnChangedCallback="WorkDateComponentCallback"/>
|
<WorkDateComponent OnWorkDateChangedCallback="WorkDateChangedCallback"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -352,7 +352,7 @@ public partial class AdvisorActivityCreatePage : IDisposable
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private async Task WorkDateComponentCallback(string workDate)
|
private async Task WorkDateChangedCallback(string workDate)
|
||||||
{
|
{
|
||||||
ReportClosed = await ReportRepo.ReportExist(workDate);
|
ReportClosed = await ReportRepo.ReportExist(workDate);
|
||||||
SelectedDate = DateTime.Parse(workDate);
|
SelectedDate = DateTime.Parse(workDate);
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<PageTitle>Aktiviteter for @($"{SelectedDate:yyyy-MM-dd}")</PageTitle>
|
<PageTitle>Aktiviteter for @($"{SelectedDate:yyyy-MM-dd}")</PageTitle>
|
||||||
<div class="row bg-dark text-white rounded-2 mb-2 py-2 align-items-center">
|
<div class="row bg-dark text-white rounded-2 mb-2 py-2 align-items-center">
|
||||||
<div class="col-sm-7">
|
<div class="col-sm-7">
|
||||||
<WorkDateComponent OnChangedCallback="GetActivities"/>
|
<WorkDateComponent OnWorkDateChangedCallback="GetWorkDateActivities"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-3">
|
<div class="col-sm-3">
|
||||||
<AdvisorActivityKmStartComponent/>
|
<AdvisorActivityKmStartComponent/>
|
||||||
|
|
|
@ -51,11 +51,11 @@ public partial class AdvisorActivityTodayListPage : IDisposable
|
||||||
? DateTime.Now
|
? DateTime.Now
|
||||||
: DateTime.Parse(UserPreference.WorkDate);
|
: DateTime.Parse(UserPreference.WorkDate);
|
||||||
ReportExist = await ReportRepo.ReportExist($"{SelectedDate:yyyy-MM-dd}");
|
ReportExist = await ReportRepo.ReportExist($"{SelectedDate:yyyy-MM-dd}");
|
||||||
await GetActivities($"{SelectedDate:yyyy-MM-dd}");
|
await GetWorkDateActivities($"{SelectedDate:yyyy-MM-dd}");
|
||||||
Working = false;
|
Working = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task GetActivities(string workDate)
|
private async Task GetWorkDateActivities(string workDate)
|
||||||
{
|
{
|
||||||
Working = true;
|
Working = true;
|
||||||
Toaster.ShowInfo("Vent nogle sekunder for data");
|
Toaster.ShowInfo("Vent nogle sekunder for data");
|
||||||
|
|
|
@ -23,7 +23,7 @@ using Wonky.Entity.Views;
|
||||||
|
|
||||||
namespace Wonky.Client.Pages;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class KrvWorkplaceDocumentListPage : IDisposable
|
public partial class AdvisorCustomerWorkplaceDocumentListPage : IDisposable
|
||||||
{
|
{
|
||||||
// ##################################################################
|
// ##################################################################
|
||||||
[Inject] public HttpInterceptorService Interceptor { get; set; }
|
[Inject] public HttpInterceptorService Interceptor { get; set; }
|
|
@ -23,7 +23,7 @@ using Wonky.Entity.Views;
|
||||||
|
|
||||||
namespace Wonky.Client.Pages;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class KrvWorkplaceListPage : IDisposable
|
public partial class AdvisorCustomerWorkplaceListPage : IDisposable
|
||||||
{
|
{
|
||||||
[Parameter] public string CompanyId { get; set; } = "";
|
[Parameter] public string CompanyId { get; set; } = "";
|
||||||
[Inject] public IAdvisorWorkplaceRepository WorkplaceRepo { get; set; }
|
[Inject] public IAdvisorWorkplaceRepository WorkplaceRepo { get; set; }
|
|
@ -23,7 +23,7 @@ using Wonky.Entity.DTO;
|
||||||
#pragma warning disable CS8618
|
#pragma warning disable CS8618
|
||||||
namespace Wonky.Client.Pages;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class KrvWorkplaceViewEditPage : IDisposable
|
public partial class AdvisorCustomerWorkplaceViewEditPage : IDisposable
|
||||||
{
|
{
|
||||||
// #############################################################
|
// #############################################################
|
||||||
[Inject] public IAdvisorWorkplaceRepository Workplaces { get; set; }
|
[Inject] public IAdvisorWorkplaceRepository Workplaces { get; set; }
|
|
@ -24,7 +24,7 @@
|
||||||
@* report header *@
|
@* report header *@
|
||||||
<div class="row sticky-top bg-dark text-white rounded-2 mb-2 py-2 align-items-center">
|
<div class="row sticky-top bg-dark text-white rounded-2 mb-2 py-2 align-items-center">
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<WorkDateComponent OnChangedCallback="SetWorkDateCallback"/>
|
<WorkDateComponent OnWorkDateChangedCallback="SetWorkDateCallback"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-4 text-end">
|
<div class="col-sm-4 text-end">
|
||||||
<AdvisorActivityKmStartComponent/>
|
<AdvisorActivityKmStartComponent/>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<PageTitle>@Report.ReportData.Name</PageTitle>
|
<PageTitle>@Report.ReportData.Name</PageTitle>
|
||||||
<div class="row bg-dark text-white rounded-2 mb-2 py-2 align-items-center d-print-none">
|
<div class="row bg-dark text-white rounded-2 mb-2 py-2 align-items-center d-print-none">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<WorkDateComponent OnChangedCallback="FetchReport"/>
|
<WorkDateComponent OnWorkDateChangedCallback="FetchReport"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-2 d-grid">
|
<div class="col-sm-2 d-grid">
|
||||||
<button class="btn btn-warning" @onclick="() => Print(PrintTarget.FrontPage)"><i class="bi-printer"></i> Forside</button>
|
<button class="btn btn-warning" @onclick="() => Print(PrintTarget.FrontPage)"><i class="bi-printer"></i> Forside</button>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
@* <h3 class="workDate">@(string.IsNullOrWhiteSpace(_workDate) ? "" : $"{DateTime.Parse(_workDate).ToLongDateString()}")</h3> *@
|
@* <h3 class="workDate">@(string.IsNullOrWhiteSpace(_workDate) ? "" : $"{DateTime.Parse(_workDate).ToLongDateString()}")</h3> *@
|
||||||
@* </div> *@
|
@* </div> *@
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<WorkDateComponent OnChangedCallback="GetTaskItems" />
|
<WorkDateComponent OnWorkDateChangedCallback="GetTaskItems" />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<a class="btn btn-primary" href="/advisor/task-items/new">NY OPGAVE</a>
|
<a class="btn btn-primary" href="/advisor/task-items/new">NY OPGAVE</a>
|
||||||
|
|
|
@ -1,68 +0,0 @@
|
||||||
@*
|
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
*@
|
|
||||||
|
|
||||||
@page "/krv/{CountryCode}/items/{salesItemId}"
|
|
||||||
@using Microsoft.AspNetCore.Authorization
|
|
||||||
@attribute [Authorize(Roles = "Advisor,Advisor")]
|
|
||||||
|
|
||||||
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-header">
|
|
||||||
<h1>@_item.Name</h1>
|
|
||||||
</div>
|
|
||||||
<div class="card-body">
|
|
||||||
<table class="table table-striped table-bordered">
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">Navn</th>
|
|
||||||
<td>@_item.Name</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">Varenr</th>
|
|
||||||
<td>@_item.Sku</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row"></th>
|
|
||||||
<td>@_item.ProductGroup</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">Kort Navn</th>
|
|
||||||
<td>@_item.ShortName</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<table class="table table-striped table-bordered">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th scope="col" rowspan="2">Priser</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
@foreach (var rate in _item.Rates)
|
|
||||||
{
|
|
||||||
<tr>
|
|
||||||
<th scope="row">@rate.Quantity</th>
|
|
||||||
<td>@rate.Rate</td>
|
|
||||||
</tr>
|
|
||||||
}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<div class="card-footer">
|
|
||||||
<a href="/krvVariants" class="btn btn-success">Tilbage</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
|
@ -1,53 +0,0 @@
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
|
|
||||||
using Wonky.Client.HttpInterceptors;
|
|
||||||
using Wonky.Client.HttpRepository;
|
|
||||||
using Microsoft.AspNetCore.Components;
|
|
||||||
using Wonky.Entity.Views;
|
|
||||||
|
|
||||||
#pragma warning disable CS8618
|
|
||||||
namespace Wonky.Client.Pages;
|
|
||||||
|
|
||||||
public partial class KrvItemViewPage : IDisposable
|
|
||||||
{
|
|
||||||
// ##################################################################
|
|
||||||
[Inject] private ICountryCatalogRepository _itemRepo { get; set; }
|
|
||||||
[Inject] private HttpInterceptorService _interceptor { get; set; }
|
|
||||||
|
|
||||||
// ##################################################################
|
|
||||||
[Parameter] public string SalesItemId { get; set; } = "";
|
|
||||||
[Parameter] public string CountryCode { get; set; } = "";
|
|
||||||
|
|
||||||
// ##################################################################
|
|
||||||
private SalesItemView _item { get; set; } = new ();
|
|
||||||
|
|
||||||
|
|
||||||
protected override async Task OnInitializedAsync()
|
|
||||||
{
|
|
||||||
_interceptor.RegisterEvent();
|
|
||||||
_interceptor.RegisterBeforeSendEvent();
|
|
||||||
_item = await _itemRepo.GetSalesItemId(CountryCode, SalesItemId);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
||||||
/// </summary>
|
|
||||||
public void Dispose()
|
|
||||||
{
|
|
||||||
_interceptor!.DisposeEvent();
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
/* item image preview */
|
|
||||||
.image-name {
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
.image-preview {
|
|
||||||
width: auto;
|
|
||||||
max-width: 200px;
|
|
||||||
height: 100px;
|
|
||||||
margin-top: 15px;
|
|
||||||
}
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
<div class="row pt-2 pb-2 mb-3 rounded-2 d-print-none bg-dark text-white">
|
<div class="row pt-2 pb-2 mb-3 rounded-2 d-print-none bg-dark text-white">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<WorkDateComponent OnChangedCallback="FetchUserReport"/>
|
<WorkDateComponent OnWorkDateChangedCallback="FetchUserReport"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-2 d-grid">
|
<div class="col-sm-2 d-grid">
|
||||||
<button class="btn btn-warning" @onclick="() => Print(PrintTarget.FrontPage)"><i class="bi-printer"></i> Forside</button>
|
<button class="btn btn-warning" @onclick="() => Print(PrintTarget.FrontPage)"><i class="bi-printer"></i> Forside</button>
|
||||||
|
|
|
@ -1,54 +0,0 @@
|
||||||
@* Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
*@
|
|
||||||
|
|
||||||
@using Microsoft.AspNetCore.Authorization
|
|
||||||
@attribute [Authorize(Roles = "Admin")]
|
|
||||||
|
|
||||||
@page "/krv"
|
|
||||||
|
|
||||||
<h3>Kemisk Risiko Administration</h3>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-12">
|
|
||||||
<div class="list-group list-group-flush">
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-success" href="/krv/products">Produkter</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-success" href="/krv/protective-equipment">Værnemidler</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/section1">Produkt/Anvendelse</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/section2">Egenskaber</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/section3">Påvirkning/Mængde</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/section4">Forebyggelse</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/section5">Arbejdsmedicinske undersøgelser og referencer</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/section6">Substitution/Alternativer</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/section7">Grænseværdier fastsat af arbejdstilsynet</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/section8">Kræves særlig uddannnelse</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/section9">Er der afvigelser</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/sectiona">Anslået mængde anvendt årligt</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/section0">Forudsægninger for udarbejdelse af risikovurdering</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-danger" href="/system/krv/texts/firstaid">Førstehjælp</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-danger" href="/system/krv/texts/accident">Ved Uheld</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-danger" href="/system/krv/texts/waste">Affald og Spild</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-danger" href="/system/krv/texts/danger">Faremærkning CLP</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-danger" href="/system/krv/texts/print">Udskrift</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/riskh">Risikosætninger gruppe H</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/riskp">Risikosætninger gruppe P</a>
|
|
||||||
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/riske">Risikosætninger gruppe EUH</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
@code {
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
@* Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
*@
|
|
||||||
|
|
||||||
@using Microsoft.AspNetCore.Authorization
|
|
||||||
@attribute [Authorize(Roles = "Admin")]
|
|
||||||
|
|
||||||
@page "/krv/products/{ProductId}/variants"
|
|
||||||
<h3>Produkt varianter</h3>
|
|
|
@ -1,20 +0,0 @@
|
||||||
@* Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
*@
|
|
||||||
|
|
||||||
@using Microsoft.AspNetCore.Authorization
|
|
||||||
@attribute [Authorize(Roles = "Admin")]
|
|
||||||
|
|
||||||
@page "/krv/products/{ProductId}/variants/{VariantId}"
|
|
||||||
<h3>Ændre produkt variant</h3>
|
|
|
@ -1,20 +0,0 @@
|
||||||
@* Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
*@
|
|
||||||
|
|
||||||
@using Microsoft.AspNetCore.Authorization
|
|
||||||
@attribute [Authorize(Roles = "Admin")]
|
|
||||||
|
|
||||||
@page "/krv/protective-equipment/{ProtectionId}/items"
|
|
||||||
<h3>Værnemidler</h3>
|
|
|
@ -1,39 +0,0 @@
|
||||||
@* Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
*@
|
|
||||||
|
|
||||||
@using Microsoft.AspNetCore.Authorization
|
|
||||||
@attribute [Authorize(Roles = "Admin")]
|
|
||||||
|
|
||||||
@page "/krv/protective-equipment"
|
|
||||||
<h3>Værnemidler</h3>
|
|
||||||
|
|
||||||
@code {
|
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Protection;
|
|
||||||
|
|
||||||
public partial class ProtectionTypeListPage
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
namespace Wonky.Client.Pages.System.Krv;
|
|
||||||
|
|
||||||
public partial class SystemKrvProductsAdminPage
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
namespace Wonky.Client.Pages.System.Krv;
|
|
||||||
|
|
||||||
public partial class SystemKrvProtectionsAdminPage
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
|
||||||
|
|
||||||
public partial class RiskPhraseEViewEditPage
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
|
||||||
|
|
||||||
public partial class RiskPhraseHViewEditPage
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
|
||||||
|
|
||||||
public partial class RiskPhrasePViewEditPage
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
|
||||||
|
|
||||||
public partial class Section3ViewEditPage
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
|
||||||
|
|
||||||
public partial class Section4ViewEditPage
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
|
||||||
|
|
||||||
public partial class Section5ViewEditPage
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
|
||||||
|
|
||||||
public partial class Section6ViewEditPage
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
|
||||||
|
|
||||||
public partial class Section7ViewEditPage
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
|
||||||
|
|
||||||
public partial class Section8ViewEditPage
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,22 +0,0 @@
|
||||||
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
|
||||||
|
|
||||||
public partial class Section9ViewEditPage
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
29
Wonky.Client/Pages/SystemKrvProtectionItemListPage.razor
Normal file
29
Wonky.Client/Pages/SystemKrvProtectionItemListPage.razor
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
@* Copyright (C) 2022 FCS Frede's Computer Services.
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
|
*@
|
||||||
|
|
||||||
|
@using Microsoft.AspNetCore.Authorization
|
||||||
|
@attribute [Authorize(Roles = "Admin")]
|
||||||
|
|
||||||
|
@page "/system/krv/protective-equipment/{ProtectionId}/items"
|
||||||
|
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header bg-dark text-white">
|
||||||
|
<div class="mt-3 h3 card-title">
|
||||||
|
Værnemiddel varianter
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -15,9 +15,9 @@
|
||||||
|
|
||||||
using Microsoft.AspNetCore.Components;
|
using Microsoft.AspNetCore.Components;
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Protection;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class ProtectionItemListPage
|
public partial class SystemKrvProtectionItemListPage
|
||||||
{
|
{
|
||||||
[Parameter] public string ProtectionId { get; set; } = "";
|
[Parameter] public string ProtectionId { get; set; } = "";
|
||||||
}
|
}
|
30
Wonky.Client/Pages/SystemKrvProtectionItemViewEditPage.razor
Normal file
30
Wonky.Client/Pages/SystemKrvProtectionItemViewEditPage.razor
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
@* Copyright (C) 2022 FCS Frede's Computer Services.
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
|
*@
|
||||||
|
|
||||||
|
@using Microsoft.AspNetCore.Authorization
|
||||||
|
@attribute [Authorize(Roles = "Admin")]
|
||||||
|
|
||||||
|
@page "/system/krv/protective-equipment/{ProtectionId}/items/{ItemId}"
|
||||||
|
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header bg-dark text-white">
|
||||||
|
<div class="mt-3 h3 card-title">
|
||||||
|
Værnemiddel variant
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
|
|
||||||
using Microsoft.AspNetCore.Components;
|
using Microsoft.AspNetCore.Components;
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Protection;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class ProtectionItemViewEditPage
|
public partial class SystemKrvProtectionItemViewEditPage
|
||||||
{
|
{
|
||||||
[Parameter] public string ProtectionId { get; set; } = "";
|
[Parameter] public string ProtectionId { get; set; } = "";
|
||||||
[Parameter] public string ItemId { get; set; } = "";
|
[Parameter] public string ItemId { get; set; } = "";
|
6
Wonky.Client/Pages/SystemKrvProtectionListPage.razor.cs
Normal file
6
Wonky.Client/Pages/SystemKrvProtectionListPage.razor.cs
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
|
public partial class SystemKrvProtectionListPage
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -16,6 +16,14 @@
|
||||||
@using Microsoft.AspNetCore.Authorization
|
@using Microsoft.AspNetCore.Authorization
|
||||||
@attribute [Authorize(Roles = "Admin")]
|
@attribute [Authorize(Roles = "Admin")]
|
||||||
|
|
||||||
@page "/krv/protective-equipment/{ProtectionId}/items/{ItemId}"
|
@page "/system/krv/protective-equipment"
|
||||||
<h3>Ændre værnemiddel</h3>
|
|
||||||
|
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header bg-dark text-white">
|
||||||
|
<div class="mt-3 h3 card-title">
|
||||||
|
Værnemiddel grupper
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -13,9 +13,9 @@
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
//
|
//
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Product;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class ProductListPage
|
public partial class SystemKrvProtectionTypeListPage
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
|
@ -16,5 +16,15 @@
|
||||||
@using Microsoft.AspNetCore.Authorization
|
@using Microsoft.AspNetCore.Authorization
|
||||||
@attribute [Authorize(Roles = "Admin")]
|
@attribute [Authorize(Roles = "Admin")]
|
||||||
|
|
||||||
@page "/krv/products"
|
@page "/system/krv/protective-equipment/{ProtectionId}/"
|
||||||
<h3>Produkt oversigt</h3>
|
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header bg-dark text-white">
|
||||||
|
<div class="mt-3 h3 card-title">
|
||||||
|
Værnemiddel gruppe
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
|
@ -16,9 +16,9 @@
|
||||||
|
|
||||||
using Microsoft.AspNetCore.Components;
|
using Microsoft.AspNetCore.Components;
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Protection;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class ProtectionTypeViewEditPage
|
public partial class SystemKrvProtectionTypeViewEditPage
|
||||||
{
|
{
|
||||||
[Parameter] public string ProtectionId { get; set; } = "";
|
[Parameter] public string ProtectionId { get; set; } = "";
|
||||||
}
|
}
|
|
@ -13,9 +13,9 @@
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
//
|
//
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class Section1ViewEditPage
|
public partial class SystemKrvTextsAccidentViewEditPage
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
47
Wonky.Client/Pages/SystemKrvTextsAdminPage.razor
Normal file
47
Wonky.Client/Pages/SystemKrvTextsAdminPage.razor
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
@* Copyright (C) 2022 FCS Frede's Computer Services.
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
|
*@
|
||||||
|
|
||||||
|
|
||||||
|
@page "/system/krv/texts/"
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header bg-dark text-white">
|
||||||
|
<div class="mt-3 h3 card-title">
|
||||||
|
KRV Risiko Tekst Vedligeholdelse
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="list-group">
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/section1">Produkt/Anvendelse</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/section2">Egenskaber</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/section3">Påvirkning/Mængde</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/section4">Forebyggelse</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/section5">Arbejdsmedicinske undersøgelser og referencer</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/section6">Substitution/Alternativer</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/section7">Grænseværdier fastsat af arbejdstilsynet</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/section8">Kræves særlig uddannnelse</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/section9">Er der afvigelser</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/sectiona">Anslået mængde anvendt årligt</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/krv/texts/section0">Forudsætninger for udarbejdelse af risikovurdering</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/firstaid">Førstehjælp</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/accident">Ved Uheld</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/waste">Affald og Spild</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/danger">Faremærkning CLP</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/krv/texts/print">Udskrift</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-danger" href="/system/krv/texts/riskh">Risikosætninger gruppe H</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-danger" href="/system/krv/texts/riskp">Risikosætninger gruppe P</a>
|
||||||
|
<a class="list-group-item list-group-item-action list-group-item-danger" href="/system/krv/texts/riske">Risikosætninger gruppe EUH</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Wonky.Client.Pages.System.Krv;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class SystemKrvTextsAdminPage
|
public partial class SystemKrvTextsAdminPage
|
||||||
{
|
{
|
|
@ -14,9 +14,9 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class Section9ViewEditPage
|
public partial class SystemKrvTextsDangerMarkingViewEditPage
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
|
@ -14,9 +14,9 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class FirstAidViewEditPage
|
public partial class SystemKrvTextsFirstAidViewEditPage
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
|
@ -14,9 +14,9 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class PrintingViewEditPage
|
public partial class SystemKrvTextsPrintingViewEditPage
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
|
@ -13,9 +13,9 @@
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
//
|
//
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class Section2ViewEditPage
|
public partial class SystemKrvTextsRiskPhraseEViewEditPage
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
|
@ -13,9 +13,9 @@
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
//
|
//
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class AccidentViewEditPage
|
public partial class SystemKrvTextsRiskPhraseHViewEditPage
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
// Copyright (C) 2022 FCS Frede's Computer Services.
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
|
//
|
||||||
|
|
||||||
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
|
public partial class SystemKrvTextsRiskPhrasePViewEditPage
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -14,9 +14,9 @@
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
//
|
//
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class Section0ViewEditPage
|
public partial class SystemKrvTextsSection0ViewEditPage
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
// Copyright (C) 2022 FCS Frede's Computer Services.
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
|
//
|
||||||
|
|
||||||
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
|
public partial class SystemKrvTextsSection1ViewEditPage
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
// Copyright (C) 2022 FCS Frede's Computer Services.
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
|
//
|
||||||
|
|
||||||
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
|
public partial class SystemKrvTextsSection2ViewEditPage
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
// Copyright (C) 2022 FCS Frede's Computer Services.
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
|
//
|
||||||
|
|
||||||
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
|
public partial class SystemKrvTextsSection3ViewEditPage
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
// Copyright (C) 2022 FCS Frede's Computer Services.
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
|
//
|
||||||
|
|
||||||
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
|
public partial class SystemKrvTextsSection4ViewEditPage
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
// Copyright (C) 2022 FCS Frede's Computer Services.
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
|
//
|
||||||
|
|
||||||
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
|
public partial class SystemKrvTextsSection5ViewEditPage
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
// Copyright (C) 2022 FCS Frede's Computer Services.
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
|
//
|
||||||
|
|
||||||
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
|
public partial class SystemKrvTextsSection6ViewEditPage
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
// Copyright (C) 2022 FCS Frede's Computer Services.
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
|
//
|
||||||
|
|
||||||
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
|
public partial class SystemKrvTextsSection7ViewEditPage
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
// Copyright (C) 2022 FCS Frede's Computer Services.
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
|
//
|
||||||
|
|
||||||
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
|
public partial class SystemKrvTextsSection8ViewEditPage
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
// Copyright (C) 2022 FCS Frede's Computer Services.
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
|
public partial class SystemKrvTextsSectionAViewEditPage
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -14,9 +14,9 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Texts;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class DangerMarkingViewEditPage
|
public partial class SystemKrvTextsSystemKrvSection9ViewEditPage
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
|
@ -20,9 +20,9 @@
|
||||||
<PageTitle>System Mmanager</PageTitle>
|
<PageTitle>System Mmanager</PageTitle>
|
||||||
|
|
||||||
<div class="list-group">
|
<div class="list-group">
|
||||||
<a class="list-group-item list-group-item-action" href="/system/users">Bruger Admin</a>
|
<a class="list-group-item list-group-item-action list-group-item-info" href="/system/users">Bruger Admin</a>
|
||||||
<a class="list-group-item list-group-item-action" href="/system/supervisors">Supervisor Admin</a>
|
<a class="list-group-item list-group-item-action list-group-item-warning" href="/system/supervisors">Supervisor Admin</a>
|
||||||
<a class="list-group-item list-group-item-action" href="/system/krv/products">Kemi Produkt Admin</a>
|
<a class="list-group-item list-group-item-action list-group-item-success" href="/system/krv/products">Produkt Admin</a>
|
||||||
<a class="list-group-item list-group-item-action" href="/system/krv/protections">Kemi Værnemiddel Admin</a>
|
<a class="list-group-item list-group-item-action list-group-item-danger" href="/system/krv/protective-equipment">Kemi Værnemiddel Admin</a>
|
||||||
<a class="list-group-item list-group-item-action" href="/system/krv/texts/">Kemi Tekster Admin</a>
|
<a class="list-group-item list-group-item-action list-group-item-danger" href="/system/krv/texts">Kemi Tekst Admin</a>
|
||||||
</div>
|
</div>
|
|
@ -17,7 +17,7 @@
|
||||||
using Microsoft.AspNetCore.Components;
|
using Microsoft.AspNetCore.Components;
|
||||||
|
|
||||||
#pragma warning disable CS8618
|
#pragma warning disable CS8618
|
||||||
namespace Wonky.Client.Pages.System;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class SystemManagerLandingPage
|
public partial class SystemManagerLandingPage
|
||||||
{
|
{
|
6
Wonky.Client/Pages/SystemProductListPage.razor.cs
Normal file
6
Wonky.Client/Pages/SystemProductListPage.razor.cs
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
|
public partial class SystemProductListPage
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -16,6 +16,14 @@
|
||||||
@using Microsoft.AspNetCore.Authorization
|
@using Microsoft.AspNetCore.Authorization
|
||||||
@attribute [Authorize(Roles = "Admin")]
|
@attribute [Authorize(Roles = "Admin")]
|
||||||
|
|
||||||
@page "/krv/protective-equipment/{ProtectionId}/"
|
@page "/system/krv/products/{ProductId}/variants"
|
||||||
<h3>Ændre gruppe beskrivelse</h3>
|
|
||||||
|
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header bg-dark text-white">
|
||||||
|
<div class="mt-3 h3 card-title">
|
||||||
|
Produkt varianter
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -15,9 +15,10 @@
|
||||||
|
|
||||||
using Microsoft.AspNetCore.Components;
|
using Microsoft.AspNetCore.Components;
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Product;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class ProductViewEditPage
|
public partial class SystemProductVariantListPage
|
||||||
{
|
{
|
||||||
[Parameter] public string ProductId { get; set; } = "";
|
[Parameter] public string ProductId { get; set; } = "";
|
||||||
|
|
||||||
}
|
}
|
|
@ -16,5 +16,13 @@
|
||||||
@using Microsoft.AspNetCore.Authorization
|
@using Microsoft.AspNetCore.Authorization
|
||||||
@attribute [Authorize(Roles = "Admin")]
|
@attribute [Authorize(Roles = "Admin")]
|
||||||
|
|
||||||
@page "/krv/products/{ProductId}"
|
@page "/system/krv/products/{ProductId}/variants/{VariantId}"
|
||||||
<h3>Ændre produkt</h3>
|
<div class="card">
|
||||||
|
<div class="card-header bg-dark text-white">
|
||||||
|
<div class="mt-3 h3 card-title">
|
||||||
|
Produkt variant
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -15,9 +15,9 @@
|
||||||
|
|
||||||
using Microsoft.AspNetCore.Components;
|
using Microsoft.AspNetCore.Components;
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Product;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class ProductVariantViewEditPage
|
public partial class SystemProductVariantViewEditPage
|
||||||
{
|
{
|
||||||
[Parameter]
|
[Parameter]
|
||||||
public string ProductId { get; set; } = "";
|
public string ProductId { get; set; } = "";
|
|
@ -13,12 +13,14 @@
|
||||||
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
||||||
*@
|
*@
|
||||||
|
|
||||||
|
@using Microsoft.AspNetCore.Authorization
|
||||||
|
@attribute [Authorize(Roles = "Admin")]
|
||||||
|
|
||||||
@page "/system/krv/texts/"
|
@page "/system/krv/products/{ProductId}"
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header bg-dark text-white">
|
<div class="card-header bg-dark text-white">
|
||||||
<div class="mt-3 h3 card-title">
|
<div class="mt-3 h3 card-title">
|
||||||
KRV Risiko Tekst Vedligeholdelse
|
Produkt
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
|
@ -15,10 +15,9 @@
|
||||||
|
|
||||||
using Microsoft.AspNetCore.Components;
|
using Microsoft.AspNetCore.Components;
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System.Krv.Product;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class ProductVariantListPage
|
public partial class SystemProductViewEditPage
|
||||||
{
|
{
|
||||||
[Parameter] public string ProductId { get; set; } = "";
|
[Parameter] public string ProductId { get; set; } = "";
|
||||||
|
|
||||||
}
|
}
|
|
@ -7,15 +7,15 @@ using Wonky.Client.HttpRepository;
|
||||||
using Wonky.Entity.DTO;
|
using Wonky.Entity.DTO;
|
||||||
using Wonky.Entity.Views;
|
using Wonky.Entity.Views;
|
||||||
|
|
||||||
namespace Wonky.Client.Pages.System;
|
namespace Wonky.Client.Pages;
|
||||||
#pragma warning disable CS8618
|
#pragma warning disable CS8618
|
||||||
public partial class SystemMaintenanceMessagePage : IDisposable
|
public partial class SystemShortMessagePage : IDisposable
|
||||||
{
|
{
|
||||||
// #############################################################
|
// #############################################################
|
||||||
[Inject] public HttpInterceptorService Interceptor { get; set; }
|
[Inject] public HttpInterceptorService Interceptor { get; set; }
|
||||||
[Inject] public ISystemUserRepository UserRepo { get; set; }
|
[Inject] public ISystemUserRepository UserRepo { get; set; }
|
||||||
[Inject] public ISystemSendSmsService SmsService { get; set; }
|
[Inject] public ISystemSendSmsService SmsService { get; set; }
|
||||||
[Inject] public ILogger<SystemMaintenanceMessagePage> Logger { get; set; }
|
[Inject] public ILogger<SystemShortMessagePage> Logger { get; set; }
|
||||||
[Inject] public IToastService Toaster { get; set; }
|
[Inject] public IToastService Toaster { get; set; }
|
||||||
|
|
||||||
// #############################################################
|
// #############################################################
|
|
@ -19,7 +19,7 @@ using Wonky.Client.HttpRepository;
|
||||||
using Wonky.Entity.Views;
|
using Wonky.Entity.Views;
|
||||||
|
|
||||||
#pragma warning disable CS8618
|
#pragma warning disable CS8618
|
||||||
namespace Wonky.Client.Pages.System.Users;
|
namespace Wonky.Client.Pages;
|
||||||
|
|
||||||
public partial class SystemSupervisorListPage : IDisposable
|
public partial class SystemSupervisorListPage : IDisposable
|
||||||
{
|
{
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue