Browse Source

Add flag icons to node page

pm2
Luke Childs 8 years ago
parent
commit
c8ce8f365c
  1. 8
      assets/style.css
  2. 2
      views/node.html

8
assets/style.css

@ -181,6 +181,14 @@ dd {
margin: 0.2em 0 0 2em;
}
dd.flag {
margin-left: 0.5em;
}
dd.flag i {
opacity: 0.5;
}
.columns {
-moz-columns: 2;
columns: 2;

2
views/node.html

@ -37,7 +37,7 @@
{% if node.flags.length %}
<dt>Flags</dt>
{% for flag in node.flags %}
<dd>{{ flag }}</dd>
<dd class="flag"><i class="icon-{{ flag | lower }}"></i> {{ flag }}</dd>
{% endfor %}
{% endif %}
</dl>

Loading…
Cancel
Save