2015-03-27 18:07:06 +01:00
|
|
|
{% extends "layout.html" -%}
|
|
|
|
{% set active_page = "home" -%}
|
2015-03-28 23:06:36 +01:00
|
|
|
|
|
|
|
{% import "utils.html" as util -%}
|
|
|
|
|
2015-03-27 21:57:37 +01:00
|
|
|
{% block container %}
|
2015-03-27 01:07:43 +01:00
|
|
|
<div class="jumbotron">
|
2015-03-30 23:53:21 +02:00
|
|
|
<h2>Hi, I'm James</h2>
|
|
|
|
<h3>What would you like to eat, sir?</h3>
|
2015-03-26 00:17:43 +01:00
|
|
|
</div>
|
2015-03-28 20:38:15 +01:00
|
|
|
<div class="row">
|
2015-03-30 00:23:59 +02:00
|
|
|
<div class="col-sm-5">
|
2015-03-28 20:38:15 +01:00
|
|
|
<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-30 00:23:59 +02:00
|
|
|
<div class="col-sm-5 col-sm-push-2">
|
2015-03-28 21:25:55 +01:00
|
|
|
<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-30 23:53:21 +02:00
|
|
|
{% endblock %}
|