haldis/app/templates/home.html

18 lines
529 B
HTML
Raw Normal View History

{% extends "layout.html" -%}
{% set active_page = "home" -%}
{% block container %}
2015-03-27 01:07:43 +01:00
<div class="jumbotron">
2015-03-26 00:17:43 +01:00
<h2>Welcome to FoodBot</h2>
<h3>This is the home page for FoodBot</h3>
</div>
2015-03-28 20:38:15 +01:00
<div class="row">
<div class="col-md-4">
<h3>Open orders:</h3>
<ul>
{% for order in orders %}
<li><a href="{{ url_for('order_bp.order', id=order.id) }}">{{ order.location.name }}-{{ order.stoptime }}</a></li>
{% endfor %}
</ul>
</div>
</div>
2015-03-26 00:17:43 +01:00
{% endblock %}