2013-04-02 10:14:02 -07:00
|
|
|
<div id="graph_wrapper{{id}}">
|
|
|
|
<div class="grouping_box">
|
|
|
|
<form action="/api/query_range" method="GET" class="query_form">
|
|
|
|
<div class="head">
|
|
|
|
<div class="expr">
|
|
|
|
<input placeholder="Expression" type="text" name="expr" id="expr{{id}}" size="80" value="{{expr}}">
|
|
|
|
<select name="insert_metric">
|
|
|
|
<option value="">- Insert Metric -</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="config">
|
|
|
|
<label for="range_input{{id}}">Range:</label>
|
|
|
|
<input type="button" value="-" name="dec_range">
|
|
|
|
<input type="text" name="range_input" id="range_input{{id}}" size="2" value="{{range_input}}" >
|
|
|
|
<input type="hidden" name="range">
|
|
|
|
<input type="button" value="+" name="inc_range">
|
|
|
|
|
|
|
|
<input type="button" value="←" name="dec_end">
|
|
|
|
<input placeholder="Until" type="text" name="end_input" id="end{{id}}" size="16" value="{{end }}">
|
|
|
|
<input type="button" value="→" name="inc_end">
|
|
|
|
<input type="hidden" name="end">
|
|
|
|
|
|
|
|
<input placeholder="Resolution (s)" type="text" name="step_input" id="step_input{{id}}" value ="{{step_input}}" size="10">
|
|
|
|
<input type="hidden" name="step">
|
|
|
|
<span class="opts">
|
|
|
|
<input type="checkbox" name="stacked" id="stacked{{id}}" {{stacked_checked}}>
|
|
|
|
<label for="stacked{{id}}">Stacked</label>
|
|
|
|
<input type="submit" value="Graph" name="submit">
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="eval_stats"></div>
|
|
|
|
</form>
|
2013-04-09 06:23:37 -07:00
|
|
|
<img src="/static/img/ajax-loader.gif" class="spinner" alt="ajax_spinner">
|
2013-04-02 10:14:02 -07:00
|
|
|
</div>
|
|
|
|
<div class="grouping_box">
|
|
|
|
<div class="graph_container">
|
|
|
|
<div class="graph"></div>
|
|
|
|
<div class="legend"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|