29 lines
697 B
HTML
29 lines
697 B
HTML
|
{% extends "layout.html" -%}
|
||
|
{% set active_page = "home" -%}
|
||
|
|
||
|
{% import "utils.html" as util -%}
|
||
|
|
||
|
{% block container %}
|
||
|
<div class="row">
|
||
|
<div class="jumbotron">
|
||
|
<h2>Hi, I'm James</h2>
|
||
|
<h3>What would you like to eat, sir?</h3>
|
||
|
</div>
|
||
|
</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 %}
|