From b81e8026cc0683bc66dc56d82cb88085224d0d74 Mon Sep 17 00:00:00 2001 From: Dat Nguyen Date: Mon, 2 Dec 2019 11:58:10 -0600 Subject: final styling? --- Web/Server/templates/base.html | 5 +---- Web/Server/templates/index.html | 16 +++++----------- Web/Server/templates/results.html | 4 +++- 3 files changed, 9 insertions(+), 16 deletions(-) (limited to 'Web/Server/templates') diff --git a/Web/Server/templates/base.html b/Web/Server/templates/base.html index e253819..a1bc09b 100644 --- a/Web/Server/templates/base.html +++ b/Web/Server/templates/base.html @@ -10,9 +10,6 @@ -
-
-

By Alin Butoi, Paul D’Amico, Dat Nguyen, Ross Olson, Rachel Schow
@@ -42,7 +39,7 @@
-
+
{% block content %} default content {% endblock %} diff --git a/Web/Server/templates/index.html b/Web/Server/templates/index.html index 730d6c5..6f7e738 100644 --- a/Web/Server/templates/index.html +++ b/Web/Server/templates/index.html @@ -2,17 +2,11 @@ {% block content %}
-

Upload a python file onto the Inverted Pendulum

+

Upload a python file onto the inverted pendulum

- {% with messages = get_flashed_messages() %} - {% if messages %} -

    - {% for message in messages %} -
  • {{ message }}
  • - {% endfor %} -
+ {% if error %} +

{{ error }}

{% endif %} - {% endwith %}

@@ -22,11 +16,11 @@

- +

-
+
{% endblock %} diff --git a/Web/Server/templates/results.html b/Web/Server/templates/results.html index 5714f96..dd32d87 100644 --- a/Web/Server/templates/results.html +++ b/Web/Server/templates/results.html @@ -1,11 +1,13 @@ {% extends "base.html" %} {% block content %} +
+
- +
{% endblock %} \ No newline at end of file -- cgit v1.2.3