add icons to headers

This commit is contained in:
bellwood 2016-07-14 12:25:59 -04:00 committed by GitHub
parent 11173171e7
commit a65fad8baa

View File

@ -19,8 +19,10 @@
<div class="panel panel-default">
<div class="panel-heading">
{% if poweroutlet.pk %}
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
<strong>Editing {{ poweroutlet }}</strong>
{% else %}
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
<strong>Add a Power Outlet</strong>
{% endif %}
</div>