1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02:00

Improve map path theme ui #587

#667
This commit is contained in:
Patrik J. Braun 2023-07-08 17:00:23 +02:00
parent 6c0c883298
commit 9eb56f89a6

View File

@ -266,7 +266,7 @@
<ng-container *ngSwitchCase="'MapPathGroupThemeConfig'">
<div class="container">
<div class="row mt-1 mb-1 bg-body-tertiary" *ngFor="let val of state.value; let i = index">
<div class="row mt-1 mb-1 bg-body-tertiary" *ngFor="let val of state.value; index as i; last as isLast">
<div class="row mt-1 mb-1 bg-body-tertiary">
<div class="col ps-0">
<app-settings-entry
@ -306,12 +306,14 @@
(ngModelChange)="onChange($event)">
</app-settings-entry>
</div>
<hr *ngIf="!isLast"/>
</div>
<div class="row">
<div class="col pe-0">
<button class="btn btn-primary float-end"
(click)="AddNew()" i18n>+ Add Link
(click)="AddNew()" i18n>+ Add matcher
</button>
</div>
</div>
@ -354,7 +356,7 @@
<div class="row">
<div class="col pe-0">
<button class="btn btn-primary float-end"
(click)="AddNew()" i18n>+ Add Link
(click)="AddNew()" i18n>+ Add path theme group
</button>
</div>
</div>