mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-17 00:51:09 +02:00
added some js to stat.xsl
This commit is contained in:
parent
e572e242c2
commit
87b7c6d043
14
stat.xsl
14
stat.xsl
|
@ -66,7 +66,14 @@
|
|||
<xsl:template match="stream">
|
||||
<tr valign="top" bgcolor="#cccccc">
|
||||
<td>
|
||||
<xsl:value-of select="name"/>
|
||||
<a href="">
|
||||
<xsl:attribute name="onclick">
|
||||
var d=document.getElementById('<xsl:value-of select="name"/>');
|
||||
d.style.display=d.style.display=='none'?'':'none';
|
||||
return false
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="name"/>
|
||||
</a>
|
||||
</td>
|
||||
<td align="middle">
|
||||
<xsl:value-of select="nclients"/>
|
||||
|
@ -89,7 +96,10 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td colspan="7" ngcolor="#eeeeee">
|
||||
<table cellspacing="1" cellpadding="5">
|
||||
<table cellspacing="1" cellpadding="5" style="display:none">
|
||||
<xsl:attribute name="id">
|
||||
<xsl:value-of select="name"/>
|
||||
</xsl:attribute>
|
||||
<tr>
|
||||
<th>State</th>
|
||||
<th>Address</th>
|
||||
|
|
Loading…
Reference in a new issue