Add simple landing page to viewer
This commit is contained in:
parent
4bb2dad22f
commit
4624d60e6d
@ -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')
|
||||
|
17
viewers/main/viewer/templates/home.html
Normal file
17
viewers/main/viewer/templates/home.html
Normal 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 %}
|
Loading…
Reference in New Issue
Block a user