up
This commit is contained in:
parent
cc92e2b5d7
commit
4f6a388129
3 changed files with 33 additions and 8 deletions
|
|
@ -1,4 +1,5 @@
|
|||
<div class="layout">
|
||||
|
||||
@if(showOptions){
|
||||
<div class="aside">
|
||||
|
||||
|
|
@ -29,13 +30,7 @@
|
|||
<input type="checkbox" [(ngModel)]="pleinAirMode" (change)="togglePleinAir()">
|
||||
Mode plein air
|
||||
</label>
|
||||
@if (pleinAirMode) {
|
||||
<div class="quick-actions" style="margin-top:8px; display:flex; gap:6px; flex-wrap:wrap;">
|
||||
<button class="btn" (click)="quickCreate('traffic.contestation')">🚩 Contester</button>
|
||||
<button class="btn" (click)="quickCreate('traffic.interruption')">⛓️ Interruption</button>
|
||||
<button class="btn" (click)="quickCreate('traffic.wrong_way')">⛖ Détourné</button>
|
||||
</div>
|
||||
}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="filters-group">
|
||||
|
|
@ -191,6 +186,14 @@
|
|||
<button class="button toggle-options" (click)="showOptions = !showOptions">
|
||||
Options
|
||||
</button>
|
||||
@if (pleinAirMode) {
|
||||
<div class="quick-actions" style="margin-top:8px; display:flex; gap:6px; flex-wrap:wrap;">
|
||||
<button class="btn" (click)="quickCreate('traffic.contestation')">🚩 Contester</button>
|
||||
<button class="btn" (click)="quickCreate('traffic.interruption')">⛓️ Interruption</button>
|
||||
<button class="btn" (click)="quickCreate('traffic.wrong_way')">⛖ Détourné</button>
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (toasts.length) {
|
||||
<div class="toaster" style="position:fixed;right:16px;top:16px;display:flex;flex-direction:column;gap:8px;z-index:1000;">
|
||||
@for (t of toasts; track t.id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue