summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank Wuerthwein <fkw@ucsd.edu>2009-02-08 21:25:40 +0000
committerFrank Wuerthwein <fkw@ucsd.edu>2009-02-08 21:25:40 +0000
commit49bc54733a1466d029a271d510ccf220f9fa9947 (patch)
treebe6649511cc221af79266c006319ee9a2403072b /src
parent8c2bec890577301a345b15569842fef2bc6fd5ab (diff)
Minor improvements
Diffstat (limited to 'src')
-rw-r--r--src/examples/rrdHeaderInfo.html14
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;