Compare commits
3 Commits
583027422c
...
fixMultipl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0bf315596b | ||
| b89b8064c5 | |||
|
|
0f4d0e1e5b |
@@ -223,8 +223,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
<div class="mt-5 sm:mt-6">
|
<div x-data="{
|
||||||
<button type="submit" class="inline-flex w-full justify-center rounded-2xl border border-transparent bg-co-blue px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-co-blue focus:outline-none focus:ring-2 focus:ring-co-blue focus:ring-offset-2 sm:text-sm">Réserver</button>
|
buttondialog: false
|
||||||
|
}"class="mt-5 sm:mt-6" x-show="!buttondialog">
|
||||||
|
<button @click="buttondialog = !buttondialog" type="submit" class="inline-flex w-full justify-center rounded-2xl border border-transparent bg-co-blue px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-co-blue focus:outline-none focus:ring-2 focus:ring-co-blue focus:ring-offset-2 sm:text-sm">Réserver</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<div class="mt-5 sm:mt-6" >
|
<div class="mt-5 sm:mt-6" >
|
||||||
|
|||||||
@@ -48,6 +48,14 @@
|
|||||||
<span class="mt-1 p-1 bg-gray-500 text-white text-xs font-bold rounded-xl" >
|
<span class="mt-1 p-1 bg-gray-500 text-white text-xs font-bold rounded-xl" >
|
||||||
Disponible
|
Disponible
|
||||||
</span>
|
</span>
|
||||||
|
{{else if eq .Status 1 }}
|
||||||
|
<span class="mt-1 p-1 bg-co-blue text-white text-xs font-bold rounded-xl" >
|
||||||
|
A venir
|
||||||
|
</span>
|
||||||
|
{{else if eq .Status 0 }}
|
||||||
|
<span class="mt-1 p-1 bg-co-green text-white text-xs font-bold rounded-xl" >
|
||||||
|
En cours
|
||||||
|
</span>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{else if gt (len .Bookings) 1}}
|
{{else if gt (len .Bookings) 1}}
|
||||||
|
|||||||
Reference in New Issue
Block a user