Files
puppetboard/puppetboard/templates/metrics.html
Corey Hammerton 2a6e2380ad puppetboard/app.py: Using the plain-text metric name in metrics() (#259)
This fixes #258

URL quoting is now done in pypuppetdb >= 0.2.3 which contributed to the
metric URL being double-quoted by the time it reached PuppetDB, which
responds with a 404. Instead using the plain-text name to build the
link to metric()
2016-06-28 20:09:30 -04:00

10 lines
230 B
HTML

{% extends 'layout.html' %}
{% block content %}
<h1>Metrics</h1>
<ul>
{% for metric in metrics %}
<li><a href="{{url_for('metric', env=current_env, metric=metric)}}">{{metric}}</li>
{% endfor %}
</ul>
{% endblock content %}