add icons to headers

This commit is contained in:
bellwood 2016-07-14 12:26:34 -04:00 committed by GitHub
parent a65fad8baa
commit 644bbe1a1d

View File

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