2014-12-29 10:32:52 -05:00
|
|
|
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0">
|
|
|
|
<xsl:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" />
|
|
|
|
<!-- Import include files -->
|
2018-05-05 02:40:25 -04:00
|
|
|
<xsl:include href="includes/page.xsl"/>
|
2014-12-29 10:32:52 -05:00
|
|
|
<xsl:include href="includes/mountnav.xsl"/>
|
|
|
|
|
2018-05-20 15:05:00 -04:00
|
|
|
<xsl:variable name="title">Move listeners</xsl:variable>
|
2014-12-29 10:32:52 -05:00
|
|
|
|
2018-05-05 02:40:25 -04:00
|
|
|
<xsl:template name="content">
|
2014-12-29 10:32:52 -05:00
|
|
|
<div class="section">
|
2018-05-20 15:05:00 -04:00
|
|
|
<h2><xsl:value-of select="$title" /></h2>
|
2020-10-01 10:52:08 -04:00
|
|
|
<section class="box">
|
|
|
|
<h3 class="box_title">Mountpoint <code><xsl:value-of select="@mount" /></code></h3>
|
2014-12-29 10:32:52 -05:00
|
|
|
<!-- Mount nav -->
|
|
|
|
<xsl:call-template name="mountnav">
|
|
|
|
<xsl:with-param name="mount" select="current_source"/>
|
|
|
|
</xsl:call-template>
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test="source">
|
2020-09-30 15:47:05 -04:00
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test="param-id">
|
|
|
|
<input type="hidden" name="id" value="{param-id}" />
|
|
|
|
<p>Choose the mountpoint to which you want to move the listener to:</p>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
|
|
|
<p>Choose the mountpoint to which you want to move the listeners to:</p>
|
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
2018-06-19 04:20:44 -04:00
|
|
|
<form method="post" action="moveclients.xsl">
|
2014-12-29 10:32:52 -05:00
|
|
|
<label for="moveto" class="hidden">
|
|
|
|
Move from <code><xsl:value-of select="current_source" /></code> to
|
|
|
|
</label>
|
|
|
|
<select name="destination" id="moveto">
|
|
|
|
<xsl:for-each select="source">
|
|
|
|
<option value="{@mount}">
|
|
|
|
<xsl:value-of select="@mount" />
|
|
|
|
</option>
|
|
|
|
</xsl:for-each>
|
|
|
|
</select>
|
|
|
|
<input type="hidden" name="mount" value="{current_source}" />
|
2020-10-01 10:52:08 -04:00
|
|
|
 
|
2014-12-29 10:32:52 -05:00
|
|
|
<input type="submit" value="Move listeners" />
|
|
|
|
</form>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
2020-10-01 19:47:11 -04:00
|
|
|
<aside class="warning">
|
2014-12-29 10:32:52 -05:00
|
|
|
<strong>No mounts!</strong>
|
|
|
|
There are no other mountpoints you could move the listeners to.
|
2020-10-01 19:47:11 -04:00
|
|
|
</aside>
|
2014-12-29 10:32:52 -05:00
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
2020-10-01 10:52:08 -04:00
|
|
|
</section>
|
2014-12-29 10:32:52 -05:00
|
|
|
</div>
|
|
|
|
</xsl:template>
|
2018-05-05 02:40:25 -04:00
|
|
|
</xsl:stylesheet>
|