Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,19 @@

<AuthorizeView Roles="Administrator">
<Authorized>
<div class="flex flex-wrap items-center">
<nav class="tab m-2 grow">
<div class="flex flex-wrap">

<nav class="tab">
@foreach (var item in _serverStorageAllViews)
{
<button class="btn tab-btn @(_currentViewName == item ? "active" : null) @GetBgColor(SaveLocationType.Server)" @onclick="() => LoadAsync(item)">@item</button>
<button class="tab-btn @(_currentViewName == item ? "active" : null) @GetBgColor(SaveLocationType.Server)" @onclick="() => LoadAsync(item)">@item</button>
}
@foreach (var item in _localStorageData.Keys)
{
<button class="btn tab-btn @(_currentViewName == item ? "active" : null) @GetBgColor(SaveLocationType.Local)" @onclick="() => LoadAsync(item)">@item</button>
<button class="tab-btn @(_currentViewName == item ? "active" : null) @GetBgColor(SaveLocationType.Local)" @onclick="() => LoadAsync(item)">@item</button>
}
</nav>

<div class="flex items-center ms-auto">
@if (_inDesignMode)
{
Expand Down
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks bigg. It shold be added also to other modals (edit ....)
Image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is too big?

Copy link
Contributor Author

@PTKu PTKu Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about this:
image
?
@kuh0005?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better one

Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,14 @@ else

<Modal @ref="_modalView">
<div class="modal-header">
<h4>@Vm.SelectedRecord?._EntityId</h4>
<div class="flex flex-row">
<div class="basis-1/3 mx-4">
<h4>@Vm.RefUIData.AttributeName</h4>
</div>
<div class="basis-2/3 my-1">
<h5>@Vm.SelectedRecord?._EntityId</h5>
</div>
</div>
<button type="button" class="cursor-pointer ms-auto my-auto" @onclick="() => _modalView.CloseModal()">
<Operon.Icons.HeroIcon Icon="x-mark" Type="Operon.Icons.IconType.Outline" Class="size-6" />
</button>
Expand Down Expand Up @@ -486,7 +493,14 @@ else

<Modal @ref="_modalChanges">
<div class="modal-header">
<h4>@Vm.SelectedRecord?._EntityId</h4>
<div class="flex flex-row">
<div class="basis-1/3 mx-4">
<h4>@Vm.RefUIData.AttributeName</h4>
</div>
<div class="basis-2/3 my-1">
<h5>@Vm.SelectedRecord?._EntityId</h5>
</div>
</div>
<button type="button" class="cursor-pointer ms-auto my-auto" @onclick="() => _modalChanges.CloseModal()">
<Operon.Icons.HeroIcon Icon="x-mark" Type="Operon.Icons.IconType.Outline" Class="size-6" />
</button>
Expand Down Expand Up @@ -537,7 +551,14 @@ else

<Modal @ref="_modalEdit">
<div class="modal-header">
<h4>@Vm.SelectedRecord?._EntityId</h4>
<div class="flex flex-row">
<div class="basis-1/3 mx-4">
<h4>@Vm.RefUIData.AttributeName</h4>
</div>
<div class="basis-2/3 my-1">
<h5>@Vm.SelectedRecord?._EntityId</h5>
</div>
</div>
<button class="cursor-pointer ms-auto my-auto" @onclick="() => { _modalEdit.CloseModal(); Vm.UnLocked(); }">
<Operon.Icons.HeroIcon Icon="x-mark" Type="Operon.Icons.IconType.Outline" Class="size-6" />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ else
<ul class="tab">
@foreach (var exchange in DistributedVM.DisplayedExchanges)
{
<button type="button" class="btn tab-btn @(DistributedVM?.SelectedManagerVm?.Model == exchange ? "active" : null)" @onclick="async () => { await DistributedVM.SelectManager(exchange); }">@exchange.PresentableInstanceName</button>
<button type="button" class="tab-btn @(DistributedVM.SelectedManagerVm?.Model == exchange ? "active" : null)" @onclick="async () => { await DistributedVM.SelectManager(exchange); }">@exchange.PresentableInstanceName</button>
}
</ul>
}
Expand Down
Loading