aboutsummaryrefslogtreecommitdiff
path: root/pyenc/templates/class.html
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-08-17 02:19:27 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-08-17 02:19:27 +0200
commit5ae80ca783823bcd25f216be922dce16a13ad5e2 (patch)
tree9b49cffabab8b795c6986a02b72780c2bceb50d7 /pyenc/templates/class.html
parentAdd sample icon. (diff)
downloadpuppet-classifier-master.tar.gz
puppet-classifier-master.tar.xz
Diffstat (limited to '')
-rw-r--r--pyenc/templates/class.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/pyenc/templates/class.html b/pyenc/templates/class.html
index bfae1b2..3c8b809 100644
--- a/pyenc/templates/class.html
+++ b/pyenc/templates/class.html
@@ -29,7 +29,7 @@
{% endfor %}
</tbody>
</table>
- <dt>Hosts</dt>
+ <dt>Direct Hosts</dt>
<dd>
<ul>
{% for host in cls.hosts %}
@@ -37,6 +37,13 @@
{% endfor %}
</ul>
</dd>
+ <dt>All Hosts</dt>
+ <dd id="class-hosts">
+ </dd>
</dl>
+<script>
+ let node = document.getElementById('class-hosts')
+ populate_class_hosts(node, "{{ title }}")
+</script>
{% endblock %}
{# ft:jinja #}