Compare commits
3 Commits
583027422c
...
fixMultipl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0bf315596b | ||
| b89b8064c5 | |||
|
|
0f4d0e1e5b |
@@ -223,11 +223,13 @@
|
|||||||
</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" >
|
||||||
<button @click="documentsdialog=false" type="button" class="inline-flex w-full justify-center max-w-xs bg-white hover:bg-gray-50 border-gray-300 border px-4 py-2 text-gray-700 items-center text-sm rounded-2xl focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-co-blue">Annuler</button>
|
<button @click="documentsdialog=false" type="button" class="inline-flex w-full justify-center max-w-xs bg-white hover:bg-gray-50 border-gray-300 border px-4 py-2 text-gray-700 items-center text-sm rounded-2xl focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-co-blue">Annuler</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -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}}
|
||||||
@@ -72,7 +80,7 @@
|
|||||||
{{range .Bookings}}
|
{{range .Bookings}}
|
||||||
{{if ne .Status -1}}
|
{{if ne .Status -1}}
|
||||||
{{ $allAvailable = false }}
|
{{ $allAvailable = false }}
|
||||||
{{ break }}
|
{{break}}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if $allAvailable}}
|
{{if $allAvailable}}
|
||||||
|
|||||||
Reference in New Issue
Block a user