change 'hosts' to 'group'

This commit is contained in:
Adrien MALINGREY 2023-05-15 16:40:36 +02:00
parent 87cedd0bce
commit 3f662bafcc
2 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@
</div>
</xsl:when>
</xsl:choose>
<xsl:apply-templates select="hosts"/>
<xsl:apply-templates select="group"/>
</div>
<script>
$('.ui.dropdown').dropdown()
@ -78,7 +78,7 @@
</html>
</xsl:template>
<xsl:template match="hosts">
<xsl:template match="group">
<h1 class="ui header"><xsl:value-of select="@name"/></h1>
<div class="ui doubling stackable four column compact grid">
<xsl:apply-templates select="host"/>

View File

@ -11,7 +11,7 @@
<xsl:text>---
site: Nom du site
hosts:
group:
- name: Réseau </xsl:text><xsl:value-of select="$network"/><xsl:text>
host:
</xsl:text>