You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/05/10 03:42:19 UTC

[GitHub] mistercrunch closed pull request #4972: superset/import_dashboards.html: Update title, clean up html

mistercrunch closed pull request #4972: superset/import_dashboards.html: Update title, clean up html
URL: https://github.com/apache/incubator-superset/pull/4972
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/superset/templates/superset/import_dashboards.html b/superset/templates/superset/import_dashboards.html
index 383506f984..14c7bd1c85 100644
--- a/superset/templates/superset/import_dashboards.html
+++ b/superset/templates/superset/import_dashboards.html
@@ -8,22 +8,24 @@
   {% endwith %}
 {% endblock %}
 
-{% block title %}{{ _("Import") }}{% endblock %}
+{% block title %}{{ _("Import dashboards") }}{% endblock %}
+
 {% block body %}
-    {% include "superset/flash_wrapper.html" %}
-    <div class="container">
-        <title>Import the dashboards.</title>
-        <h1>Import the dashboards.</h1>
-        <form method=post enctype=multipart/form-data>
-          <input
-            type="hidden"
-            name="csrf_token"
-            id="csrf_token"
-            value="{{ csrf_token() if csrf_token else '' }}"
-          >
-          <p><input type=file name=file>
-             <input type=submit value=Upload>
-          </p>
-        </form>
-    </div>
+  {% include "superset/flash_wrapper.html" %}
+
+  <div class="container">
+    <h1>Import dashboards</h1>
+
+    <form method="post" enctype="multipart/form-data">
+      <input
+      type="hidden"
+      name="csrf_token"
+      id="csrf_token"
+      value="{{ csrf_token() if csrf_token else '' }}" />
+      <p>
+        <input type="file" name="file" />
+        <input type="submit" value="Upload" class="btn" />
+      </p>
+    </form>
+  </div>
 {% endblock %}


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org