From e494e445819ac95eb11d1689d68409707ef10382 Mon Sep 17 00:00:00 2001 From: Jordan Stremming Date: Sun, 3 Feb 2019 20:25:44 -0600 Subject: [PATCH] Splash page template yay splashy splash! --- app/main.py | 6 ++++ app/templates/main/splash.jinja2 | 50 ++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 app/templates/main/splash.jinja2 diff --git a/app/main.py b/app/main.py index 6107c3a..8410332 100644 --- a/app/main.py +++ b/app/main.py @@ -4,6 +4,12 @@ main_blueprint = Blueprint('main', __name__) @main_blueprint.route('/') +def splash(): + """Splash Page""" + return render_template('main/splash.jinja2') + + +@main_blueprint.route('/home') def index(): """Home/Index Page""" return render_template('main/index.jinja2') diff --git a/app/templates/main/splash.jinja2 b/app/templates/main/splash.jinja2 new file mode 100644 index 0000000..92379ce --- /dev/null +++ b/app/templates/main/splash.jinja2 @@ -0,0 +1,50 @@ +{% extends 'base.jinja2' %} + +{% block title %}Splash{% endblock %} +{% block header %}{% endblock %} +{% block css %} + {{ super() }} + {# override the body and html css to force center #} + +{% endblock %} + +{% block content_before %} +
+
+
+ + +
+
+ +
Electronic Thesis and Dissertation System
+
+ +
+ {# TODO: actually add content here #} +

+ Welcome! +

+

+ Please sign in with CAS to access this system. +

+ + {# TODO: link to CAS sign in #} + + Sign in with CAS + +
+
+ +
+ + +
+
+{% endblock %}