des trucs
This commit is contained in:
@@ -110,9 +110,6 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<button type="button" id="generate-image" class="modern-button mt-2">
|
||||
Générer une image
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -121,10 +118,7 @@
|
||||
<label for="sortie_lieu">Lieu</label>
|
||||
<div class="flex items-center space-x-2">
|
||||
{{ form_widget(form.lieu, { 'attr': { 'class': 'block w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500', 'id': 'lieu-select' } }) }}
|
||||
<button type="button" id="add-lieu-button" class="modern-button">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" class="w-5 h-5">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4" />
|
||||
</svg>
|
||||
<button type="button" id="add-lieu-button" class="btnThird">
|
||||
Ajouter
|
||||
</button>
|
||||
</div>
|
||||
@@ -154,10 +148,10 @@
|
||||
</div>
|
||||
|
||||
<div class="mt-6 flex justify-center space-x-4">
|
||||
<button type="submit" name="action" value="save" class="px-6 py-3 bg-green-500 text-white rounded-lg shadow hover:bg-green-600 focus:outline-none focus:ring-2 focus:ring-green-300">
|
||||
<button type="submit" name="action" value="save" class="btnPrimary">
|
||||
Enregistrer
|
||||
</button>
|
||||
<a href="{{ path('home') }}" class="px-6 py-3 bg-gray-500 text-white rounded-lg shadow hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-gray-300">
|
||||
<a href="{{ path('home') }}" class="btnAnnule">
|
||||
Annuler
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -71,10 +71,10 @@
|
||||
</div>
|
||||
|
||||
<div class="flex justify-end mt-8 space-x-4">
|
||||
<a href="{{ path('sortie_view', { id: sortie.getIdSortie() }) }}" class="px-6 py-3 bg-gray-500 text-white rounded-lg shadow-md hover:bg-gray-600">
|
||||
<a href="{{ path('sortie_view', { id: sortie.getIdSortie() }) }}" class="btnAnnule">
|
||||
❌ Annuler
|
||||
</a>
|
||||
<button type="submit" class="px-6 py-3 bg-blue-500 text-white rounded-lg shadow-md hover:bg-blue-600">
|
||||
<button type="submit" class="btnPrimary">
|
||||
💾 Enregistrer
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
|
||||
<!-- Bouton de filtrage -->
|
||||
<div class="mt-6 flex justify-end">
|
||||
<button type="submit" class="px-6 py-2 bg-blue-500 text-white rounded-md shadow hover:bg-blue-600">
|
||||
<button type="submit" class="btnPrimary">
|
||||
🔎 Filtrer
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
{% if app.user and sortie.etat.libelle == 'Ouverte' and not sortie.participants.contains(app.user) and date(sortie.dateLimiteInscription) > date() %}
|
||||
<form action="{{ path('sortie_inscription', { id: sortie.idSortie }) }}" method="post" class="mt-6">
|
||||
<button type="submit" class="px-6 py-3 bg-green-500 text-white rounded-md shadow hover:bg-green-600">
|
||||
<button type="submit" class="btnPrimary">
|
||||
✅ S'inscrire
|
||||
</button>
|
||||
</form>
|
||||
@@ -88,7 +88,7 @@
|
||||
<p class="text-green-600 font-bold">✅ Vous êtes déjà inscrit à cette sortie.</p>
|
||||
{% if sortie.etat.libelle == 'Ouverte' %}
|
||||
<form action="{{ path('sortie_unsubscribe', { id: sortie.idSortie }) }}" method="post" class="mt-6">
|
||||
<button type="submit" class="px-6 py-3 bg-red-500 text-white rounded-md shadow hover:bg-red-600">
|
||||
<button type="submit" class="btnAnnule">
|
||||
❌ Se désister
|
||||
</button>
|
||||
</form>
|
||||
@@ -102,9 +102,13 @@
|
||||
<button
|
||||
type="button"
|
||||
id="open-delete-modal"
|
||||
class="px-6 py-3 bg-red-500 text-white rounded-md shadow hover:bg-red-600">
|
||||
class="btnAnnule">
|
||||
❌ Annuler la sortie
|
||||
</button>
|
||||
<a href="{{ path('sortie_edit', { id: sortie.idSortie }) }}"
|
||||
class="btnSecondary">
|
||||
✏️ Modifier la sortie
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if sortie.etat.libelle == 'Créée' %}
|
||||
<a href="{{ path('sortie_edit', { id: sortie.idSortie }) }}"
|
||||
@@ -170,7 +174,7 @@
|
||||
</button>
|
||||
<button
|
||||
type="submit"
|
||||
class="px-4 py-2 bg-red-500 text-white rounded-md hover:bg-red-600">
|
||||
class="btnAnnule">
|
||||
Confirmer l'annulation
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user