Add simple landing page to viewer

This commit is contained in:
IamTheFij 2018-02-09 12:58:05 -08:00
parent 4bb2dad22f
commit 4624d60e6d
2 changed files with 18 additions and 1 deletions

View File

@ -15,7 +15,7 @@ indexer_url = os.environ.get('INDEXER_URL', 'http://indexer')
@app.route('/')
def check():
return 'OK'
return flask.render_template('home.html')
@app.route('/shipping')

View File

@ -0,0 +1,17 @@
{% extends "base.html" %}
{% block title %}Home{% endblock %}
{% block navbar_nav %}
<li class="nav-item">
<a class="nav-link" href="/shipping">Shipping</a>
</li>
{% endblock %}
{% block container %}
<div class="row mt-3">
<div class="col">
<h2>Email Assistant</h2>
<p>Let's get trackin!</p>
</div>
</div>
{% endblock %}