aboutsummaryrefslogtreecommitdiff
path: root/pyenc/templates/host.html
blob: 917d5354d84eb40f605ad5b2e44fa3be886caf24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% extends "base.html" %}
{% block content %}
<h1>Host ‘{{ host.fqdn }}’</h1>
<p class="summary">{{ host.summary }}</p>
<dl>
	<dt>Environment</dt>
	<dd><a href="/environment/{{ host.environment.name }}"
				 >{{ host.environment.name }}</a></dd>
	<dt>Direct Classes</dt>
	<dd>
		<ul>
			{% for cls in host.classes %}
			<li><a href="/class/{{ cls.name }}">{{ cls.name }}</a></li>
			{% endfor %}
		</ul>
	</dd>
	<dt>All Classes</dt>
	<dd id="all-classes"></dd>
	<!--
			- basic system info
			- link to further documentation
			- notes
		-->
</dl>
<script>
	let node = document.getElementById('all-classes')
	populate_host_classes(node, "{{ host.fqdn }}")
</script>
{% endblock %}
{# ft:jinja #}