2014-03-02 08:35:09 -05:00
|
|
|
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0">
|
2014-12-29 10:32:52 -05:00
|
|
|
<xsl:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" indent="yes" />
|
|
|
|
<!-- 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">Update Metadata</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>
|
2014-12-29 10:32:52 -05:00
|
|
|
|
|
|
|
<xsl:for-each select="source">
|
|
|
|
<div class="article">
|
|
|
|
<h3>Mountpoint <xsl:value-of select="@mount" /></h3>
|
|
|
|
<!-- Mount nav -->
|
|
|
|
<xsl:call-template name="mountnav" />
|
|
|
|
<form method="get" action="/admin/metadata.xsl">
|
|
|
|
<label for="metadata" class="hidden">Metadata</label>
|
|
|
|
<input type="text" id="metadata" name="song" value="" placeholder="Click to edit" required="required" />
|
|
|
|
<input type="hidden" name="mount" value="{@mount}" />
|
|
|
|
<input type="hidden" name="mode" value="updinfo" />
|
|
|
|
<input type="hidden" name="charset" value="UTF-8" />
|
|
|
|
<input type="submit" value="Update Metadata" />
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</xsl:for-each>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</xsl:template>
|
2018-05-05 02:40:25 -04:00
|
|
|
</xsl:stylesheet>
|