mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-22 04:15:54 -04: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>Role</th>
|
||||||
<th>Sec. connected</th>
|
<th>Sec. connected</th>
|
||||||
<th>User Agent</th>
|
<th>User Agent</th>
|
||||||
|
<th>Location</th>
|
||||||
<th class="actions">Action</th>
|
<th class="actions">Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -36,6 +37,10 @@
|
|||||||
<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>
|
||||||
|
<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">
|
<td class="actions">
|
||||||
<a class="critical" href="/admin/ui/confirmkillclient.xsl?mount={../@mount}&id={id}">Kick</a>
|
<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>
|
<a href="/admin/moveclients.xsl?mount={../@mount}&id={id}">Move</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user