mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -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>Sec. connected</th>
|
||||
<th>User Agent</th>
|
||||
<th>Action</th>
|
||||
<th class="actions">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -37,9 +37,8 @@
|
||||
<td><xsl:value-of select="role" /></td>
|
||||
<td><xsl:value-of select="connected" /></td>
|
||||
<td><xsl:value-of select="useragent" /></td>
|
||||
<td>
|
||||
<a href="killclient.xsl?mount={../@mount}&id={id}">Kick</a>
|
||||
 
|
||||
<td class="actions">
|
||||
<a class="critical" href="killclient.xsl?mount={../@mount}&id={id}">Kick</a>
|
||||
<a href="moveclients.xsl?mount={../@mount}&id={id}">Move</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -28,7 +28,7 @@
|
||||
<tr>
|
||||
<th>User</th>
|
||||
<xsl:if test="@can-deleteuser = 'true'">
|
||||
<th>Action</th>
|
||||
<th class="actions">Action</th>
|
||||
</xsl:if>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -37,8 +37,8 @@
|
||||
<tr>
|
||||
<td><xsl:value-of select="username" /></td>
|
||||
<xsl:if test="../../@can-deleteuser = 'true'">
|
||||
<td>
|
||||
<a href="manageauth.xsl?id={../../@id}&username={username}&action=delete">Delete</a>
|
||||
<td class="actions">
|
||||
<a class="critical" href="manageauth.xsl?id={../../@id}&username={username}&action=delete">Delete</a>
|
||||
</td>
|
||||
</xsl:if>
|
||||
</tr>
|
||||
|
@ -149,8 +149,32 @@ ul.boxnav > li > a {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
ul.boxnav > li.critical > a {
|
||||
background-color: #ff704d;
|
||||
ul.boxnav > li.critical > a, a.critical {
|
||||
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user