{% extends 'members/admin/admin_template.html.twig' %} {% block stylesheets %} {{ parent() }} #games_layout { min-height: 500x; width: 100%; width: 80%; display: flex; flex-direction: column; } .list { width: 100%; height: 400px; margin-bottom: 50px; } .list_header { display: flex; flex-direction: row; height: 30px; width: 100%; margin-bottom: 10px; } .list_header_title, .list_header_label { height: 100%; } .list_header_title { background-color: #ebac4b; flex: 4; border-right: 1px solid; margin-right: 2px; display: flex; flex-direction: row; align-items: center; } .list_header_title h3 { margin-left: 20px; } .list_header_label { flex: 1; margin-left: 2px; display: flex; flex-direction: row; align-items: center; width: 100%; height: 100%; } .list_header_label h3 { margin-left: 20px; } .list_body { display: flex; flex-direction: row; width: 100%; height: 340px; } .list_body_poster, .list_body_description { height: 100%; } .list_body_poster { height: 100%; width:50%; } .list_body_poster img { height: 100%; width:100%; } .list_body_description { height: 100%; width: 50%; margin-left: 20px; } {% endblock %} {% block breadcrumb %} {{ parent() }} > jeux {% endblock %} {% block member_content %}

{{ title }}

{% for game in games %}
{% if game.isAvailable == true %}

disponible

{% else %}

indisponible

{% endif %}
{{ game.code }}

{{ game.description }}

{% endfor %}
{% endblock %} {% block javascript %} {{ parent() }} {% endblock %}