haldis/app/templates/home.html
Feliciaan De Palmenaer 79063f8bdf added a footer
2015-03-30 00:23:59 +02:00

26 lines
No EOL
655 B
HTML

{% extends "layout.html" -%}
{% set active_page = "home" -%}
{% import "utils.html" as util -%}
{% block container %}
<div class="jumbotron">
<h2>Welcome to FoodBot</h2>
<h3>This is the home page for FoodBot</h3>
</div>
<div class="row">
<div class="col-sm-5">
<h3>Open orders:</h3>
{% for order in orders %}
{{ util.render_order(order) }}
{% endfor %}
</div>
<div class="col-sm-5 col-sm-push-2">
<h3>Recently closed orders:</h3>
{% for order in recently_closed %}
{{ util.render_order(order) }}
{% endfor %}
</ul>
</div>
</div>
{% endblock %}