fix : use MalioButton/MalioButtonIcon everywhere, fix env count and fixture URLs
- Replace all native HTML buttons with MalioButton and MalioButtonIcon components - Add app:read group on environments relation to fix 0 count in list - Fix fixture URLs (http for apps, https for gitea) - Maintenance icons: alert-outline (activate) / shield-check-outline (deactivate) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -20,12 +20,13 @@
|
||||
<h2 class="text-lg font-bold tracking-tight text-neutral-900">
|
||||
<slot name="title" />
|
||||
</h2>
|
||||
<button
|
||||
class="rounded-md p-1 text-neutral-400 hover:bg-neutral-100 hover:text-neutral-600"
|
||||
<MalioButtonIcon
|
||||
icon="mdi:close"
|
||||
aria-label="Fermer"
|
||||
variant="ghost"
|
||||
icon-size="20"
|
||||
@click="close"
|
||||
>
|
||||
<Icon name="mdi:close" size="20" />
|
||||
</button>
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -38,19 +39,16 @@
|
||||
<div class="border-t border-neutral-100 px-4 py-4 sm:px-8">
|
||||
<div class="flex justify-end gap-3">
|
||||
<slot name="footer">
|
||||
<button
|
||||
type="button"
|
||||
class="rounded-lg border border-neutral-300 px-4 py-2 text-sm font-semibold text-neutral-700 hover:bg-neutral-50"
|
||||
@click="close"
|
||||
>
|
||||
{{ cancelLabel }}
|
||||
</button>
|
||||
<MalioButton
|
||||
:label="cancelLabel"
|
||||
variant="tertiary"
|
||||
@click="close"
|
||||
/>
|
||||
<MalioButton
|
||||
:label="submitLabel"
|
||||
:loading="loading"
|
||||
@click="$emit('submit')"
|
||||
>
|
||||
{{ submitLabel }}
|
||||
</MalioButton>
|
||||
/>
|
||||
</slot>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user