Commit
·
89c703e
1
Parent(s):
0324409
falto clientscirpt
Browse files
app/templates/ClientScript.html.j2
CHANGED
|
@@ -30,20 +30,34 @@
|
|
| 30 |
</div>
|
| 31 |
{% endif %}
|
| 32 |
|
| 33 |
-
{
|
| 34 |
-
|
| 35 |
-
{"
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
{
|
|
|
|
|
|
|
|
|
|
| 41 |
|
|
|
|
| 42 |
{% if doc.user_interaction %}
|
| 43 |
-
{
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
{% endif %}
|
| 46 |
|
| 47 |
-
{
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
{% endblock %}
|
|
|
|
| 30 |
</div>
|
| 31 |
{% endif %}
|
| 32 |
|
| 33 |
+
{# ------------------------ Campos controlados ------------------------ #}
|
| 34 |
+
{% if doc.fields %}
|
| 35 |
+
{{ ui.table_block("Campos controlados", doc.fields, [
|
| 36 |
+
{"field": "id", "title": "ID"},
|
| 37 |
+
{"field": "label", "title": "Etiqueta"},
|
| 38 |
+
{"field": "type", "title": "Tipo"},
|
| 39 |
+
{"field": "default", "title": "Valor por defecto"}
|
| 40 |
+
]) }}
|
| 41 |
+
{% endif %}
|
| 42 |
|
| 43 |
+
{# ------------------------ Validaciones ------------------------ #}
|
| 44 |
+
{% if doc.validations %}
|
| 45 |
+
{{ ui.list_block("Validaciones", doc.validations) }}
|
| 46 |
+
{% endif %}
|
| 47 |
|
| 48 |
+
{# ------------------------ Interacción con usuario ------------------------ #}
|
| 49 |
{% if doc.user_interaction %}
|
| 50 |
+
{% if doc.user_interaction.messages %}
|
| 51 |
+
{{ ui.list_block("Mensajes al usuario", doc.user_interaction.messages) }}
|
| 52 |
+
{% endif %}
|
| 53 |
+
{% if doc.user_interaction.automatic_changes %}
|
| 54 |
+
{{ ui.list_block("Cambios automáticos", doc.user_interaction.automatic_changes) }}
|
| 55 |
+
{% endif %}
|
| 56 |
{% endif %}
|
| 57 |
|
| 58 |
+
{# ------------------------ Side effects ------------------------ #}
|
| 59 |
+
{% if doc.side_effects %}
|
| 60 |
+
{{ ui.list_block("Side effects", doc.side_effects) }}
|
| 61 |
+
{% endif %}
|
| 62 |
|
| 63 |
{% endblock %}
|