diff options
-rw-r--r-- | src/examples/rrdHeaderInfo.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/examples/rrdHeaderInfo.html b/src/examples/rrdHeaderInfo.html index c5fe3f0..6d8ed54 100644 --- a/src/examples/rrdHeaderInfo.html +++ b/src/examples/rrdHeaderInfo.html @@ -20,24 +20,24 @@ </head> <body> - <h1 id="title">Javascript needed for this page to work</h1> + <h1 id="title">RRD Header Info</h1> - <script type="text/javascript"> - document.getElementById("title").firstChild.data="RRD Header Info"; - </script> - - <label for="form_label_fname">RRD URL:</label> - <input type="text" id="input_fname" value="Test.rrd" + RRD URL: + <input type="text" id="input_fname" value="example1.rrd" onchange="input_update()"> <button onclick="input_update()">Update</button> <hr> <table id="infotable" border=1> + <tr><td colspan="5"><b>Javascript needed for this page to work</b></td></tr> <tr><td><b>RRD file</b></td><td id="fname" colspan="4">None</td></tr> <tr><td><b>Min Step</b></td><td id="step" align="right">N/A</td><td><b>Last update</b></td><td id="last_update" colspan="2">N/A</td></tr> </table> <script type="text/javascript"> + // Remove the Javascript warning + document.getElementById("infotable").deleteRow(0); + // fname is the global variable used by all the functions below fname=document.getElementById("input_fname").value; |