airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From san...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-570] Pass root to date form on gantt
Date Mon, 14 Nov 2016 06:25:26 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master 910c0ddd7 -> 1944eee62


[AIRFLOW-570] Pass root to date form on gantt

Closes #1837 from forklady42/gantt-root


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/1944eee6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/1944eee6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/1944eee6

Branch: refs/heads/master
Commit: 1944eee62efb93d36e664814549f678c8dcad6e9
Parents: 910c0dd
Author: Betsy Cannon <betsy@stripe.com>
Authored: Mon Nov 14 06:25:11 2016 +0000
Committer: Siddharth Anand <siddharthanand@yahoo.com>
Committed: Mon Nov 14 06:25:11 2016 +0000

----------------------------------------------------------------------
 airflow/www/templates/airflow/gantt.html | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/1944eee6/airflow/www/templates/airflow/gantt.html
----------------------------------------------------------------------
diff --git a/airflow/www/templates/airflow/gantt.html b/airflow/www/templates/airflow/gantt.html
index db1c551..ecf9b6d 100644
--- a/airflow/www/templates/airflow/gantt.html
+++ b/airflow/www/templates/airflow/gantt.html
@@ -1,13 +1,13 @@
-{# 
+{#
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
-  
+
     http://www.apache.org/licenses/LICENSE-2.0
-  
+
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -31,6 +31,7 @@
     Run:<input type="hidden" value="{{ dag.dag_id }}" name="dag_id">
     {{ form.execution_date(class_="form-control") | safe }}
     <input type="submit" value="Go" class="btn btn-default" action="" method="get">
+    <input type="hidden" name="root" value="{{ root if root else '' }}">
     <input name="_csrf_token" type="hidden" value="{{ csrf_token() }}">
   </div>
 </form>


Mime
View raw message