Compare commits
4 Commits
spie06
...
f12f7f581f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f12f7f581f | ||
|
|
54c2ce3367 | ||
|
|
d05b8d6339 | ||
|
|
af0d632a78 |
@@ -255,6 +255,7 @@ views:
|
|||||||
overview:
|
overview:
|
||||||
files:
|
files:
|
||||||
- web/layouts/solidarity_transport/_partials/drivers_list.html
|
- web/layouts/solidarity_transport/_partials/drivers_list.html
|
||||||
|
- web/layouts/solidarity_transport/_partials/booking_filters.html
|
||||||
- web/layouts/solidarity_transport/_partials/bookings_list.html
|
- web/layouts/solidarity_transport/_partials/bookings_list.html
|
||||||
- web/layouts/solidarity_transport/_partials/bookings_history.html
|
- web/layouts/solidarity_transport/_partials/bookings_history.html
|
||||||
- web/layouts/solidarity_transport/overview.html
|
- web/layouts/solidarity_transport/overview.html
|
||||||
@@ -454,16 +455,16 @@ emails:
|
|||||||
- emails/layout.html
|
- emails/layout.html
|
||||||
- emails/onboarding/delete-subscriber.html
|
- emails/onboarding/delete-subscriber.html
|
||||||
solidarity_transport:
|
solidarity_transport:
|
||||||
boking_driver_accept:
|
booking_driver_accept:
|
||||||
subject: Trajet accepté par un conducteur
|
subject: Trajet accepté par un conducteur
|
||||||
files:
|
files:
|
||||||
- emails/layout.html
|
- emails/layout.html
|
||||||
- emails/solidarity_transport/booking_driver_accept.html
|
- emails/solidarity_transport/booking_driver_accept.html
|
||||||
boking_driver_decline:
|
booking_driver_decline:
|
||||||
subject: Trajet accepté par un conducteur
|
subject: Trajet accepté par un conducteur
|
||||||
files:
|
files:
|
||||||
- emails/layout.html
|
- emails/layout.html
|
||||||
- emails/solidarity_transport/booking_driver_accept.html
|
- emails/solidarity_transport/booking_driver_decline.html
|
||||||
|
|
||||||
sms:
|
sms:
|
||||||
solidarity_transport:
|
solidarity_transport:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{{define "content"}}
|
{{define "content"}}
|
||||||
<p>Vous avez une nouvelle réservation e véhicule sur PARCOURSMOB.</p>
|
<p>Vous avez une nouvelle réservation e véhicule sur PARCOURSMOB.</p>
|
||||||
<p>Connectez vous sur <a href="https://spie06.parcoursmob.fr/app/vehicles-management/bookings/{{.bookingid}}">https://spie06.parcoursmob.fr/app/vehicles-management/bookings/{{.bookingid}}</a> pour y accéder</p>
|
<p>Connectez vous sur <a href="http://localhost:9000/app/vehicles-management/bookings/{{.bookingid}}">http://localhost:9000/app/vehicles-management/bookings/{{.bookingid}}</a> pour y accéder</p>
|
||||||
{{end}}
|
{{end}}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{{define "content"}}
|
{{define "content"}}
|
||||||
<p>Bonjour,</p>
|
<p>Bonjour,</p>
|
||||||
<p>Trajet refusé par un conducteur.</p>
|
<p>Trajet refusé par un conducteur.</p>
|
||||||
<p>Voir le trajet : <a href="{{ .baseUrl }}/solidarity-transport/bookings/{{.bookingid}}">{{ .baseUrl }}/solidarity-transport/bookings/{{.bookingid}}</a></p>
|
<p>Voir le trajet : <a href="{{ .baseUrl }}/app/solidarity-transport/bookings/{{.bookingid}}">{{ .baseUrl }}/app/solidarity-transport/bookings/{{.bookingid}}</a></p>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
|
|
||||||
@theme {
|
@theme {
|
||||||
--color-co-blue: #00727e;
|
--color-co-blue: #243887;
|
||||||
--color-co-lightblue: #907eff;
|
--color-co-lightblue: #907eff;
|
||||||
--color-co-red: #de1581;
|
--color-co-red: #ff1300;
|
||||||
--color-co-green: #6cc11f;
|
--color-co-green: #6cc11f;
|
||||||
--color-co-yellow: #ffdd00;
|
--color-co-yellow: #ffdd00;
|
||||||
--color-co-orange: #ff5300;
|
--color-co-orange: #ff5300;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html class="h-full bg-gray-50">
|
<html class="h-full bg-gray-50">
|
||||||
<head>
|
<head>
|
||||||
<title>PARCOURSMOB - Identification</title>
|
<title>PARCOURSMOB - Identification</title>
|
||||||
<link rel="stylesheet" href="/public/css/main.css" />
|
<link rel="stylesheet" href="http://localhost:9000/public/css/main.css" />
|
||||||
</head>
|
</head>
|
||||||
<body class="h-full">
|
<body class="h-full">
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html class="h-full bg-gray-50">
|
<html class="h-full bg-gray-50">
|
||||||
<head>
|
<head>
|
||||||
<title>PARCOURSMOB - Identification</title>
|
<title>PARCOURSMOB - Identification</title>
|
||||||
<link rel="stylesheet" href="/public/css/main.css" />
|
<link rel="stylesheet" href="http://localhost:9000/public/css/main.css" />
|
||||||
</head>
|
</head>
|
||||||
<body class="h-full">
|
<body class="h-full">
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html class="h-full bg-gray-50">
|
<html class="h-full bg-gray-50">
|
||||||
<head>
|
<head>
|
||||||
<title>PARCOURSMOB - Identification</title>
|
<title>PARCOURSMOB - Identification</title>
|
||||||
<link rel="stylesheet" href="/public/css/main.css" />
|
<link rel="stylesheet" href="http://localhost:9000/public/css/main.css" />
|
||||||
</head>
|
</head>
|
||||||
<body class="h-full">
|
<body class="h-full">
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html class="h-full bg-gray-50">
|
<html class="h-full bg-gray-50">
|
||||||
<head>
|
<head>
|
||||||
<title>PARCOURSMOB - Identification</title>
|
<title>PARCOURSMOB - Identification</title>
|
||||||
<link rel="stylesheet" href="/public/css/main.css" />
|
<link rel="stylesheet" href="http://localhost:9000/public/css/main.css" />
|
||||||
</head>
|
</head>
|
||||||
<body class="h-full">
|
<body class="h-full">
|
||||||
|
|
||||||
|
|||||||
@@ -3,5 +3,8 @@
|
|||||||
<p class="text-center text-lg">Trajets réalisés : {{ .ViewState.solidarity_transport_stats.count }}</p>
|
<p class="text-center text-lg">Trajets réalisés : {{ .ViewState.solidarity_transport_stats.count }}</p>
|
||||||
<p class="text-center text-lg">Kilomètres réalisés : {{ .ViewState.solidarity_transport_stats.km}} km</p>
|
<p class="text-center text-lg">Kilomètres réalisés : {{ .ViewState.solidarity_transport_stats.km}} km</p>
|
||||||
|
|
||||||
|
<a href="/app/journeys/?passengerid={{.ViewState.beneficiary.ID}}" class="inline-flex">
|
||||||
|
<button type="button" class="m-10 w-full px-4 py-2 border border-transparent text-sm font-medium rounded-2xl shadow-sm text-white bg-co-blue hover:bg-co-blue focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-co-blue">Chercher un trajet</button>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
walletdialog: false
|
walletdialog: false
|
||||||
}">
|
}">
|
||||||
<div class="px-4 py-5 sm:px-6">
|
<div class="px-4 py-5 sm:px-6">
|
||||||
<p class="text-center text-lg">Solde : {{if .ViewState.beneficiary.Data.wallet}}{{ .ViewState.beneficiary.Data.wallet }}{{else}}0{{end}} €</p>
|
<p class="text-center text-lg">Solde : {{if .ViewState.beneficiary.Data.wallet}}{{ printf "%.2f" .ViewState.beneficiary.Data.wallet }}{{else}}0{{end}} €</p>
|
||||||
<button @click="walletdialog = !walletdialog"
|
<button @click="walletdialog = !walletdialog"
|
||||||
class="rounded-2xl border border-transparent bg-co-blue px-4 py-2 my-4 mt-8 w-full text-sm font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-co-blue focus:ring-offset-2 sm:w-auto">
|
class="rounded-2xl border border-transparent bg-co-blue px-4 py-2 my-4 mt-8 w-full text-sm font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-co-blue focus:ring-offset-2 sm:w-auto">
|
||||||
Créditer le compte
|
Créditer le compte
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<form method="POST" action="/app/wallets/{{.ViewState.beneficiary.ID}}/credit" class="my-4">
|
<form method="POST" action="/app/wallets/{{.ViewState.beneficiary.ID}}/credit" class="my-4">
|
||||||
<div class="my-8">
|
<div class="my-8">
|
||||||
<input type="number" id="amount" name="amount" value="0"
|
<input type="number" step="0.01" id="amount" name="amount" value="0"
|
||||||
class="w-full shadow-sm focus:ring-co-blue focus:border-co-blue px-2 p-1 sm:text-sm border-gray-300 rounded-2xl">
|
class="w-full shadow-sm focus:ring-co-blue focus:border-co-blue px-2 p-1 sm:text-sm border-gray-300 rounded-2xl">
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-5 sm:mt-6">
|
<div class="mt-5 sm:mt-6">
|
||||||
|
|||||||
@@ -1,5 +1,14 @@
|
|||||||
{{define "journeys_others"}}
|
{{define "journeys_others"}}
|
||||||
|
<!--KNOWLEDGE BASE-->
|
||||||
|
<div class="p-10">
|
||||||
|
{{ range .ViewState.kb_data }}
|
||||||
|
<div class="m-4">
|
||||||
|
<h2 class="text-sm font-bold">{{.title}}</h2>
|
||||||
|
<p class="text-sm">{{.description}}</p>
|
||||||
|
<p class="text-sm text-co-blue"><a href="{{.url}}">Voir plus ...</a></p>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
<!--VEHICLES-->
|
<!--VEHICLES-->
|
||||||
{{if moduleAvailable "vehicles"}}
|
{{if moduleAvailable "vehicles"}}
|
||||||
<div class="p-4 flex text-sm text-grey-900">
|
<div class="p-4 flex text-sm text-grey-900">
|
||||||
@@ -16,7 +25,6 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="col" class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6 md:pl-0">Véhicule</th>
|
<th scope="col" class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6 md:pl-0">Véhicule</th>
|
||||||
<th scope="col" class="py-3.5 px-3 text-left text-sm font-semibold text-gray-900">Numéro</th>
|
<th scope="col" class="py-3.5 px-3 text-left text-sm font-semibold text-gray-900">Numéro</th>
|
||||||
<th scope="col" class="py-3.5 px-3 text-left text-sm font-semibold text-gray-900">Gestionnaire</th>
|
|
||||||
<th scope="col" class="py-3.5 px-3 text-left text-sm font-semibold text-gray-900">Lieu</th>
|
<th scope="col" class="py-3.5 px-3 text-left text-sm font-semibold text-gray-900">Lieu</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@@ -25,7 +33,6 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6 md:pl-0">{{.Data.name}}</td>
|
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6 md:pl-0">{{.Data.name}}</td>
|
||||||
<td class="whitespace-nowrap py-4 px-3 text-sm text-gray-500">{{.Data.licence_plate}}</td>
|
<td class="whitespace-nowrap py-4 px-3 text-sm text-gray-500">{{.Data.licence_plate}}</td>
|
||||||
<td class="whitespace-nowrap py-4 px-3 text-sm text-gray-500">COOPGO</td>
|
|
||||||
<td class="whitespace-nowrap py-4 px-3 text-sm text-gray-500">{{if .Data.address}}{{.Data.address.properties.label}}{{end}}</td>
|
<td class="whitespace-nowrap py-4 px-3 text-sm text-gray-500">{{if .Data.address}}{{.Data.address.properties.label}}{{end}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|||||||
@@ -40,11 +40,11 @@
|
|||||||
{{ $driver := (index $.ViewState.solidarity_drivers .DriverId)}}
|
{{ $driver := (index $.ViewState.solidarity_drivers .DriverId)}}
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">{{ $driver.Data.first_name }} {{ $driver.Data.last_name }}</td>
|
<td class="py-4 pl-4 pr-3 text-sm sm:pl-6">{{ $driver.Data.first_name }} {{ $driver.Data.last_name }}</td>
|
||||||
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">{{ .DriverDistance }} km</td>
|
<td class="py-4 pl-4 pr-3 text-sm sm:pl-6">{{ .DriverDistance }} km</td>
|
||||||
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">{{ .PassengerDistance }} km</td>
|
<td class="py-4 pl-4 pr-3 text-sm sm:pl-6">{{ .PassengerDistance }} km</td>
|
||||||
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">{{if $driver.Data.other_properties}}{{ $driver.Data.other_properties.comment }}{{end}}</td>
|
<td class="py-4 pl-4 pr-3 text-sm sm:pl-6">{{if $driver.Data.other_properties}}{{ $driver.Data.other_properties.comment }}{{end}}</td>
|
||||||
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
<td class="py-4 pl-4 pr-3 text-sm sm:pl-6">
|
||||||
{{if solidarityDriverValidatedProfile $driver (solidarityDocuments $driver.ID) }}
|
{{if solidarityDriverValidatedProfile $driver (solidarityDocuments $driver.ID) }}
|
||||||
<span class="p-1 px-2 text-xs bg-co-green rounded-2xl">Oui</span>
|
<span class="p-1 px-2 text-xs bg-co-green rounded-2xl">Oui</span>
|
||||||
{{else}}
|
{{else}}
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
||||||
<a class="text-co-blue hover:text-co-blue"
|
<a class="text-co-blue hover:text-co-blue"
|
||||||
href="/app/solidarity-transport/drivers/{{$driver.ID}}/journeys/{{.Id}}">
|
href="/app/solidarity-transport/drivers/{{$driver.ID}}/journeys/{{.Id}}{{if ne $.ViewState.passengerid ""}}?passengerid={{$.ViewState.passengerid}}{{end}}">
|
||||||
Organiser
|
Organiser
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -33,6 +33,9 @@
|
|||||||
{{ $destination := .ViewState.destination }}
|
{{ $destination := .ViewState.destination }}
|
||||||
{{ template "address_autocomplete" dict "FieldName" $destinationField "FieldLabel" $destinationLabel "Address" $destination }}
|
{{ template "address_autocomplete" dict "FieldName" $destinationField "FieldLabel" $destinationLabel "Address" $destination }}
|
||||||
|
|
||||||
|
{{if ne .ViewState.passengerid "" }}
|
||||||
|
<input type="hidden" value="{{.ViewState.passengerid}}" name="passengerid" />
|
||||||
|
{{end}}
|
||||||
|
|
||||||
<div class="py-4 grid grid-cols-2">
|
<div class="py-4 grid grid-cols-2">
|
||||||
<div class="lg:col-span-1">
|
<div class="lg:col-span-1">
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
x-transition:enter="transition ease-in-out duration-300 transform" x-transition:enter-start="-translate-x-full"
|
x-transition:enter="transition ease-in-out duration-300 transform" x-transition:enter-start="-translate-x-full"
|
||||||
x-transition:enter-end="translate-x-0" x-transition:leave="transition ease-in-out duration-300 transform"
|
x-transition:enter-end="translate-x-0" x-transition:leave="transition ease-in-out duration-300 transform"
|
||||||
x-transition:leave-start="translate-x-0" x-transition:leave-end="-translate-x-full">
|
x-transition:leave-start="translate-x-0" x-transition:leave-end="-translate-x-full">
|
||||||
<div class="relative flex-1 flex flex-col max-w-xs w-full pb-4 bg-co-blue">
|
<div class="relative flex-1 flex flex-col max-w-xs w-full pt-5 pb-4 bg-co-blue">
|
||||||
<div class="absolute top-0 right-0 -mr-12 pt-2" @click="offCanvasMenu = false">
|
<div class="absolute top-0 right-0 -mr-12 pt-2" @click="offCanvasMenu = false">
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white">
|
class="ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white">
|
||||||
@@ -39,8 +39,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="bg-white flex items-center shadow"><img class="h-16 w-auto m-auto" src="/public/images/departement06.png"></div>
|
<div class="flex-shrink-0 flex items-center px-4">
|
||||||
<div class="flex-shrink-0 flex items-center px-4 pt-5">
|
|
||||||
<img class="h-8 w-auto" src="/public/images/main_logo.svg" alt="PARCOURSMOB">
|
<img class="h-8 w-auto" src="/public/images/main_logo.svg" alt="PARCOURSMOB">
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-5 flex-1 h-0 overflow-y-auto">
|
<div class="mt-5 flex-1 h-0 overflow-y-auto">
|
||||||
@@ -59,10 +58,9 @@
|
|||||||
<!-- Static sidebar for desktop -->
|
<!-- Static sidebar for desktop -->
|
||||||
<div class="hidden md:flex md:w-64 md:flex-col md:fixed md:inset-y-0">
|
<div class="hidden md:flex md:w-64 md:flex-col md:fixed md:inset-y-0">
|
||||||
<!-- Sidebar component, swap this element with another sidebar if you like -->
|
<!-- Sidebar component, swap this element with another sidebar if you like -->
|
||||||
<div class="flex flex-col flex-grow bg-co-blue overflow-y-auto">
|
<div class="flex flex-col flex-grow pt-5 bg-co-blue overflow-y-auto">
|
||||||
<div class="bg-white flex items-center shadow"><img class="h-16 w-auto m-auto" src="/public/images/departement06.png"></div>
|
<div class="flex items-center flex-shrink-0 px-4">
|
||||||
<div class="flex items-center flex-shrink-0 px-4 pt-5">
|
<img class="h-8 w-auto" src="/public/images/parcoursmob_logo_whitered.svg" alt="PARCOURSMOB">
|
||||||
<img class="h-8 w-auto m-auto" src="/public/images/main_logo.svg" alt="PARCOURSMOB">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-5 flex-1 flex flex-col">
|
<div class="mt-5 flex-1 flex flex-col">
|
||||||
{{ template "mainmenu" . }}
|
{{ template "mainmenu" . }}
|
||||||
|
|||||||
@@ -0,0 +1,43 @@
|
|||||||
|
{{ define "booking_filters" }}
|
||||||
|
{{$tab := or .tab "solidarityTransport"}}
|
||||||
|
|
||||||
|
<form>
|
||||||
|
|
||||||
|
<input type="hidden" name="tab" value="{{$tab}}" />
|
||||||
|
|
||||||
|
<div class="flex flex-row justify-end flex-wrap">
|
||||||
|
|
||||||
|
<div class="m-4">
|
||||||
|
<div>
|
||||||
|
<label for="{{$tab}}_date_start" class="block text-sm/6 font-medium text-gray-900 dark:text-white">Dates (début / fin)</label>
|
||||||
|
<div class="mt-2 flex">
|
||||||
|
<input id="{{$tab}}_date_start" type="date" name="date_start" class="block w-full rounded-md bg-white px-3 py-1.5 text-base text-gray-900 outline-1 -outline-offset-1 outline-gray-300 placeholder:text-gray-400 focus:outline-2 focus:-outline-offset-2 focus:outline-indigo-600 sm:text-sm/6 dark:bg-white/5 dark:text-white dark:outline-white/10 dark:placeholder:text-gray-500 dark:focus:outline-co-blue" value="{{.filters.date_start}}" onchange="this.form.submit()" />
|
||||||
|
<input id="{{$tab}}_date_end" type="date" name="date_end" class="mx-2 block w-full rounded-md bg-white px-3 py-1.5 text-base text-gray-900 outline-1 -outline-offset-1 outline-gray-300 placeholder:text-gray-400 focus:outline-2 focus:-outline-offset-2 focus:outline-indigo-600 sm:text-sm/6 dark:bg-white/5 dark:text-white dark:outline-white/10 dark:placeholder:text-gray-500 dark:focus:outline-co-blue" value="{{.filters.date_end}}" onchange="this.form.submit()" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="m-4">
|
||||||
|
<label for="{{$tab}}_status" class="block text-sm/6 font-medium text-gray-900 dark:text-white">Statut</label>
|
||||||
|
<div class="mt-2 grid grid-cols-1">
|
||||||
|
<select id="{{$tab}}_status" name="status" class="col-start-1 row-start-1 w-full appearance-none rounded-md bg-white py-1.5 pr-8 pl-3 text-base text-gray-900 outline-1 -outline-offset-1 outline-gray-300 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-indigo-600 sm:text-sm/6 dark:bg-white/5 dark:text-white dark:outline-white/10 dark:*:bg-gray-800 dark:focus-visible:outline-co-blue" onchange="this.form.submit()">
|
||||||
|
<option></option>
|
||||||
|
<option value="VALIDATED"{{if eq .filters.status "VALIDATED"}} selected{{end}}>Validé</option>
|
||||||
|
<option value="CANCELLED"{{if eq .filters.status "CANCELLED"}} selected{{end}}>Annulé</option>
|
||||||
|
<option value="WAITING_CONFIRMATION"{{if eq .filters.status "WAITING_CONFIRMATION"}} selected{{end}}>Attente confirmation</option>
|
||||||
|
</select>
|
||||||
|
<svg viewBox="0 0 16 16" fill="currentColor" data-slot="icon" aria-hidden="true" class="pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4 dark:text-gray-400">
|
||||||
|
<path d="M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd" fill-rule="evenodd" />
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="m-4">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
{{ end }}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
|
|
||||||
{{ define "solidarity_bookings_history" }}
|
{{ define "solidarity_bookings_history" }}
|
||||||
|
{{template "booking_filters" dict "tab" "solidarityHistory" "filters" .ViewState.hist_filters }}
|
||||||
{{if eq (len .ViewState.bookings_history) 0}}
|
{{if eq (len .ViewState.bookings_history) 0}}
|
||||||
<div class="m-10 text-center text-gray-600">Aucun trajet dans le passé</div>
|
<div class="m-10 text-center text-gray-600">Aucun trajet dans le passé</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
@@ -30,6 +31,10 @@
|
|||||||
class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6">
|
class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6">
|
||||||
Statut
|
Statut
|
||||||
</th>
|
</th>
|
||||||
|
<th scope="col"
|
||||||
|
class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6">
|
||||||
|
Prix
|
||||||
|
</th>
|
||||||
<th scope="col"
|
<th scope="col"
|
||||||
class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6">
|
class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6">
|
||||||
|
|
||||||
@@ -69,6 +74,9 @@
|
|||||||
<span class="p-1 text-xs bg-co-red text-white rounded-xl">Annulé</span>
|
<span class="p-1 text-xs bg-co-red text-white rounded-xl">Annulé</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</td>
|
</td>
|
||||||
|
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
||||||
|
{{ .Journey.Price.Amount }} {{ .Journey.Price.Currency }}
|
||||||
|
</td>
|
||||||
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
||||||
<a class="text-co-blue" href="/app/solidarity-transport/bookings/{{.Id}}">
|
<a class="text-co-blue" href="/app/solidarity-transport/bookings/{{.Id}}">
|
||||||
Voir
|
Voir
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
|
|
||||||
{{ define "solidarity_bookings_list" }}
|
{{ define "solidarity_bookings_list" }}
|
||||||
|
{{template "booking_filters" dict "tab" "solidarityService" "filters" .ViewState.filters }}
|
||||||
|
|
||||||
{{if eq (len .ViewState.bookings) 0}}
|
{{if eq (len .ViewState.bookings) 0}}
|
||||||
<div class="m-10 text-center text-gray-600">Aucun trajet déclaré</div>
|
<div class="m-10 text-center text-gray-600">Aucun trajet déclaré</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|||||||
@@ -249,7 +249,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
<div class="sm:col-span-1">
|
<div class="sm:col-span-1">
|
||||||
<dt class="text-sm font-medium text-gray-500">Compte mobilié (solde)</dt>
|
<dt class="text-sm font-medium text-gray-500">Compte mobilié (solde)</dt>
|
||||||
<dd class="mt-1 text-sm text-gray-900">{{if .passenger.Data.wallet}}{{ .passenger.Data.wallet }}{{else}}0{{end}} EUR</dd>
|
<dd class="mt-1 text-sm text-gray-900">{{if .passenger.Data.wallet}}{{ printf "%.2f" .passenger.Data.wallet }}{{else}}0{{end}} EUR</dd>
|
||||||
</div>
|
</div>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -56,8 +56,10 @@
|
|||||||
|
|
||||||
<!-- <button type="button"
|
<!-- <button type="button"
|
||||||
class="inline-flex items-center justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-2xl text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-co-blue">Supprimer</button> -->
|
class="inline-flex items-center justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-2xl text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-co-blue">Supprimer</button> -->
|
||||||
|
<a href="/app/journeys/?departure={{json .ViewState.booking.Journey.PassengerPickup}}&destination={{ json .ViewState.booking.Journey.PassengerDrop }}&passengerid={{.ViewState.booking.PassengerId}}" class="inline-flex"><button type="button"
|
||||||
|
class="w-full px-4 py-2 border border-transparent text-sm font-medium rounded-2xl shadow-sm bg-white text-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-co-blue">Dupliquer</button></a>
|
||||||
{{if eq .ViewState.booking.Status "CANCELLED" }}
|
{{if eq .ViewState.booking.Status "CANCELLED" }}
|
||||||
<a href="/app/journeys/?departure={{json .ViewState.booking.Journey.PassengerPickup}}&destination={{ json .ViewState.booking.Journey.PassengerDrop }}&departuredate={{ .ViewState.booking.Journey.PassengerPickupDate.Format "2006-01-02"}}&departuretime={{ .ViewState.booking.Journey.PassengerPickupDate.Format "15:04"}}" class="inline-flex"><button type="button"
|
<a href="/app/journeys/?departure={{json .ViewState.booking.Journey.PassengerPickup}}&destination={{ json .ViewState.booking.Journey.PassengerDrop }}&departuredate={{ .ViewState.booking.Journey.PassengerPickupDate.Format "2006-01-02"}}&departuretime={{ (timeFrom .ViewState.booking.Journey.PassengerPickupDate).Format "15:04"}}&passengerid={{.ViewState.booking.PassengerId}}&solidarity_transport_exclude_driver={{.ViewState.booking.DriverId}}" class="inline-flex"><button type="button"
|
||||||
class="w-full px-4 py-2 border border-transparent text-sm font-medium rounded-2xl shadow-sm bg-white text-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-co-blue">Solliciter un autre conducteur</button></a>
|
class="w-full px-4 py-2 border border-transparent text-sm font-medium rounded-2xl shadow-sm bg-white text-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-co-blue">Solliciter un autre conducteur</button></a>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if eq .ViewState.booking.Status "WAITING_CONFIRMATION" }}
|
{{if eq .ViewState.booking.Status "WAITING_CONFIRMATION" }}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
<script src="https://cdn.jsdelivr.net/npm/@protomaps/basemaps@5/dist/basemaps.js" crossorigin="anonymous"></script>
|
<script src="https://cdn.jsdelivr.net/npm/@protomaps/basemaps@5/dist/basemaps.js" crossorigin="anonymous"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@turf/turf@7/turf.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/@turf/turf@7/turf.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/polyline@0.2.0/src/polyline.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/polyline@0.2.0/src/polyline.js"></script>
|
||||||
|
<meta name=viewport content="width=device-width" />
|
||||||
<!--<script defer type="text/javascript" src="/public/js/main.js" defer></script>-->
|
<!--<script defer type="text/javascript" src="/public/js/main.js" defer></script>-->
|
||||||
</head>
|
</head>
|
||||||
<body class="h-full">
|
<body class="h-full">
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{{ define "content" }}
|
{{ define "content" }}
|
||||||
|
{{$defaultTab := "solidarityService"}}
|
||||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 md:px-8">
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 md:px-8">
|
||||||
<h1 class="text-2xl font-semibold text-gray-900">Transport solidaire</h1>
|
<h1 class="text-2xl font-semibold text-gray-900">Transport solidaire</h1>
|
||||||
|
|
||||||
<div class="bg-white shadow sm:rounded-lg sm:overflow-hidden my-4" x-data="{
|
<div class="bg-white shadow sm:rounded-lg sm:overflow-hidden my-4" x-data="{
|
||||||
tab: 'drivers',
|
tab: '{{or .ViewState.tab $defaultTab}}',
|
||||||
to(event) {
|
to(event) {
|
||||||
this.tab = event.target.value
|
this.tab = event.target.value
|
||||||
}
|
}
|
||||||
@@ -14,6 +14,11 @@
|
|||||||
<div class="hidden sm:block">
|
<div class="hidden sm:block">
|
||||||
<div class="border-b border-gray-200 pl-4">
|
<div class="border-b border-gray-200 pl-4">
|
||||||
<nav class="-mb-px flex space-x-8" aria-label="Tabs">
|
<nav class="-mb-px flex space-x-8" aria-label="Tabs">
|
||||||
|
<a href="#" @click="tab = 'solidarityService'"
|
||||||
|
class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
|
||||||
|
:class="tab == 'solidarityService' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
||||||
|
Trajets </a>
|
||||||
|
|
||||||
<a href="#" @click="tab = 'drivers'"
|
<a href="#" @click="tab = 'drivers'"
|
||||||
class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
|
class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
|
||||||
:class="tab == 'drivers' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
:class="tab == 'drivers' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
||||||
@@ -24,11 +29,6 @@
|
|||||||
:class="tab == 'beneficiaries' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
:class="tab == 'beneficiaries' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
||||||
Bénéficiaires </a>-->
|
Bénéficiaires </a>-->
|
||||||
|
|
||||||
<a href="#" @click="tab = 'solidarityService'"
|
|
||||||
class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
|
|
||||||
:class="tab == 'solidarityService' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
|
||||||
Trajets </a>
|
|
||||||
|
|
||||||
<a href="#" @click="tab = 'solidarityHistory'"
|
<a href="#" @click="tab = 'solidarityHistory'"
|
||||||
class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
|
class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
|
||||||
:class="tab == 'solidarityHistory' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
:class="tab == 'solidarityHistory' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
/*! tailwindcss v4.0.8 | MIT License | https://tailwindcss.com */
|
/*! tailwindcss v4.0.9 | MIT License | https://tailwindcss.com */
|
||||||
@layer theme, base, components, utilities;
|
@layer theme, base, components, utilities;
|
||||||
@layer theme {
|
@layer theme {
|
||||||
:root, :host {
|
:root, :host {
|
||||||
--font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
||||||
'Noto Color Emoji';
|
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||||
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
||||||
monospace;
|
"Courier New", monospace;
|
||||||
--color-red-500: oklch(0.637 0.237 25.331);
|
--color-red-500: oklch(0.637 0.237 25.331);
|
||||||
--color-green-100: oklch(0.962 0.044 156.743);
|
--color-green-100: oklch(0.962 0.044 156.743);
|
||||||
--color-green-800: oklch(0.448 0.119 151.328);
|
--color-green-800: oklch(0.448 0.119 151.328);
|
||||||
@@ -67,12 +67,18 @@
|
|||||||
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
--default-font-family: var(--font-sans);
|
--default-font-family: var(--font-sans);
|
||||||
--default-font-feature-settings: var(--font-sans--font-feature-settings);
|
--default-font-feature-settings: var(--font-sans--font-feature-settings);
|
||||||
--default-font-variation-settings: var(--font-sans--font-variation-settings);
|
--default-font-variation-settings: var(
|
||||||
|
--font-sans--font-variation-settings
|
||||||
|
);
|
||||||
--default-mono-font-family: var(--font-mono);
|
--default-mono-font-family: var(--font-mono);
|
||||||
--default-mono-font-feature-settings: var(--font-mono--font-feature-settings);
|
--default-mono-font-feature-settings: var(
|
||||||
--default-mono-font-variation-settings: var(--font-mono--font-variation-settings);
|
--font-mono--font-feature-settings
|
||||||
--color-co-blue: #00727e;
|
);
|
||||||
--color-co-red: #de1581;
|
--default-mono-font-variation-settings: var(
|
||||||
|
--font-mono--font-variation-settings
|
||||||
|
);
|
||||||
|
--color-co-blue: #243887;
|
||||||
|
--color-co-red: #ff1300;
|
||||||
--color-co-green: #6cc11f;
|
--color-co-green: #6cc11f;
|
||||||
--color-co-yellow: #ffdd00;
|
--color-co-yellow: #ffdd00;
|
||||||
--radius-co: 40%;
|
--radius-co: 40%;
|
||||||
@@ -89,9 +95,9 @@
|
|||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
tab-size: 4;
|
tab-size: 4;
|
||||||
font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' );
|
font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" );
|
||||||
font-feature-settings: var(--default-font-feature-settings, normal);
|
font-feature-settings: var(--default-font-feature-settings, normal);
|
||||||
font-variation-settings: var(--default-font-variation-settings, normal);
|
font-variation-settings: var( --default-font-variation-settings, normal );
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
@@ -119,9 +125,9 @@
|
|||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
}
|
}
|
||||||
code, kbd, samp, pre {
|
code, kbd, samp, pre {
|
||||||
font-family: var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace );
|
font-family: var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace );
|
||||||
font-feature-settings: var(--default-mono-font-feature-settings, normal);
|
font-feature-settings: var( --default-mono-font-feature-settings, normal );
|
||||||
font-variation-settings: var(--default-mono-font-variation-settings, normal);
|
font-variation-settings: var( --default-mono-font-variation-settings, normal );
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
small {
|
small {
|
||||||
@@ -209,13 +215,13 @@
|
|||||||
:-moz-ui-invalid {
|
:-moz-ui-invalid {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
|
button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
|
||||||
appearance: button;
|
appearance: button;
|
||||||
}
|
}
|
||||||
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
|
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
[hidden]:where(:not([hidden='until-found'])) {
|
[hidden]:where(:not([hidden="until-found"])) {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -349,6 +355,9 @@
|
|||||||
.col-span-full {
|
.col-span-full {
|
||||||
grid-column: 1 / -1;
|
grid-column: 1 / -1;
|
||||||
}
|
}
|
||||||
|
.col-start-1 {
|
||||||
|
grid-column-start: 1;
|
||||||
|
}
|
||||||
.col-start-auto {
|
.col-start-auto {
|
||||||
grid-column-start: auto;
|
grid-column-start: auto;
|
||||||
}
|
}
|
||||||
@@ -361,6 +370,9 @@
|
|||||||
.row-span-full {
|
.row-span-full {
|
||||||
grid-row: 1 / -1;
|
grid-row: 1 / -1;
|
||||||
}
|
}
|
||||||
|
.row-start-1 {
|
||||||
|
grid-row-start: 1;
|
||||||
|
}
|
||||||
.row-start-auto {
|
.row-start-auto {
|
||||||
grid-row-start: auto;
|
grid-row-start: auto;
|
||||||
}
|
}
|
||||||
@@ -451,6 +463,9 @@
|
|||||||
.-mx-4 {
|
.-mx-4 {
|
||||||
margin-inline: calc(var(--spacing) * -4);
|
margin-inline: calc(var(--spacing) * -4);
|
||||||
}
|
}
|
||||||
|
.mx-2 {
|
||||||
|
margin-inline: calc(var(--spacing) * 2);
|
||||||
|
}
|
||||||
.mx-auto {
|
.mx-auto {
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
}
|
}
|
||||||
@@ -652,6 +667,10 @@
|
|||||||
.aspect-square {
|
.aspect-square {
|
||||||
aspect-ratio: 1 / 1;
|
aspect-ratio: 1 / 1;
|
||||||
}
|
}
|
||||||
|
.size-5 {
|
||||||
|
width: calc(var(--spacing) * 5);
|
||||||
|
height: calc(var(--spacing) * 5);
|
||||||
|
}
|
||||||
.h-0 {
|
.h-0 {
|
||||||
height: calc(var(--spacing) * 0);
|
height: calc(var(--spacing) * 0);
|
||||||
}
|
}
|
||||||
@@ -1892,6 +1911,9 @@
|
|||||||
.p-4 {
|
.p-4 {
|
||||||
padding: calc(var(--spacing) * 4);
|
padding: calc(var(--spacing) * 4);
|
||||||
}
|
}
|
||||||
|
.p-10 {
|
||||||
|
padding: calc(var(--spacing) * 10);
|
||||||
|
}
|
||||||
.p-12 {
|
.p-12 {
|
||||||
padding: calc(var(--spacing) * 12);
|
padding: calc(var(--spacing) * 12);
|
||||||
}
|
}
|
||||||
@@ -1913,6 +1935,9 @@
|
|||||||
.py-1 {
|
.py-1 {
|
||||||
padding-block: calc(var(--spacing) * 1);
|
padding-block: calc(var(--spacing) * 1);
|
||||||
}
|
}
|
||||||
|
.py-1\.5 {
|
||||||
|
padding-block: calc(var(--spacing) * 1.5);
|
||||||
|
}
|
||||||
.py-2 {
|
.py-2 {
|
||||||
padding-block: calc(var(--spacing) * 2);
|
padding-block: calc(var(--spacing) * 2);
|
||||||
}
|
}
|
||||||
@@ -1967,6 +1992,9 @@
|
|||||||
.pr-4 {
|
.pr-4 {
|
||||||
padding-right: calc(var(--spacing) * 4);
|
padding-right: calc(var(--spacing) * 4);
|
||||||
}
|
}
|
||||||
|
.pr-8 {
|
||||||
|
padding-right: calc(var(--spacing) * 8);
|
||||||
|
}
|
||||||
.pr-9 {
|
.pr-9 {
|
||||||
padding-right: calc(var(--spacing) * 9);
|
padding-right: calc(var(--spacing) * 9);
|
||||||
}
|
}
|
||||||
@@ -2073,6 +2101,10 @@
|
|||||||
font-size: var(--text-xs);
|
font-size: var(--text-xs);
|
||||||
line-height: var(--tw-leading, var(--text-xs--line-height));
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
||||||
}
|
}
|
||||||
|
.text-sm\/6 {
|
||||||
|
font-size: var(--text-sm);
|
||||||
|
line-height: calc(var(--spacing) * 6);
|
||||||
|
}
|
||||||
.leading-4 {
|
.leading-4 {
|
||||||
--tw-leading: calc(var(--spacing) * 4);
|
--tw-leading: calc(var(--spacing) * 4);
|
||||||
line-height: calc(var(--spacing) * 4);
|
line-height: calc(var(--spacing) * 4);
|
||||||
@@ -2466,6 +2498,16 @@
|
|||||||
outline-style: var(--tw-outline-style);
|
outline-style: var(--tw-outline-style);
|
||||||
outline-width: 1px;
|
outline-width: 1px;
|
||||||
}
|
}
|
||||||
|
.outline-1 {
|
||||||
|
outline-style: var(--tw-outline-style);
|
||||||
|
outline-width: 1px;
|
||||||
|
}
|
||||||
|
.-outline-offset-1 {
|
||||||
|
outline-offset: calc(1px * -1);
|
||||||
|
}
|
||||||
|
.outline-gray-300 {
|
||||||
|
outline-color: var(--color-gray-300);
|
||||||
|
}
|
||||||
.blur {
|
.blur {
|
||||||
--tw-blur: blur(8px);
|
--tw-blur: blur(8px);
|
||||||
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
||||||
@@ -2756,6 +2798,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.placeholder\:text-gray-400 {
|
||||||
|
&::placeholder {
|
||||||
|
color: var(--color-gray-400);
|
||||||
|
}
|
||||||
|
}
|
||||||
.focus-within\:text-gray-600 {
|
.focus-within\:text-gray-600 {
|
||||||
&:focus-within {
|
&:focus-within {
|
||||||
color: var(--color-gray-600);
|
color: var(--color-gray-600);
|
||||||
@@ -2970,6 +3017,22 @@
|
|||||||
--tw-ring-offset-color: var(--color-gray-100);
|
--tw-ring-offset-color: var(--color-gray-100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.focus\:outline-2 {
|
||||||
|
&:focus {
|
||||||
|
outline-style: var(--tw-outline-style);
|
||||||
|
outline-width: 2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.focus\:-outline-offset-2 {
|
||||||
|
&:focus {
|
||||||
|
outline-offset: calc(2px * -1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.focus\:outline-indigo-600 {
|
||||||
|
&:focus {
|
||||||
|
outline-color: var(--color-indigo-600);
|
||||||
|
}
|
||||||
|
}
|
||||||
.focus\:outline-none {
|
.focus\:outline-none {
|
||||||
&:focus {
|
&:focus {
|
||||||
--tw-outline-style: none;
|
--tw-outline-style: none;
|
||||||
@@ -2981,6 +3044,22 @@
|
|||||||
--tw-ring-inset: inset;
|
--tw-ring-inset: inset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.focus-visible\:outline-2 {
|
||||||
|
&:focus-visible {
|
||||||
|
outline-style: var(--tw-outline-style);
|
||||||
|
outline-width: 2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.focus-visible\:-outline-offset-2 {
|
||||||
|
&:focus-visible {
|
||||||
|
outline-offset: calc(2px * -1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.focus-visible\:outline-indigo-600 {
|
||||||
|
&:focus-visible {
|
||||||
|
outline-color: var(--color-indigo-600);
|
||||||
|
}
|
||||||
|
}
|
||||||
.disabled\:cursor-not-allowed {
|
.disabled\:cursor-not-allowed {
|
||||||
&:disabled {
|
&:disabled {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
@@ -3086,6 +3165,12 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.sm\:size-4 {
|
||||||
|
@media (width >= 40rem) {
|
||||||
|
width: calc(var(--spacing) * 4);
|
||||||
|
height: calc(var(--spacing) * 4);
|
||||||
|
}
|
||||||
|
}
|
||||||
.sm\:w-auto {
|
.sm\:w-auto {
|
||||||
@media (width >= 40rem) {
|
@media (width >= 40rem) {
|
||||||
width: auto;
|
width: auto;
|
||||||
@@ -3295,6 +3380,12 @@
|
|||||||
line-height: var(--tw-leading, var(--text-sm--line-height));
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.sm\:text-sm\/6 {
|
||||||
|
@media (width >= 40rem) {
|
||||||
|
font-size: var(--text-sm);
|
||||||
|
line-height: calc(var(--spacing) * 6);
|
||||||
|
}
|
||||||
|
}
|
||||||
.md\:fixed {
|
.md\:fixed {
|
||||||
@media (width >= 48rem) {
|
@media (width >= 48rem) {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@@ -3533,6 +3624,61 @@
|
|||||||
background-color: var(--color-gray-800);
|
background-color: var(--color-gray-800);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.dark\:bg-white\/5 {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
background-color: color-mix(in oklab, var(--color-white) 5%, transparent);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.dark\:text-gray-400 {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
color: var(--color-gray-400);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.dark\:text-white {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
color: var(--color-white);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.dark\:outline-white\/10 {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
outline-color: color-mix(in oklab, var(--color-white) 10%, transparent);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.dark\:\*\:bg-gray-800 {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:is(& > *) {
|
||||||
|
background-color: var(--color-gray-800);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.dark\:placeholder\:text-gray-500 {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
&::placeholder {
|
||||||
|
color: var(--color-gray-500);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.dark\:focus\:outline-co-blue {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
&:focus {
|
||||||
|
outline-color: var(--color-co-blue);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.dark\:focus-visible\:outline-co-blue {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
&:focus-visible {
|
||||||
|
outline-color: var(--color-co-blue);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.dark\:focus-visible\:outline-indigo-500 {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
&:focus-visible {
|
||||||
|
outline-color: var(--color-indigo-500);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Manometer";
|
font-family: "Manometer";
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 57 KiB |
@@ -1,91 +1 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 374.2 33.2"><defs><style>.cls-1{fill:#ff1300;}.cls-2{fill:#fff;}</style></defs><g id="Calque_2" data-name="Calque 2"><g id="Calque_1-2" data-name="Calque 1"><path class="cls-1" d="M300.9.6a4.7,4.7,0,0,1,4.9,4.9V32.6h-8.6a4.7,4.7,0,0,1-4.9-4.9V14.1h-.9c-.6,0-1,.6-1,1.5v17H282a4.7,4.7,0,0,1-4.9-4.9V14.1h-1a1.4,1.4,0,0,0-.9,1.5v17H263a1.2,1.2,0,0,1-1.2-1.2V5.5A4.7,4.7,0,0,1,266.7.6h17.9l-.7,5a.9.9,0,0,0,.7,1.1.9.9,0,0,0,1-.8l.8-4.6a.9.9,0,0,1,.9-.7Z"/><path class="cls-1" d="M341.1,16.4c0,9.1-1.9,16.8-16.5,16.8S307.8,25,307.8,16.4,310.6,0,324.6,0,341.1,7.8,341.1,16.4Z"/><path class="cls-1" d="M344.3,32.6a1.2,1.2,0,0,1-1.2-1.2V1.8A1.2,1.2,0,0,1,344.3.6h18.8c6.9,0,10.4,2.9,10.4,8.1s-1.6,6.9-4.5,7.5h0c2.9.6,5.2,3.2,5.2,7.7s-3.5,8.6-10.4,8.6Z"/><path class="cls-2" d="M16.2,11.6c0-.6-.4-.9-1-.9h-.8V31.4a1.2,1.2,0,0,1-1.2,1.2H1.2A1.2,1.2,0,0,1,0,31.4V1.8A1.2,1.2,0,0,1,1.2.6H16.8C25.7.6,30.9,4.2,31,10.7s-4.1,9.9-9.4,10H16.1Z"/><path class="cls-2" d="M44.9,23.1H43.2L40,31.9a1.1,1.1,0,0,1-1.2.7H26.9a1.3,1.3,0,0,1-1.3-1.9L37,3.4A4.5,4.5,0,0,1,41.3.6h5.8a4.1,4.1,0,0,1,4,2.6L62.6,30.8c.5,1-.2,1.8-1.3,1.8H41.7Z"/><path class="cls-2" d="M66.1,32.6a1.2,1.2,0,0,1-1.2-1.2V1.8A1.2,1.2,0,0,1,66.1.6H83.2C92.7.6,95.5,7,95.6,12.3c0,3.3-.8,6.9-3.4,8.3l3.4,12H84.4c-2.3,0-5.2-.7-5.9-2.7L71.9,10.7a1,1,0,0,0-1.2-.7,1,1,0,0,0-.5,1.3l7.2,21.3Z"/><path class="cls-2" d="M129.6,17.1c.8,0,1.3.5,1.2,1.2-.2,8.3-2.9,14.9-16.4,14.9-15.8.1-16.8-8.2-16.8-16.8S100.5,0,114.4,0c15.7,0,16.5,8,16.5,15.4H115.3V11.3c0-.8-.4-1.2-1-1.2s-.9.4-.9,1.2V21.9c0,.9.4,1.2.9,1.2s1-.3,1-1.2V17.1Z"/><path class="cls-2" d="M166.2,16.4c0,9.1-2,16.8-16.6,16.8S132.8,25,132.8,16.4,135.7,0,149.6,0,166.2,7.8,166.2,16.4Z"/><path class="cls-2" d="M200.5,1.8V12.2c0,12.7-1.4,21-16.3,21s-16-8.4-16-20.9V1.8A1.2,1.2,0,0,1,169.4.6h13a.9.9,0,0,1,.9.9V21.8c0,.9.4,1.2,1,1.2s.9-.3.9-1.2V1.5a.9.9,0,0,1,.9-.9h13.1A1.2,1.2,0,0,1,200.5,1.8Z"/><path class="cls-2" d="M203.9,32.6a1.2,1.2,0,0,1-1.3-1.2V1.8A1.2,1.2,0,0,1,203.8.6h17.1c9.5,0,12.3,6.4,12.4,11.7,0,3.3-.8,6.9-3.4,8.3l3.4,12H222.1c-2.3,0-5.2-.7-5.9-2.7l-6.6-19.2a1,1,0,0,0-1.2-.7,1,1,0,0,0-.5,1.3l7.2,21.3Z"/><path class="cls-2" d="M235.8,29.2v-10a1,1,0,0,1,1.5-1l11.1,5.1a1,1,0,0,0,1.2-.4.9.9,0,0,0-.6-1.2l-9.3-4.4c-4.5-2.2-4.4-5.5-4.4-8.2,0-7.6,7.4-9.1,14.6-9.1,5.4,0,12.1,1.8,14.3,4.4v9.2a1,1,0,0,1-1.5,1L252.3,9.8a1,1,0,0,0-1.3.4q-.3.8.6,1.2l8.5,4.1c5.3,2.6,4.7,4.9,4.7,9.2s-6.3,8.5-14.9,8.5C244.7,33.2,238,31.6,235.8,29.2Z"/></g></g></svg>
|
||||||
<svg
|
|
||||||
viewBox="0 0 374.2 33.2"
|
|
||||||
version="1.1"
|
|
||||||
id="svg30"
|
|
||||||
sodipodi:docname="main_logo.svg"
|
|
||||||
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg">
|
|
||||||
<sodipodi:namedview
|
|
||||||
id="namedview32"
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#000000"
|
|
||||||
borderopacity="0.25"
|
|
||||||
inkscape:showpageshadow="2"
|
|
||||||
inkscape:pageopacity="0.0"
|
|
||||||
inkscape:pagecheckerboard="0"
|
|
||||||
inkscape:deskcolor="#d1d1d1"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="4.0700159"
|
|
||||||
inkscape:cx="317.93488"
|
|
||||||
inkscape:cy="16.707551"
|
|
||||||
inkscape:window-width="1920"
|
|
||||||
inkscape:window-height="1011"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="0"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:current-layer="Calque_1-2" />
|
|
||||||
<defs
|
|
||||||
id="defs4">
|
|
||||||
<style
|
|
||||||
id="style2">.cls-1{fill:#ff1300;}.cls-2{fill:#fff;}</style>
|
|
||||||
</defs>
|
|
||||||
<g
|
|
||||||
id="Calque_2"
|
|
||||||
data-name="Calque 2">
|
|
||||||
<g
|
|
||||||
id="Calque_1-2"
|
|
||||||
data-name="Calque 1">
|
|
||||||
<path
|
|
||||||
class="cls-1"
|
|
||||||
d="M300.9.6a4.7,4.7,0,0,1,4.9,4.9V32.6h-8.6a4.7,4.7,0,0,1-4.9-4.9V14.1h-.9c-.6,0-1,.6-1,1.5v17H282a4.7,4.7,0,0,1-4.9-4.9V14.1h-1a1.4,1.4,0,0,0-.9,1.5v17H263a1.2,1.2,0,0,1-1.2-1.2V5.5A4.7,4.7,0,0,1,266.7.6h17.9l-.7,5a.9.9,0,0,0,.7,1.1.9.9,0,0,0,1-.8l.8-4.6a.9.9,0,0,1,.9-.7Z"
|
|
||||||
id="path6"
|
|
||||||
style="fill:#ffffff;fill-opacity:1" />
|
|
||||||
<path
|
|
||||||
class="cls-1"
|
|
||||||
d="M341.1,16.4c0,9.1-1.9,16.8-16.5,16.8S307.8,25,307.8,16.4,310.6,0,324.6,0,341.1,7.8,341.1,16.4Z"
|
|
||||||
id="path8"
|
|
||||||
style="fill:#ffffff;fill-opacity:1" />
|
|
||||||
<path
|
|
||||||
class="cls-1"
|
|
||||||
d="M344.3,32.6a1.2,1.2,0,0,1-1.2-1.2V1.8A1.2,1.2,0,0,1,344.3.6h18.8c6.9,0,10.4,2.9,10.4,8.1s-1.6,6.9-4.5,7.5h0c2.9.6,5.2,3.2,5.2,7.7s-3.5,8.6-10.4,8.6Z"
|
|
||||||
id="path10"
|
|
||||||
style="fill:#ffffff;fill-opacity:1" />
|
|
||||||
<path
|
|
||||||
class="cls-2"
|
|
||||||
d="M16.2,11.6c0-.6-.4-.9-1-.9h-.8V31.4a1.2,1.2,0,0,1-1.2,1.2H1.2A1.2,1.2,0,0,1,0,31.4V1.8A1.2,1.2,0,0,1,1.2.6H16.8C25.7.6,30.9,4.2,31,10.7s-4.1,9.9-9.4,10H16.1Z"
|
|
||||||
id="path12" />
|
|
||||||
<path
|
|
||||||
class="cls-2"
|
|
||||||
d="M44.9,23.1H43.2L40,31.9a1.1,1.1,0,0,1-1.2.7H26.9a1.3,1.3,0,0,1-1.3-1.9L37,3.4A4.5,4.5,0,0,1,41.3.6h5.8a4.1,4.1,0,0,1,4,2.6L62.6,30.8c.5,1-.2,1.8-1.3,1.8H41.7Z"
|
|
||||||
id="path14" />
|
|
||||||
<path
|
|
||||||
class="cls-2"
|
|
||||||
d="M66.1,32.6a1.2,1.2,0,0,1-1.2-1.2V1.8A1.2,1.2,0,0,1,66.1.6H83.2C92.7.6,95.5,7,95.6,12.3c0,3.3-.8,6.9-3.4,8.3l3.4,12H84.4c-2.3,0-5.2-.7-5.9-2.7L71.9,10.7a1,1,0,0,0-1.2-.7,1,1,0,0,0-.5,1.3l7.2,21.3Z"
|
|
||||||
id="path16" />
|
|
||||||
<path
|
|
||||||
class="cls-2"
|
|
||||||
d="M129.6,17.1c.8,0,1.3.5,1.2,1.2-.2,8.3-2.9,14.9-16.4,14.9-15.8.1-16.8-8.2-16.8-16.8S100.5,0,114.4,0c15.7,0,16.5,8,16.5,15.4H115.3V11.3c0-.8-.4-1.2-1-1.2s-.9.4-.9,1.2V21.9c0,.9.4,1.2.9,1.2s1-.3,1-1.2V17.1Z"
|
|
||||||
id="path18" />
|
|
||||||
<path
|
|
||||||
class="cls-2"
|
|
||||||
d="M166.2,16.4c0,9.1-2,16.8-16.6,16.8S132.8,25,132.8,16.4,135.7,0,149.6,0,166.2,7.8,166.2,16.4Z"
|
|
||||||
id="path20" />
|
|
||||||
<path
|
|
||||||
class="cls-2"
|
|
||||||
d="M200.5,1.8V12.2c0,12.7-1.4,21-16.3,21s-16-8.4-16-20.9V1.8A1.2,1.2,0,0,1,169.4.6h13a.9.9,0,0,1,.9.9V21.8c0,.9.4,1.2,1,1.2s.9-.3.9-1.2V1.5a.9.9,0,0,1,.9-.9h13.1A1.2,1.2,0,0,1,200.5,1.8Z"
|
|
||||||
id="path22" />
|
|
||||||
<path
|
|
||||||
class="cls-2"
|
|
||||||
d="M203.9,32.6a1.2,1.2,0,0,1-1.3-1.2V1.8A1.2,1.2,0,0,1,203.8.6h17.1c9.5,0,12.3,6.4,12.4,11.7,0,3.3-.8,6.9-3.4,8.3l3.4,12H222.1c-2.3,0-5.2-.7-5.9-2.7l-6.6-19.2a1,1,0,0,0-1.2-.7,1,1,0,0,0-.5,1.3l7.2,21.3Z"
|
|
||||||
id="path24" />
|
|
||||||
<path
|
|
||||||
class="cls-2"
|
|
||||||
d="M235.8,29.2v-10a1,1,0,0,1,1.5-1l11.1,5.1a1,1,0,0,0,1.2-.4.9.9,0,0,0-.6-1.2l-9.3-4.4c-4.5-2.2-4.4-5.5-4.4-8.2,0-7.6,7.4-9.1,14.6-9.1,5.4,0,12.1,1.8,14.3,4.4v9.2a1,1,0,0,1-1.5,1L252.3,9.8a1,1,0,0,0-1.3.4q-.3.8.6,1.2l8.5,4.1c5.3,2.6,4.7,4.9,4.7,9.2s-6.3,8.5-14.9,8.5C244.7,33.2,238,31.6,235.8,29.2Z"
|
|
||||||
id="path26" />
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 2.4 KiB |
@@ -4,9 +4,9 @@ module.exports = {
|
|||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
colors: {
|
colors: {
|
||||||
'co-blue': '#00727e',
|
'co-blue': '#243887',
|
||||||
'co-lightblue': '#907eff',
|
'co-lightblue': '#907eff',
|
||||||
'co-red': '#de1581',
|
'co-red': '#ff1300',
|
||||||
'co-green': '#6cc11f',
|
'co-green': '#6cc11f',
|
||||||
'co-yellow': '#ffdd00',
|
'co-yellow': '#ffdd00',
|
||||||
'co-orange': 'ff5300',
|
'co-orange': 'ff5300',
|
||||||
|
|||||||
Reference in New Issue
Block a user