mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-18 12:21:20 -04:00
use h?+script selectors
This commit is contained in:
parent
e6c13ebb26
commit
570d1cf0bb
1 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@
|
|||
var wid=0;
|
||||
$('table.zones').each(function(i) { if( $(this).width() > wid ) wid = $(this).width(); return true; });
|
||||
$('table.zones').css('min-width', wid );
|
||||
$("h2+table,h3+table,h4+table,h2+div,h3+div").prev().append(' <a class="tabletoggle" href="#" style="font-size:small">Show/Hide</a>');
|
||||
$("h2+table,h3+table,h4+table,h2+div,h3+div,h2+script,h3+script").prev().append(' <a class="tabletoggle" href="#" style="font-size:small">Show/Hide</a>');
|
||||
$(".tabletoggle").click(function(){
|
||||
var n = $(this).closest("h2,h3,h4").next();
|
||||
if (n.is("script")) { n = n.next(); }
|
||||
|
|
@ -429,7 +429,7 @@
|
|||
<xsl:if test="views/view[count(counters[@type="resqtype"]/counter) > 0]">
|
||||
<h2>Outgoing Queries per view</h2>
|
||||
<xsl:for-each select="views/view[count(counters[@type="resqtype"]/counter) > 0]">
|
||||
<h3>View <xsl:value-of select="@name"/> <a class="tabletoggle" href="#" style="font-size:small">Show/Hide</a></h3>
|
||||
<h3>View <xsl:value-of select="@name"/></h3>
|
||||
<xsl:if test="system-property('xsl:vendor')!='Transformiix'">
|
||||
<!-- Non Mozilla specific markup -->
|
||||
<script type="text/javascript">
|
||||
|
|
@ -468,7 +468,7 @@
|
|||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
<xsl:if test="server/counters[@type="nsstat"]/counter[.>0]">
|
||||
<h2>Server Statistics <a class="tabletoggle" href="#" style="font-size:small">Show/Hide</a></h2>
|
||||
<h2>Server Statistics</h2>
|
||||
<xsl:if test="system-property('xsl:vendor')!='Transformiix'">
|
||||
<!-- Non Mozilla specific markup -->
|
||||
<script type="text/javascript">
|
||||
|
|
@ -504,7 +504,7 @@
|
|||
</xsl:if>
|
||||
<xsl:if test="server/counters[@type="zonestat"]/counter[.>0]">
|
||||
<xsl:if test="system-property('xsl:vendor')!='Transformiix'">
|
||||
<h2>Zone Maintenance Statistics <a class="tabletoggle" href="#" style="font-size:small">Show/Hide</a></h2>
|
||||
<h2>Zone Maintenance Statistics</h2>
|
||||
<script type="text/javascript">
|
||||
graphs.push({
|
||||
'title' : "Zone Maintenance Stats",
|
||||
|
|
|
|||
Loading…
Reference in a new issue