From 5d5e17112c0bd318b82faa9b8f3b112af3e1f618 Mon Sep 17 00:00:00 2001 From: Arnaud Delcasse Date: Mon, 5 Dec 2022 19:16:24 +0100 Subject: [PATCH] Tweak administration --- web/layouts/administration/home.html | 8 ++++---- web/layouts/vehicles_management/booking-display.html | 4 ++-- web/public/css/main.css | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/web/layouts/administration/home.html b/web/layouts/administration/home.html index 723af8a..7e17eb8 100644 --- a/web/layouts/administration/home.html +++ b/web/layouts/administration/home.html @@ -15,7 +15,7 @@ class="flex-1 flex items-center justify-between border-t border-r border-b border-gray-200 bg-white rounded-r-3xl truncate">
Bénéficiaires -

{{len (index .ViewState.groups 0).Members}} bénéficiaires

+

{{len .ViewState.beneficiaries }} bénéficiaires

@@ -51,13 +51,13 @@
  • - {{.IconSet.Icon "hero:outline/shield-check" "h-6 w-6"}} + {{.IconSet.Icon "tabler-icons:car" "h-6 w-6"}}
    - Accompagnement -

    0 actions réalisées

    + Véhicules +

    {{len .ViewState.bookings}} réservations de véhicules

  • diff --git a/web/layouts/vehicles_management/booking-display.html b/web/layouts/vehicles_management/booking-display.html index 0db6d57..35cfc65 100644 --- a/web/layouts/vehicles_management/booking-display.html +++ b/web/layouts/vehicles_management/booking-display.html @@ -35,7 +35,7 @@
    @@ -161,7 +161,7 @@
    Type
    - Voiture
    + {{.ViewState.vehicle.Type}}
    {{if .ViewState.vehicle.Data.address}}
    diff --git a/web/public/css/main.css b/web/public/css/main.css index 109e22f..4f3d80c 100644 --- a/web/public/css/main.css +++ b/web/public/css/main.css @@ -1659,6 +1659,11 @@ html { background-color: rgb(238 242 255 / var(--tw-bg-opacity)); } +.bg-black { + --tw-bg-opacity: 1; + background-color: rgb(0 0 0 / var(--tw-bg-opacity)); +} + .bg-indigo-600 { --tw-bg-opacity: 1; background-color: rgb(79 70 229 / var(--tw-bg-opacity)); @@ -1669,11 +1674,6 @@ html { background-color: rgb(17 24 39 / var(--tw-bg-opacity)); } -.bg-black { - --tw-bg-opacity: 1; - background-color: rgb(0 0 0 / var(--tw-bg-opacity)); -} - .bg-gray-500 { --tw-bg-opacity: 1; background-color: rgb(107 114 128 / var(--tw-bg-opacity));