inventory.html: Brought UI up to date.

Updated template to match the style of the rest of the templates
that were updated a year ago when the project switched to using
Semantic-UI.
This commit is contained in:
Stoyan Stoyanov
2015-06-09 15:46:08 -07:00
parent f6dbb249e6
commit 96ef996f60

View File

@@ -1,21 +1,9 @@
{% extends 'layout.html' %}
{% block content %}
<div class="alert alert-info">
PuppetDB currently only returns active nodes.
<div class="ui fluid icon input hide" style="margin-bottom:20px">
<input autofocus="autofocus" class="filter-table" placeholder="Type here to filter...">
</div>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class="alert alert-{{category}}">
{{message}}
</div>
{% endfor %}
{% endif %}
{% endwith %}
<div class="hide" style="margin-bottom:20px">
<input autofocus="autofocus" style="width:100%" type="text" class="filter-table input-medium search-query" placeholder="Type here to filter">
</div>
<table class='inventory table table-striped table-condensed'>
<table class='ui compact basic table inventory'>
<thead>
<tr>
{% for description in fact_desc %}