Display parking space info
This commit is contained in:
parent
4ed2eaa1ad
commit
34b31f6677
@ -805,6 +805,10 @@ select {
|
|||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ml-1 {
|
||||||
|
margin-left: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
.mr-1 {
|
.mr-1 {
|
||||||
margin-right: 0.25rem;
|
margin-right: 0.25rem;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<section id="main-view" class="lg:min-h-ffh xl:min-h-ffhl flex items-top justify-center">
|
<section id="main-view" class="lg:min-h-ffh xl:min-h-ffhl flex items-top justify-center">
|
||||||
<section>
|
<section>
|
||||||
<div class="max-w-md w-full p-6 bg-white text-lg">
|
<div class="max-w-md w-full p-6 bg-white text-lg">
|
||||||
{% include "../parking-spaces/single_parking_space.html" %}
|
{% include "../parking-spaces/rent_space_info.html" %}
|
||||||
</div>
|
</div>
|
||||||
<div class="max-w-md w-full p-6 bg-white rounded-lg shadow-lg">
|
<div class="max-w-md w-full p-6 bg-white rounded-lg shadow-lg">
|
||||||
<form
|
<form
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
<div class="text-lg font-bold">
|
||||||
|
<span class="text-white-900 truncate dark:text-black">
|
||||||
|
{{location.name}}
|
||||||
|
</span>
|
||||||
|
<span class="text-white-900 truncate dark:text-black">
|
||||||
|
{{location.number}}
|
||||||
|
</span>
|
||||||
|
<span class="text-white-900 truncate dark:text-black">
|
||||||
|
Etap {{location.stage}}
|
||||||
|
</span>
|
||||||
|
<span class="ml-1 mr-1">
|
||||||
|
-
|
||||||
|
</span>
|
||||||
|
<span class="text-white-900 truncate dark:text-black">
|
||||||
|
{% if let Some(spot) = parking_space.spot %}
|
||||||
|
{{spot}}
|
||||||
|
{% else %}
|
||||||
|
&nbps;
|
||||||
|
{% endif %}
|
||||||
|
</span>
|
||||||
|
</div>
|
Loading…
Reference in New Issue
Block a user