{% extends "base.html" %} {% block title %}Écrans — {{ game.name }}{% endblock %} {% block content_class %}content-wide content-objectEdit{% endblock %} {% block body_class %}objectEditBody{% endblock %} {% block breadcrumb %}
  • {{ game.name }}
  • Écrans
  • {% endblock %} {% block content %}

    Écrans du jeu

    {% if request.args.get('blocked_screen') %}
    ⚠️ Suppression impossible : au moins un autre écran a un bouton qui cible précisément celui-ci. Retire d'abord cette action.
    {% endif %}

    Créer

    Enchaînement des écrans

    {% if screen_list %}
    {% for s in screen_list %} {% endfor %}
    #Nom
    {{ loop.index }} {{ s.name }} {% if loop.first %} ★ Départ{% endif %}
    ✏️
    {% else %}

    Aucun écran pour l'instant — crée le premier à gauche.

    {% endif %}
    {% endblock %}