2014-03-24 02:29:22 +01:00
|
|
|
<link href="static/plugin/jqplot/jquery.jqplot.min.css" rel="stylesheet" >
|
|
|
|
<!--[if lt IE 9]><script type="text/javascript" src="static/plugin/excanvas.js"></script><![endif]-->
|
|
|
|
<script type="text/javascript" src="static/plugin/jqplot/jquery.jqplot.min.js"></script>
|
|
|
|
<script type="text/javascript" src="static/plugin/jqplot/jqplot.canvasOverlay.min.js"></script>
|
2014-03-24 21:18:53 +01:00
|
|
|
<script type="text/javascript" src="static/plugin/jqplot/jqplot.cursor.min.js"></script>
|
2014-03-24 02:29:22 +01:00
|
|
|
<script type="text/javascript" src="static/plugin/jqplot/jqplot.dateAxisRenderer.min.js"></script>
|
|
|
|
<script type="text/javascript" src="static/plugin/jqplot/jqplot.highlighter.min.js"></script>
|
|
|
|
|
|
|
|
<link href="static/css/history.css" rel="stylesheet" >
|
2014-03-24 21:18:53 +01:00
|
|
|
<script type="text/javascript">
|
2014-08-01 16:40:20 +02:00
|
|
|
var day_format = '{{ day_format }}';
|
|
|
|
var long_date_format = '{{ long_date_format }}';
|
|
|
|
var short_date_format = '{{ short_date_format }}';
|
|
|
|
var short_time_format = '{{ short_time_format }}';
|
2014-03-24 21:18:53 +01:00
|
|
|
</script>
|
2014-03-24 02:29:22 +01:00
|
|
|
<script type="text/javascript" src="static/js/history.js"></script>
|
|
|
|
|
|
|
|
<div id="history-panel">
|
2014-08-01 16:40:20 +02:00
|
|
|
{% for graph in graphs %}
|
2014-03-24 02:29:22 +01:00
|
|
|
<div class="chart-row">
|
|
|
|
<div class="chart-container">
|
|
|
|
<div class="chart-content">
|
2014-08-01 16:40:20 +02:00
|
|
|
<div id="chart{{ graph.chart_id }}" class="chart" data-title="{{ graph.title }}" data-plotMode="{{ graph.plotmode }}" data-endTime="{{ graph.end_timestamp }}" data-series="{{ graph.series|raw }}" data-lines="{{ graph.server_lines }}" data-down="{{ graph.server_down }}"></div>
|
2014-03-24 02:29:22 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="info-container">
|
|
|
|
<div class="info-content">
|
|
|
|
<div class="info-dropdown btn-group">
|
2014-04-06 17:59:59 +02:00
|
|
|
<button class="btn dropdown-toggle" data-toggle="dropdown"><i class="icon-info-sign"></i></button>
|
2014-08-01 16:40:20 +02:00
|
|
|
<ul class="dropdown-menu">
|
|
|
|
{% for record in graph.info %}
|
|
|
|
<li><span>{{ record.label }}: {{ record.value }}</span></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2014-03-24 02:29:22 +01:00
|
|
|
</div>
|
|
|
|
<div class="server-info">
|
2014-08-01 16:40:20 +02:00
|
|
|
<ul>
|
|
|
|
{% for record in graph.info %}
|
|
|
|
<li><span>{{ record.label }}: {{ record.value }}</span></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2014-03-24 02:29:22 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="chart-selector">
|
|
|
|
<div class="btn-group">
|
2014-08-01 16:40:20 +02:00
|
|
|
{% for button in graph.buttons %}
|
|
|
|
<button class="btn {{ button.class_active }}" data-chartId="{{ graph.chart_id }}" data-chartMode="{{ button.mode }}" >{{ button.label }}</button>
|
|
|
|
{% endfor %}
|
2014-03-30 03:48:48 +02:00
|
|
|
</div>
|
2014-03-24 02:29:22 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="clear: both;"> </div>
|
2014-08-01 16:40:20 +02:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|