haldis/app/templates/home.html

29 lines
696 B
HTML
Raw Normal View History

2015-03-31 20:15:22 +02:00
{% extends "layout.html" -%}
{% set active_page = "home" -%}
{% import "utils.html" as util -%}
{% block container %}
<div class="row">
<div class="jumbotron">
<h2>Hi, I'm Haldis</h2>
2015-03-31 20:15:22 +02:00
<h3>What would you like to eat, sir?</h3>
</div>
</div>
<div class="row">
<div class="col-sm-5">
2015-04-03 21:04:10 +02:00
<h3>Open orders</h3>
2015-03-31 20:15:22 +02:00
{% for order in orders %}
{{ util.render_order(order) }}
{% endfor %}
</div>
<div class="col-sm-5 col-sm-push-2">
2015-04-03 21:04:10 +02:00
<h3>Recently closed orders</h3>
2015-03-31 20:15:22 +02:00
{% for order in recently_closed %}
{{ util.render_order(order) }}
{% endfor %}
</ul>
</div>
</div>
{% endblock %}