mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-06-09 06:10:41 +00:00
Feature: Report geoip result on admin interface
This commit is contained in:
parent
f9fccf24ce
commit
fe0d8598f4
|
@ -25,6 +25,7 @@
|
|||
<th>Role</th>
|
||||
<th>Sec. connected</th>
|
||||
<th>User Agent</th>
|
||||
<th>Location</th>
|
||||
<th class="actions">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -36,6 +37,10 @@
|
|||
<td><xsl:value-of select="role" /></td>
|
||||
<td><xsl:value-of select="connected" /></td>
|
||||
<td><xsl:value-of select="useragent" /></td>
|
||||
<td>
|
||||
<xsl:value-of select="geoip/country/@iso-alpha-2" />
|
||||
<xsl:if test="geoip/location/@latitude and geoip/location/@longitude"> <a href="https://www.openstreetmap.org/?mlat={geoip/location/@latitude}&mlon={geoip/location/@longitude}&zoom=7">On OSM</a></xsl:if>
|
||||
</td>
|
||||
<td class="actions">
|
||||
<a class="critical" href="/admin/ui/confirmkillclient.xsl?mount={../@mount}&id={id}">Kick</a>
|
||||
<a href="/admin/moveclients.xsl?mount={../@mount}&id={id}">Move</a>
|
||||
|
|
Loading…
Reference in New Issue
Block a user