diff --git a/config.yaml b/config.yaml index 9897eb3..24cce69 100644 --- a/config.yaml +++ b/config.yaml @@ -3,7 +3,7 @@ name: PARCOURSMOB views: generic: files: - - web/layouts/layout.html + - web/layouts/layout.html - web/layouts/_partials/mainmenu.html dashboard: files: @@ -55,17 +55,17 @@ views: - web/layouts/administration/_partials/group_members.html - web/layouts/group/settings.html vehicles: - search: - files: + search: + files: - web/layouts/_partials/address_autocomplete.html - web/layouts/vehicles_management/_partials/vehicle-type-select.html - web/layouts/vehicles/search.html - booking_display: - files: + booking_display: + files: - web/layouts/vehicles/booking-display.html - web/layouts/vehicles_management/_partials/booking-diags.html - bookings_list: - files: + bookings_list: + files: - web/layouts/vehicles_management/_partials/bookings-list.html - web/layouts/vehicles/bookings-list.html create_booking_diag: @@ -77,8 +77,8 @@ views: - web/layouts/vehicles_management/_partials/bookings-list.html - web/layouts/vehicles_management/_partials/vehicles-list.html - web/layouts/vehicles_management/overview.html - bookings_list: - files: + bookings_list: + files: - web/layouts/vehicles_management/_partials/bookings-list.html - web/layouts/vehicles_management/bookings-list.html fleet_add: @@ -96,12 +96,12 @@ views: - web/layouts/_partials/address_autocomplete.html - web/layouts/vehicles_management/_partials/vehicle-type-select.html - web/layouts/vehicles_management/fleet-update.html - booking_display: - files: + booking_display: + files: - web/layouts/vehicles_management/booking-display.html - web/layouts/vehicles_management/_partials/booking-diags.html - delete_booking: - files: + delete_booking: + files: - web/layouts/vehicles_management/delete-booking.html create_vehicle_diag: files: @@ -109,25 +109,25 @@ views: create_booking_diag: files: - web/layouts/vehicles_management/create-booking-diag.html - agenda: - list: - files: + agenda: + list: + files: - web/layouts/agenda/home.html - history: - files: + history: + files: - web/layouts/agenda/history.html - display_event: - files: + display_event: + files: - web/layouts/agenda/_partials/subscribers-table.html - web/layouts/agenda/display-event.html - web/layouts/agenda/_partials/event-files.html - create_event: - files: + create_event: + files: - web/layouts/_partials/address_autocomplete.html - web/layouts/agenda/create-event.html - web/layouts/agenda/_partials/event-files.html - delete_subscriber: - files: + delete_subscriber: + files: - web/layouts/agenda/delete-subscriber.html history_event: files: @@ -140,18 +140,19 @@ views: delete: files: - web/layouts/agenda/delete-event.html - directory: - home: - files: + directory: + home: + files: - web/layouts/directory/home.html - journeys: - search: - files: + journeys: + search: + files: - web/layouts/_partials/address_autocomplete.html - web/layouts/journeys/_partials/journeys-all.html - web/layouts/journeys/_partials/journeys-others.html - web/layouts/journeys/_partials/journeys-carpool.html - web/layouts/journeys/_partials/journeys-public-transit.html + - web/layouts/journeys/_partials/journeys-solidarity-transport.html - web/layouts/journeys/search.html list: files: @@ -180,7 +181,7 @@ views: files: - web/layouts/_partials/address_autocomplete.html - web/layouts/group_module/create_group.html - + display_group: files: - web/layouts/group_module/display_group.html @@ -202,6 +203,21 @@ views: files: - web/layouts/diags/history-diags.html + solidarity_transport: + overview: + files: + - web/layouts/solidarity_transport/_partials/drivers_list.html + - web/layouts/solidarity_transport/overview.html + driver_create: + files: + - web/layouts/_partials/address_autocomplete.html + - web/layouts/solidarity_transport/driver_create.html + driver_display: + files: + - web/layouts/solidarity_transport/_partials/driver_availabilities.html + - web/layouts/solidarity_transport/_partials/driver_documents.html + - web/layouts/solidarity_transport/driver_display.html + administration: home: files: @@ -227,7 +243,7 @@ views: files: - web/layouts/administration/_partials/bookings_list.html - web/layouts/administration/bookings_stats.html - settings: + settings: files: - web/layouts/administration/_partials/groups_admins.html - web/layouts/administration/_partials/group_members.html @@ -237,21 +253,21 @@ views: files: - web/layouts/auth/groups.html lost_password: - init: - files: + init: + files: - web/layouts/auth/lost-password-init.html - recover: + recover: form: - files: + files: - web/layouts/auth/lost-password-recover.html - ko: + ko: files: - web/layouts/auth/lost-password-recover-ko.html onboarding: form: files: - web/layouts/auth/onboarding.html - ko: + ko: files: - web/layouts/auth/onboarding-ko.html @@ -287,7 +303,7 @@ icons: tabler-icons:bus: emails: - onboarding: + onboarding: new_administrator: subject: PARCOURSMOB - Vous avez été invité comme administrateur files: @@ -308,10 +324,10 @@ emails: files: - emails/layout.html - emails/onboarding/existing-member.html - auth: + auth: retrieve_password: subject: PAROURSMOB - Réinitialisez votre mot de passe - files: + files: - emails/layout.html - emails/auth/retrieve-password.html fleets: diff --git a/web/assets/css/main.css b/web/assets/css/main.css index 15ab027..d7c2afd 100644 --- a/web/assets/css/main.css +++ b/web/assets/css/main.css @@ -1,6 +1,15 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; +@import "tailwindcss"; + +@theme { + --color-co-blue: #243887; + --color-co-lightblue: #907eff; + --color-co-red: #ff1300; + --color-co-green: #6cc11f; + --color-co-yellow: #ffdd00; + --color-co-orange: #ff5300; + + --radius-co: 40%; +} @font-face { font-family: "Manometer"; @@ -16,4 +25,4 @@ html { font-family: Bitter, serif; } -} \ No newline at end of file +} diff --git a/web/layouts/_partials/address_autocomplete.html b/web/layouts/_partials/address_autocomplete.html index 3ffd1b2..84e47c7 100644 --- a/web/layouts/_partials/address_autocomplete.html +++ b/web/layouts/_partials/address_autocomplete.html @@ -15,7 +15,7 @@ this.responselength = 0 return [] } - result = await fetch('https://geocode.ridygo.fr/v1/autocomplete/\?text=' + this.input) + result = await fetch('https://api.geocode.earth/v1/autocomplete/\?api_key=ge-4949288cd450ad31&text=' + this.input) json = await result.json() this.responselength = json['features'].length @@ -34,7 +34,7 @@ x-model="input">