Files
puppetboard/puppetboard/templates/metric.html
2013-11-05 16:41:47 +01:00

24 lines
530 B
HTML

{% extends 'layout.html' %}
{% block content %}
<div class="page-header">
<h1>Metric
{% set name = "%s&hellip;"|format(name[:75])|safe if name|length > 75%}
<small>{{name}}</small>
</h1>
</div>
<table class="table table-striped">
<tbody>
{% for key,value in metric %}
<tr>
<td>{{key}}</td>
{% if value is mapping %}
<td><pre>{{value|jsonprint}}</pre></td>
{% else %}
<td>{{value}}</td>
{% endif %}
</tr>
{% endfor %}
</tbody>
</table>
{% endblock content %}