mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Feature: Styled action buttons and columns
This commit is contained in:
parent
4f75f4f296
commit
f4d4b8eaba
@ -26,7 +26,7 @@
|
|||||||
<th>Role</th>
|
<th>Role</th>
|
||||||
<th>Sec. connected</th>
|
<th>Sec. connected</th>
|
||||||
<th>User Agent</th>
|
<th>User Agent</th>
|
||||||
<th>Action</th>
|
<th class="actions">Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -37,9 +37,8 @@
|
|||||||
<td><xsl:value-of select="role" /></td>
|
<td><xsl:value-of select="role" /></td>
|
||||||
<td><xsl:value-of select="connected" /></td>
|
<td><xsl:value-of select="connected" /></td>
|
||||||
<td><xsl:value-of select="useragent" /></td>
|
<td><xsl:value-of select="useragent" /></td>
|
||||||
<td>
|
<td class="actions">
|
||||||
<a href="killclient.xsl?mount={../@mount}&id={id}">Kick</a>
|
<a class="critical" href="killclient.xsl?mount={../@mount}&id={id}">Kick</a>
|
||||||
 
|
|
||||||
<a href="moveclients.xsl?mount={../@mount}&id={id}">Move</a>
|
<a href="moveclients.xsl?mount={../@mount}&id={id}">Move</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>User</th>
|
<th>User</th>
|
||||||
<xsl:if test="@can-deleteuser = 'true'">
|
<xsl:if test="@can-deleteuser = 'true'">
|
||||||
<th>Action</th>
|
<th class="actions">Action</th>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -37,8 +37,8 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td><xsl:value-of select="username" /></td>
|
<td><xsl:value-of select="username" /></td>
|
||||||
<xsl:if test="../../@can-deleteuser = 'true'">
|
<xsl:if test="../../@can-deleteuser = 'true'">
|
||||||
<td>
|
<td class="actions">
|
||||||
<a href="manageauth.xsl?id={../../@id}&username={username}&action=delete">Delete</a>
|
<a class="critical" href="manageauth.xsl?id={../../@id}&username={username}&action=delete">Delete</a>
|
||||||
</td>
|
</td>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -149,8 +149,32 @@ ul.boxnav > li > a {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.boxnav > li.critical > a {
|
ul.boxnav > li.critical > a, a.critical {
|
||||||
background-color: #ff704d;
|
background-color: #ff704d !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
th.actions {
|
||||||
|
width: 10%;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.actions {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.actions > a {
|
||||||
|
background-color: #4f8cb0;
|
||||||
|
border: none;
|
||||||
|
color: white;
|
||||||
|
padding: 0.5em;
|
||||||
|
margin-top: 0.2em;
|
||||||
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.actions > a:first-child {
|
||||||
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Playlists list style */
|
/* Playlists list style */
|
||||||
|
Loading…
Reference in New Issue
Block a user