Display parking space info

This commit is contained in:
Adrian Woźniak 2023-10-10 16:52:50 +02:00
parent 4ed2eaa1ad
commit 34b31f6677
3 changed files with 26 additions and 1 deletions

View File

@ -805,6 +805,10 @@ select {
margin-bottom: 1.5rem;
}
.ml-1 {
margin-left: 0.25rem;
}
.mr-1 {
margin-right: 0.25rem;
}

View File

@ -1,7 +1,7 @@
<section id="main-view" class="lg:min-h-ffh xl:min-h-ffhl flex items-top justify-center">
<section>
<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 class="max-w-md w-full p-6 bg-white rounded-lg shadow-lg">
<form

View File

@ -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>