haldis/app/templates/home.html

26 lines
655 B
HTML
Raw Normal View History

{% extends "layout.html" -%}
{% set active_page = "home" -%}
2015-03-28 23:06:36 +01:00
{% import "utils.html" as util -%}
{% 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>
2015-03-28 23:06:36 +01:00
{% for order in orders %}
{{ util.render_order(order) }}
{% endfor %}
2015-03-28 20:38:15 +01:00
</div>
2015-03-28 21:25:55 +01:00
<div class="col-md-4 col-md-push-4">
<h3>Recently closed orders:</h3>
2015-03-28 23:06:36 +01:00
{% for order in recently_closed %}
{{ util.render_order(order) }}
{% endfor %}
2015-03-28 21:25:55 +01:00
</ul>
</div>
2015-03-28 20:38:15 +01:00
</div>
2015-03-26 00:17:43 +01:00
{% endblock %}