diff --git a/src/gpxtable/templates/base.html b/src/gpxtable/templates/base.html index 08a8e92..4207d17 100644 --- a/src/gpxtable/templates/base.html +++ b/src/gpxtable/templates/base.html @@ -16,20 +16,8 @@ - - + {% block extrahead -%} + {%- endblock %} @@ -77,47 +65,13 @@ - - + {% block extrabody -%} + {%- endblock %} diff --git a/src/gpxtable/templates/results.html b/src/gpxtable/templates/results.html index 2d872ac..2ddfd94 100644 --- a/src/gpxtable/templates/results.html +++ b/src/gpxtable/templates/results.html @@ -1,24 +1,79 @@ {% extends 'base.html' %} {% block content %} -
-
-

{% block title %} GPXTable Results {% endblock %}

- - {% if format == "html" %} -
- {{ output | safe }} -
- {% elif format == "markdown" %} -

-                    {{- output | safe -}}
-            
- {% else %} -

-                    {{- output | safe -}}
-            
- {% endif %} +
+
+

{% block title %} GPXTable Results {% endblock %}

+ + {% if format == "html" %} +
+ {{ output | safe }} +
+ {% elif format == "markdown" %} +

+                        {{- output | safe -}}
+                
+ {% else %} +

+                        {{- output | safe -}}
+                
+ {% endif %} +
-
+{% endblock %} +{% block extrahead %} + + +{% endblock %} +{% block extrabody %} + + {% endblock %} \ No newline at end of file diff --git a/src/gpxtable/templates/upload.html b/src/gpxtable/templates/upload.html index 6d24a67..dd3b659 100644 --- a/src/gpxtable/templates/upload.html +++ b/src/gpxtable/templates/upload.html @@ -2,96 +2,97 @@ {% block content %}
-
-

{% block title %} GPX Upload {% endblock %}

- {% with messages = get_flashed_messages() %} - {% if messages %} - {% for message in messages %} - - {% endfor %} - {% endif %} - {% endwith %} -
-
-
- - -
-
- or -
-
- - -
-
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
-
- - -
- -
- - -
- -
- - -
-
- - -
-
+
+

{% block title %} GPX Upload {% endblock %}

+ {% with messages = get_flashed_messages() %} + {% if messages %} + {% for message in messages %} + + {% endfor %} + {% endif %} + {% endwith %} +
+
+
+ + +
+
+ or +
+
+ + +
+
+
+

Options

+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+
+{% endblock %} +{% block extrabody %} -{% endblock %} +{% endblock %} \ No newline at end of file