File size: 2,095 Bytes
7d0c16f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{% 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 %}