[drraw-users] Two bugs in 2.2a3
Garrett Wollman
wollman at csail.mit.edu
Mon Apr 23 14:54:28 EDT 2007
A colleague was trying to get a graph that showed just the last eight
hours on a particular switch port. He started with a filtered
dashboard, drilled down to the port in question, selected just the
"Past 28 hours" view, and changed the starting time to "end - 8
hours", then clicked "view". He found (and I confirmed) that this
loses the currently-selected data source, and presents him with the
source-selection box for that template. It also loses the filter
specification, so he gets shown all of the possible data sources (a
few thousand in our network) rather than just the ones on the switch
he is interested in.
When looking at the generated HTML, I also noticed that the <style>
element has nested HTML comments, which are not valid. The standard
way of doing this is:
<style>//<![CDATA[
...style sheet data goes here...
//]]></style>
(at least in XHTML). However, it's almost always better to use an
external style sheet; this will allow the browser to cache the style
sheet, providing for quicker loads and reloads.
-GAWollman
More information about the drraw-users
mailing list