From 374ca77b2a7a093537515607d5f10226fef06e29 Mon Sep 17 00:00:00 2001 From: Dat Nguyen Date: Fri, 29 Nov 2019 21:59:28 -0600 Subject: some aesthetics --- Web/Server/templates/base.html | 23 +++++++++++++ Web/Server/templates/index.html | 69 ++++++++++++++++----------------------- Web/Server/templates/results.html | 11 +++++++ 3 files changed, 63 insertions(+), 40 deletions(-) create mode 100644 Web/Server/templates/base.html create mode 100644 Web/Server/templates/results.html (limited to 'Web/Server/templates') diff --git a/Web/Server/templates/base.html b/Web/Server/templates/base.html new file mode 100644 index 0000000..a141c0a --- /dev/null +++ b/Web/Server/templates/base.html @@ -0,0 +1,23 @@ + + + + + + + ANDI'S PIE + + +
+ {% block content %} + default content + {% endblock %} +
+ + \ No newline at end of file diff --git a/Web/Server/templates/index.html b/Web/Server/templates/index.html index 70a282b..1350fdd 100644 --- a/Web/Server/templates/index.html +++ b/Web/Server/templates/index.html @@ -1,43 +1,32 @@ - - - - - - - ANDI'S PIE -
-

Select a file to upload

-

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

- {% endif %} - {% endwith %} -

- -
-
-

- -

-
+{% extends "base.html" %} + +{% block content %} +
+

Select a file to upload

+

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

    + {% for message in messages %} +
  • {{ message }}
  • + {% endfor %} +
+ {% endif %} + {% endwith %} +

+ + +

- +

- -
- -
- - {% if results %} -
- -
- {% endif %} + +

+ +

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