From 625e7b1a6f9b9bfdb21fff4b1e73a1ac4915acce Mon Sep 17 00:00:00 2001 From: Ryan Rix Date: Sat, 1 Jul 2017 19:19:22 -0700 Subject: [PATCH] Basic templates --- kappa123/client/templates/_base.html | 80 ++++++++++------------- kappa123/client/templates/footer.html | 6 +- kappa123/client/templates/header.html | 18 +---- kappa123/client/templates/main/about.html | 29 ++++++++ 4 files changed, 68 insertions(+), 65 deletions(-) diff --git a/kappa123/client/templates/_base.html b/kappa123/client/templates/_base.html index cad8115..3906152 100644 --- a/kappa123/client/templates/_base.html +++ b/kappa123/client/templates/_base.html @@ -1,66 +1,52 @@ - + +GDQ Quick Schedule {% block title %}{% endblock %} + + + - - - Flask Skeleton{% block title %}{% endblock %} - - - - - - - - {% block css %}{% endblock %} - +{% include 'header.html' %} - +
+
- {% include 'header.html' %} - -
-
- - - {% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} + + {% with messages = get_flashed_messages(with_categories=true) %} + {% if messages %}
{% for category, message in messages %} -
- × - {{message}} -
+
+ × + {{message}} +
{% endfor %}
- {% endif %} - {% endwith %} + {% endif %} + {% endwith %} - - {% block content %}{% endblock %} + + {% block content %}{% endblock %} -
+
- - {% if error %} -

Error: {{ error }}

- {% endif %} + + {% if error %} +

Error: {{ error }}

+ {% endif %} -
-
+
+
-

+

- {% include 'footer.html' %} +{% include 'footer.html' %} - - - - - {% block js %}{% endblock %} - - - + + + + +{% block js %}{% endblock %} diff --git a/kappa123/client/templates/footer.html b/kappa123/client/templates/footer.html index 1f06fde..db2df49 100644 --- a/kappa123/client/templates/footer.html +++ b/kappa123/client/templates/footer.html @@ -1,7 +1,9 @@ \ No newline at end of file + diff --git a/kappa123/client/templates/header.html b/kappa123/client/templates/header.html index 4f7ec8b..4ba836b 100644 --- a/kappa123/client/templates/header.html +++ b/kappa123/client/templates/header.html @@ -2,7 +2,6 @@ - \ No newline at end of file + diff --git a/kappa123/client/templates/main/about.html b/kappa123/client/templates/main/about.html index 7f781e7..c877701 100644 --- a/kappa123/client/templates/main/about.html +++ b/kappa123/client/templates/main/about.html @@ -5,6 +5,35 @@

About

+ +

+ GDQ dot moe allows you to pick the GDQ speedruns you're interested in watching, and provides a + short, easily shareable link with those speedruns listed. Share it with friends, send it to + your phone, do whatever you want with it. +

+

+ GDQ dot moe was built in a frenzied pace hours before Summer Games Done Quick 2017 by Iliana Weller and Ryan Rix. GDQ dot moe is Free and Open Source software, and you can get the live code here, or clone it on GitHub{% extends "_base.html" %} + + {% block content %} + +

+
+

About

+ +

+ GDQ dot moe allows you to pick the GDQ speedruns you're interested in watching, and provides a + short, easily shareable link with those speedruns listed. Share it with friends, send it to + your phone, do whatever you want with it. +

+

+ GDQ dot moe was built in a frenzied pace hours before Summer Games Done Quick 2017 by Iliana Weller and Ryan Rix. GDQ dot moe is Free and Open Source software, and you can get the live code here, or clone it on GitHub. +

+
+
+ + {% endblock %} + . +