summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorRichard Wall <richard@aziz>2010-07-11 08:59:39 +0100
committerRichard Wall <richard@aziz>2010-07-11 08:59:39 +0100
commit537a99f97d79a570f26cba63f50b12a882f78042 (patch)
tree2bc85b4c3e61916e2e4c7fb27207bf5e555f8e30 /index.html
parent7a00cfd1c1852c600c75adc2b04e0a5bf296b6fb (diff)
re-instate plot selection
Diffstat (limited to 'index.html')
-rw-r--r--index.html72
1 files changed, 34 insertions, 38 deletions
diff --git a/index.html b/index.html
index 0e285e2..3d4a302 100644
--- a/index.html
+++ b/index.html
@@ -96,12 +96,6 @@
templateFactory('.application-charts'))
);
- // Update all charts when a selection is made on one of them
- $('.charts').bind("plotselected", function(event, ranges) {
- cc.setTimeRange(new Date(ranges.xaxis.from),
- new Date(ranges.xaxis.to));
- });
-
// Show a loading icon when a chart is being redrawn
$('.chart-container').live('chart_loading', function(e) {
$(this).find('.title').addClass('loading');
@@ -143,39 +137,41 @@
</head>
<body>
- <form class="chartRangeControl">
- <div>
- <span class="timerange_control custom">
- <input name="from_custom" type="date" />
- <input name="to_custom" type="date" />
- </span>
- <span class="timerange_control standard">
- <select name="from_standard">
- <option>custom</option>
- </select>
- </span>
- <input name="from" type="hidden" />
- <input name="to" type="hidden" />
- <select name="tzoffset"></select>
- <input name="action" value="Update" type="button" />
+ <div class="chartRangeControl">
+ <form>
+ <div>
+ <span class="timerange_control custom">
+ <input name="from_custom" type="date" />
+ <input name="to_custom" type="date" />
+ </span>
+ <span class="timerange_control standard">
+ <select name="from_standard">
+ <option>custom</option>
+ </select>
+ </span>
+ <input name="from" type="hidden" />
+ <input name="to" type="hidden" />
+ <select name="tzoffset"></select>
+ <input name="action" value="Update" type="button" />
+ </div>
+ <div class="range-preview"></div>
+ </form>
+ <ul class="css-tabs">
+ <li><a href="#system">System</a></li>
+ <li><a href="#network">Network</a></li>
+ <li><a href="#dns">DNS</a></li>
+ <li><a href="#application">Application</a></li>
+ </ul>
+ <div class="css-panes charts">
+ <div class="system-charts"></div>
+ <div class="network-charts"></div>
+ <div class="dns-charts"></div>
+ <div class="application-charts"></div>
+ </div>
+ <div class="chart-container">
+ <h2 class="title"></h2>
+ <div class="chart"></div>
</div>
- <div class="range-preview"></div>
- </form>
- <ul class="css-tabs">
- <li><a href="#system">System</a></li>
- <li><a href="#network">Network</a></li>
- <li><a href="#dns">DNS</a></li>
- <li><a href="#application">Application</a></li>
- </ul>
- <div class="css-panes charts">
- <div class="system-charts"></div>
- <div class="network-charts"></div>
- <div class="dns-charts"></div>
- <div class="application-charts"></div>
- </div>
- <div class="chart-container">
- <h2 class="title"></h2>
- <div class="chart"></div>
</div>
</body>
</html>