Merge branch '1030-statistics-channel-improvements' into 'master'

Statistics Channel Improvements

Closes #1030

See merge request isc-projects/bind9!1944
This commit is contained in:
Ondřej Surý 2019-07-25 08:22:32 -04:00
commit 8751585841
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,6 @@
5267. [func] Allow statistics groups display to be toggleable.
[GL #1030]
5266. [bug] named-checkconf failed to report dnstap-output
missing from named.conf when dnstap was specified.
[GL #1136]

View file

@ -21,6 +21,14 @@
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,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(); }
if (n.is("div")) { n.toggleClass("hidden"); n = n.next(); }
if (n.is("table")) { n.toggleClass("hidden"); }
return false;
});
});
</script>
@ -90,6 +98,10 @@
font-size: 10pt;
}
.hidden{
display: none;
}
.odd{
background-color: #f0f0f0;
}