Files
puppetboard/puppetboard/templates/metrics.html
Corey Hammerton dffd42af1d puppetboard/templates/metrics.html: Added searchability to the Metrics list (#298)
This resolves #297

Adding a search bar to the Metrics page to allow the user to filter the list
items to only show what the user wants.
2016-09-03 17:11:40 -04:00

15 lines
431 B
HTML

{% extends 'layout.html' %}
{% block content %}
<h1>Metrics</h1>
<div class="ui fluid icon input hide" style="margin-bottom:20px">
<input autofocus="autofocus" class="filter-list" placeholder="Type here to filter...">
</div>
<ul class="ui list searchable">
{% for metric in metrics %}
<li>
<a href="{{url_for('metric', env=current_env, metric=metric)}}">{{metric}}</a>
</li>
{% endfor %}
</ul>
{% endblock content %}