diff --git a/templates/game_dashboard.html b/templates/game_dashboard.html index c391cf33..d780eaf8 100644 --- a/templates/game_dashboard.html +++ b/templates/game_dashboard.html @@ -296,30 +296,9 @@
-

Ajouter un champ

+

Champs existants

+
-
- - - - - - - -
- -

Champs existants

{% if definition.fields %} {% for f in definition.fields %}
@@ -394,37 +373,12 @@
{% endif %}
-

Ajouter une entrée

+

Données enregistrées

+ {% if definition.fields %} + + {% endif %}
{% if definition.fields %} -
- {% for f in definition.fields %} - {% set col = f.name|colname %} - {% if f.type == 'texte' %} - - {% elif f.type == 'texte_long' %} - - {% elif f.type == 'nombre_entier' %} - - {% elif f.type == 'nombre_decimal' %} - - {% elif f.type == 'booleen' %} - - {% elif f.type == 'date' %} - - {% elif f.type == 'relation' %} - - {% endif %} - {% endfor %} - -
- -

Données enregistrées

{% set rows = rows_by_definition[d.id] %} {% if rows %} {% for r in rows %} @@ -493,6 +447,107 @@
+ + + + +{% if definition.fields %} + +{% endif %} {% endfor %}