mirror of
https://github.com/puppetlabs/infinitory.git
synced 2026-01-26 10:18:41 -05:00
Import SRE inventory code
This commit is contained in:
commit
7364ccbff8
18 changed files with 5348 additions and 0 deletions
26
templates/nodes.html
Normal file
26
templates/nodes.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{% extends "layout.html" %}
|
||||
{% block title %}Node inventory{% endblock %}
|
||||
{% block body %}
|
||||
<h1>Node inventory</h1>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
{% for cell in columns %}
|
||||
{{ cell.head_html() }}
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for node in nodes %}
|
||||
<tr>
|
||||
{% for cell in columns %}
|
||||
{{ cell.body_html(node) }}
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
||||
{% block footer %}
|
||||
<a href="../nodes.csv">Download CSV</a>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue