mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
Fix: Corrected design for manageauth.xsl
This commit is contained in:
parent
1455e9966a
commit
17f8b5587f
@ -15,8 +15,8 @@
|
||||
</div>
|
||||
</xsl:if>
|
||||
<xsl:for-each select="role">
|
||||
<div class="article">
|
||||
<h3>Role <xsl:value-of select="@name" /> (<xsl:value-of select="@type" />)
|
||||
<section class="box">
|
||||
<h3 class="box_title">Role <code><xsl:value-of select="@name" /></code> (<code><xsl:value-of select="@type" /></code>)
|
||||
<xsl:if test="server_name">
|
||||
<xsl:text> </xsl:text><small><xsl:value-of select="server_name" /></small>
|
||||
</xsl:if>
|
||||
@ -54,16 +54,19 @@
|
||||
<xsl:if test="@can-adduser = 'true'">
|
||||
<h4>Add User</h4>
|
||||
<form method="post" action="manageauth.xsl">
|
||||
<label for="username" class="hidden">Username</label>
|
||||
<input type="text" id="username" name="username" value="" placeholder="Username" required="required" />
|
||||
<label for="password" class="hidden">Password</label>
|
||||
<input type="password" id="password" name="password" value="" placeholder="Password" required="required" />
|
||||
<input type="hidden" name="id" value="{@id}"/>
|
||||
<input type="hidden" name="action" value="add"/>
|
||||
|
||||
<label for="username" class="hidden">Username: </label>
|
||||
<input type="text" id="username" name="username" value="" placeholder="Username" required="required" />
|
||||
 
|
||||
<label for="password" class="hidden">Password: </label>
|
||||
<input type="password" id="password" name="password" value="" placeholder="Password" required="required" />
|
||||
 
|
||||
<input type="submit" value="Add new user" />
|
||||
</form>
|
||||
</xsl:if>
|
||||
</div>
|
||||
</section>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
Loading…
Reference in New Issue
Block a user