get app ready for heroku

This commit is contained in:
2017-02-07 22:26:44 -05:00
parent ae5250e688
commit 537795bf16
36 changed files with 33 additions and 0 deletions

45
templates/items/list.html Normal file
View File

@@ -0,0 +1,45 @@
{% extends "../boilerplate.html" %}
{% block main %}
{% if error %}
<div>
<span class="error">{{ error }}</span>
</div>
{% endif %}
{% if preapproved %}
{% with items=preapproved pagination_key="C" name="Pre-Approved" %}
{% include "./section.html" %}
{% endwith %}
{% endif %}
{% if newitems %}
{% with items=newitems pagination_key="N" name="New Items" %}
{% include "./section.html" %}
{% endwith %}
{% endif %}
{% if processed %}
{% with items=processed pagination_key="P" name="Approved" %}
{% include "./section.html" %}
{% endwith %}
{% endif %}
{% if rejected %}
{% with items=rejected pagination_key="R" name="Rejected" %}
{% include "./section.html" %}
{% endwith %}
{% endif %}
{% with items=mine pagination_key="M" name="My Reimbursements" %}
{% include "./section.html" %}
{% endwith %}
{% endblock %}
{% block bottom %}
<a href="/items/new" title="Submit new item" class="btn-floating">
<span>+</span>
</a>
{% endblock %}