You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/08/13 06:42:51 UTC
[airflow] branch master updated: Use more human readable table
heading labels on DAG details (#10305)
This is an automated email from the ASF dual-hosted git repository.
kamilbregula pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 3b0df4d Use more human readable table heading labels on DAG details (#10305)
3b0df4d is described below
commit 3b0df4dd352676b7dfe6bc453ebdd27e3238b117
Author: Ryan Hamilton <ry...@ryanahamilton.com>
AuthorDate: Thu Aug 13 02:41:54 2020 -0400
Use more human readable table heading labels on DAG details (#10305)
---
airflow/www/templates/airflow/dag_details.html | 104 ++++++++++++-------------
1 file changed, 52 insertions(+), 52 deletions(-)
diff --git a/airflow/www/templates/airflow/dag_details.html b/airflow/www/templates/airflow/dag_details.html
index 2134f8e..c835602 100644
--- a/airflow/www/templates/airflow/dag_details.html
+++ b/airflow/www/templates/airflow/dag_details.html
@@ -22,59 +22,59 @@
{% block page_title %}{{ dag.dag_id }} - DAG Details - Airflow{% endblock %}
{% block content %}
- {{ super() }}
- <h2>{{ title }}</h2>
- <div>
- {% for state, count in states %}
+ {{ super() }}
+ <h2>{{ title }}</h2>
+ <div>
+ {% for state, count in states %}
<a
- class="btn"
- style="border: none; background-color:{{ State.color(state)}}; color: {{ State.color_fg(state) }};"
- href="{{ url_for('TaskInstanceModelView.list', _flt_3_dag_id=dag.dag_id, _flt_3_state=state) }}">
+ class="btn"
+ style="border: none; background-color:{{ State.color(state)}}; color: {{ State.color_fg(state) }};"
+ href="{{ url_for('TaskInstanceModelView.list', _flt_3_dag_id=dag.dag_id, _flt_3_state=state) }}">
{{ state }} <span class="badge">{{ count }}</span>
</a>
- {% endfor %}
- </div>
- <br>
- <table class="table table-striped table-bordered">
- <tr>
- <th>schedule_interval</td>
- <td>{{ dag.schedule_interval }}</td>
- </tr>
- <tr>
- <th>start_date</td>
- <td>{{ dag.start_date }}</td>
- </tr>
- <tr>
- <th>end_date</td>
- <td>{{ dag.end_date }}</td>
- </tr>
- <tr>
- <th>max_active_runs</td>
- <td>{{ active_runs | length }} / {{ dag.max_active_runs }}</td>
- </tr>
- <tr>
- <th>concurrency</td>
- <td>{{ dag.concurrency }}</td>
- </tr>
- <tr>
- <th>default_args</td>
- <td><code>{{ dag.default_args }}</code></td>
- </tr>
- <tr>
- <th>tasks count</td>
- <td>{{ dag.tasks|length }}</td>
- </tr>
- <tr>
- <th>task ids</td>
- <td>{{ dag.task_ids }}</td>
- </tr>
- <tr>
- <th>filepath</td>
- <td>{{ dag.filepath }}</td>
- </tr>
- <tr>
- <th>owner</td>
- <td>{{ dag.owner }}</td>
- </tr>
- </table >
+ {% endfor %}
+ </div>
+ <br>
+ <table class="table table-striped table-bordered">
+ <tr>
+ <th>Schedule Interval</th>
+ <td>{{ dag.schedule_interval }}</td>
+ </tr>
+ <tr>
+ <th>Start Date</th>
+ <td>{{ dag.start_date }}</td>
+ </tr>
+ <tr>
+ <th>End Date</th>
+ <td>{{ dag.end_date }}</td>
+ </tr>
+ <tr>
+ <th>Max Active Runs</th>
+ <td>{{ active_runs | length }} / {{ dag.max_active_runs }}</td>
+ </tr>
+ <tr>
+ <th>Concurrency</th>
+ <td>{{ dag.concurrency }}</td>
+ </tr>
+ <tr>
+ <th>Default Args</th>
+ <td><code>{{ dag.default_args }}</code></td>
+ </tr>
+ <tr>
+ <th>Tasks Count</th>
+ <td>{{ dag.tasks|length }}</td>
+ </tr>
+ <tr>
+ <th>Task IDs</th>
+ <td>{{ dag.task_ids }}</td>
+ </tr>
+ <tr>
+ <th>Filepath</th>
+ <td>{{ dag.filepath }}</td>
+ </tr>
+ <tr>
+ <th>Owner</th>
+ <td>{{ dag.owner }}</td>
+ </tr>
+ </table>
{% endblock %}