diff --git a/config.yaml b/config.yaml index af8d537..7642553 100644 --- a/config.yaml +++ b/config.yaml @@ -218,8 +218,13 @@ views: solidarity_service: list: files: - - web/layouts/_partials/address_autocomplete.html - web/layouts/solidarity_service/main.html + - web/layouts/solidarity_service/_partials/beneficiary-list.html + - web/layouts/solidarity_service/_partials/driver-list.html + create: + files: + - web/layouts/_partials/address_autocomplete.html + - web/layouts/solidarity_service/_partials/create-booking.html icons: svg: coopgo:parcoursmob/monogram: diff --git a/web/layouts/solidarity_service/_partials/beneficiary-list.html b/web/layouts/solidarity_service/_partials/beneficiary-list.html new file mode 100644 index 0000000..170ae55 --- /dev/null +++ b/web/layouts/solidarity_service/_partials/beneficiary-list.html @@ -0,0 +1,146 @@ +{{define "beneficiary_solidarity_list"}} +
+
+

+ Bénéficiaires Silvermobi +

+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + +
+
+ + +
+
+
+
+
+ + +
+
+
+
+
+
+
+
+{{end}} \ No newline at end of file diff --git a/web/layouts/solidarity_service/_partials/create-booking.html b/web/layouts/solidarity_service/_partials/create-booking.html new file mode 100644 index 0000000..e0b687c --- /dev/null +++ b/web/layouts/solidarity_service/_partials/create-booking.html @@ -0,0 +1,165 @@ +{{define "content"}} +
+
+

+ Transport Solidaire +

+
+
+
+
+
+ +
+ {{ $departureField := "departure" }} + {{ $departureLabel := "Départ" }} + {{ template "address_autocomplete" dict "FieldName" $departureField "FieldLabel" $departureLabel }} + + {{ $destinationField := "destination" }} + {{ $destinationLabel := "Destination" }} + {{ template "address_autocomplete" dict "FieldName" $destinationField "FieldLabel" $destinationLabel }} + +
+
+ +
+ +
+
+
+ +
+
+ +
+ +
+ +
+

+ Sélectionner un Conducteurs +

+
+ +
+
+
+
+ + + + + + +
+
+ + +
+
+
+
+
+

+ + +
+
+
+
+
+
+ +
+{{end}} \ No newline at end of file diff --git a/web/layouts/solidarity_service/_partials/driver-list.html b/web/layouts/solidarity_service/_partials/driver-list.html new file mode 100644 index 0000000..5d3b962 --- /dev/null +++ b/web/layouts/solidarity_service/_partials/driver-list.html @@ -0,0 +1,128 @@ + +{{define "driver_solidarity_list" }} +
+
+ +
+

+ Sélectionner un Conducteurs +

+
+ +
+
+
+
+ + + + + + + +
+
+ + +
+
+
+
+
+

+ + +
+
+
+
+{{end}} \ No newline at end of file diff --git a/web/layouts/solidarity_service/main.html b/web/layouts/solidarity_service/main.html index 3444e40..c751773 100644 --- a/web/layouts/solidarity_service/main.html +++ b/web/layouts/solidarity_service/main.html @@ -5,286 +5,43 @@ Transport Solidaire -
-
-
-
-
-
-

- Bénéficiaires -

-
-
-
-
-
- - - - - -
-
- - -
-
-
-
-
-
-
-
-

Sélectionner un Passager

-
- {{ $departureField := "departure" }} - {{ $departureLabel := "Départ" }} - {{ template "address_autocomplete" dict "FieldName" $departureField "FieldLabel" $departureLabel }} - - {{ $destinationField := "destination" }} - {{ $destinationLabel := "Destination" }} - {{ template "address_autocomplete" dict "FieldName" $destinationField "FieldLabel" $destinationLabel }} - -
-
- -
- -
-
-
- - -
+
+
+
+
+ - -
- -
- -
-

- Sélectionner un Conducteurs -

-
- -
-
-
-
- - - - - - -
-
- - -
-
-
-
-
-

- - -
-
-
-
+ +
{{template "beneficiary_solidarity_list" .}}
+
{{template "driver_solidarity_list" .}}
+
{{template "beneficiary_solidarity_list" .}}
+
+
{{end}} \ No newline at end of file