| {% extends "base.html.j2" %} | |
| {% import "components.html.j2" as ui %} | |
| {% block content %} | |
| <h1>Scheduled Script 路 {{ doc.metadata.description or doc.metadata.script_type }}</h1> | |
| <p class="muted">Procesos peri贸dicos y lotes programados.</p> | |
| {{ ui.metadata_block(doc.metadata) }} | |
| {{ ui.summary_block(doc.summary) }} | |
| {% if doc.input_data %} | |
| <div class="section"> | |
| <h2>Entrada</h2> | |
| <p>{{ doc.input_data.details }}</p> | |
| {{ ui.table_block("Par谩metros", doc.input_data.parameters, [ | |
| {"field": "id", "title": "Par谩metro"}, | |
| {"field": "description", "title": "Descripci贸n"} | |
| ]) }} | |
| {{ ui.table_block("Filtros", doc.input_data.filters, [ | |
| {"field": "field", "title": "Campo"}, | |
| {"field": "operator", "title": "Operador"}, | |
| {"field": "value", "title": "Valor"} | |
| ]) }} | |
| {{ ui.table_block("Columnas", doc.input_data.columns, [ | |
| {"field": "name", "title": "Nombre"}, | |
| {"field": "label", "title": "Etiqueta"} | |
| ]) }} | |
| </div> | |
| {% endif %} | |
| {% if doc.logic %} | |
| <div class="section"> | |
| <h2>L贸gica</h2> | |
| <p>{{ doc.logic.steps }}</p> | |
| {{ ui.list_block("Bucles", doc.logic.loops) }} | |
| {{ ui.list_block("Condiciones", doc.logic.conditions) }} | |
| </div> | |
| {% endif %} | |
| {{ ui.table_block("Operaciones con registros", doc.record_operations, [ | |
| {"field": "type", "title": "Operaci贸n"}, | |
| {"field": "record", "title": "Record"}, | |
| {"field": "details", "title": "Detalles"} | |
| ]) }} | |
| {{ ui.table_block("B煤squedas", doc.searches, [ | |
| {"field": "type", "title": "Tipo"}, | |
| {"field": "filters", "title": "Filtros"}, | |
| {"field": "columns", "title": "Columnas"} | |
| ]) }} | |
| {% if doc.governance %} | |
| <div class="section"> | |
| <h2>Governance</h2> | |
| <p>Usage checks: {{ doc.governance.usage_checks }}</p> | |
| <p>Yielding: {{ doc.governance.yielding }}</p> | |
| <p>Task rescheduling: {{ doc.governance.task_rescheduling }}</p> | |
| </div> | |
| {% endif %} | |
| {{ ui.table_block("Errores", doc.errors, [ | |
| {"field": "scenario", "title": "Escenario"}, | |
| {"field": "handling", "title": "Manejo"} | |
| ]) }} | |
| {{ ui.list_block("Side effects", doc.side_effects) }} | |
| {% endblock %} | |