mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 20:40:55 +00:00
Слегка обновил страницу замены картриджа
This commit is contained in:
1 parent
10c499e671
commit
23c4b1439d
4 files changed
+20
-5
No files matched your search
@@ -43,7 +43,7 @@
|
||||
|
||||
Console.WriteLine($"{BaseAddress}/Printer/{Printer.Id}/CartridgeReplace");
|
||||
|
||||
var result = await DialogService.OpenAsync("Simple Dialog", ds =>
|
||||
var result = await DialogService.OpenAsync("", ds =>
|
||||
@<RadzenStack Gap="1.5rem">
|
||||
<RadzenStack Orientation="Orientation.Horizontal" Gap="0.5rem" AlignItems="AlignItems.Center" JustifyContent="JustifyContent.SpaceBetween">
|
||||
<RadzenQRCode Value="@($"{BaseAddress}/Printer/{Printer.Id}/CartridgeReplace")" />
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
@inject HttpClient http
|
||||
@inject DialogService DialogService
|
||||
<RadzenStack>
|
||||
<div style="height: 640px;">
|
||||
<Pager DataToPrinterAdd="DataToPrinterAdd" page="page" IsPageValidChanged="OnPageValidationChanged" />
|
||||
@@ -57,5 +58,6 @@
|
||||
async Task AddPrinterClicked()
|
||||
{
|
||||
await http.PostAsJsonAsync(Shared.Classes.ApiRoutes.Printer.AddPrinter, DataToPrinterAdd);
|
||||
DialogService.Close();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user