des trucs
This commit is contained in:
@@ -1,13 +1,4 @@
|
|||||||
{% extends 'main/base.html.twig' %}
|
{% extends 'main/base.html.twig' %}
|
||||||
{% block head %}
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
{% block title %}📣 Sortie.com {{ profile.pseudo }} 🔊{% endblock %}
|
|
||||||
{% block stylesheets %}
|
|
||||||
{{ encore_entry_link_tags('app') }}
|
|
||||||
{% endblock %}
|
|
||||||
</head>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="relative mx-auto md:max-w-xl pt-24 pb-8 min-w-0 break-words">
|
<div class="relative mx-auto md:max-w-xl pt-24 pb-8 min-w-0 break-words">
|
||||||
@@ -46,9 +37,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex flex-row flex-wrap mx-8">
|
<div class="flex flex-col lg:flex-row mx-8 gap-6">
|
||||||
{# Tableau des sorties dont je suis participant #}
|
{# Tableau des sorties dont je suis participant #}
|
||||||
<div class="w-1/2 p-4 shadow-lg rounded-lg">
|
<div class="w-full lg:w-1/2 p-4 shadow-lg rounded-lg overflow-x-auto">
|
||||||
<h4 class="text-start bg-gray-50 items-start justify-start text-base p-2 font-bold uppercase">Mes participations</h4>
|
<h4 class="text-start bg-gray-50 items-start justify-start text-base p-2 font-bold uppercase">Mes participations</h4>
|
||||||
<table class="min-w-full bg-white divide-y divide-gray-200">
|
<table class="min-w-full bg-white divide-y divide-gray-200">
|
||||||
<thead class="bg-gray-50">
|
<thead class="bg-gray-50">
|
||||||
@@ -70,7 +61,7 @@
|
|||||||
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">{{ sortie.dateHeureDebut|date('d/m/Y H:i') }}</td>
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">{{ sortie.dateHeureDebut|date('d/m/Y H:i') }}</td>
|
||||||
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">{{ sortie.duree }}</td>
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">{{ sortie.duree }}</td>
|
||||||
<td class="flex flex-row px-6 py-4 whitespace-nowrap text-base text-gray-900">
|
<td class="flex flex-row px-6 py-4 whitespace-nowrap text-base text-gray-900">
|
||||||
<a href={{ path('sortie_view', { id: sortie.idSortie }) }}>👁️</a>
|
<a href="{{ path('sortie_view', { id: sortie.idSortie }) }}" class="text-green-500">👁️</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -83,7 +74,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{# Tableau des sorties dont je suis organisateur #}
|
{# Tableau des sorties dont je suis organisateur #}
|
||||||
<div class="w-1/2 p-4 shadow-lg rounded-lg">
|
<div class="w-full lg:w-1/2 p-4 shadow-lg rounded-lg overflow-x-auto">
|
||||||
<h4 class="text-start bg-gray-50 items-start justify-start text-base p-2 font-bold uppercase">Mes organisations</h4>
|
<h4 class="text-start bg-gray-50 items-start justify-start text-base p-2 font-bold uppercase">Mes organisations</h4>
|
||||||
<table class="min-w-full bg-white divide-y divide-gray-200">
|
<table class="min-w-full bg-white divide-y divide-gray-200">
|
||||||
<thead class="bg-gray-50">
|
<thead class="bg-gray-50">
|
||||||
@@ -105,7 +96,7 @@
|
|||||||
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">{{ sortie.dateHeureDebut|date('d/m/Y H:i') }}</td>
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">{{ sortie.dateHeureDebut|date('d/m/Y H:i') }}</td>
|
||||||
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">{{ sortie.duree }}</td>
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">{{ sortie.duree }}</td>
|
||||||
<td class="flex flex-row px-6 py-4 whitespace-nowrap text-base text-gray-900">
|
<td class="flex flex-row px-6 py-4 whitespace-nowrap text-base text-gray-900">
|
||||||
<a href={{ path('sortie_view', { id: sortie.idSortie }) }}>👁️</a>
|
<a href="{{ path('sortie_view', { id: sortie.idSortie }) }}" class="text-green-500">👁️</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
Reference in New Issue
Block a user