Commit c8ce19f2 authored by sebastien letort's avatar sebastien letort

minor. page layout.

parent 3162abfa
......@@ -12,53 +12,45 @@
{% else %}
<form id="metrics_form" onsubmit="return draw_plots()">
<fieldset>
<label for="app">App</label>
<select id="app">
{% for app in apps %}
<option value="{{app.id}}">{{ app.name }}</option>
{% endfor %}
</select>
<label for="app">App</label>
<select id="app">
{% for app in apps %}
<option value="{{app.id}}">{{ app.name }}</option>
{% endfor %}
</select>
<!--
<label for="chart">chart</label>
<select id="chart">
<option value="per_user">#jobs per user</option>
<option value="launched">#jobs running</option>
<option value="per_res">#jobs by state and period</option>
</select>
<label for="chart">chart</label>
<select id="chart">
<option value="per_user">#jobs per user</option>
<option value="launched">#jobs running</option>
<option value="per_res">#jobs by state and period</option>
</select>
-->
<label for="from">From</label>
<input id="from" type="date" min="2015-01-01" />
<label for="from">From</label>
<input id="from" type="date" min="2015-01-01" />
<label for="to">To</label>
<input id="to" type="date" />
<label for="to">To</label>
<input id="to" type="date" />
<label for="step">group by</label>
<select id="step">
<option>year</option>
<option>month</option>
<label for="step">group by</label>
<select id="step">
<option>year</option>
<option>month</option>
<!--
<option>week</option>
<option>week</option>
-->
<option>day</option>
<option>day</option>
<!--
<option>hour</option>
<option>hour</option>
-->
</select>
</select>
</fieldset>
<input type="submit" />
<!--
<output form="metrics_form" for="app chart" id="metric_plot">
</output>
-->
<canvas id="launched_plot" width="400px" height="200px">
</canvas>
<canvas id="per_user_plot" width="400px" height="200px">
</canvas>
<canvas id="per_state_plot" width="400px" height="200px">
</canvas>
<div id="gantt"></div>
<canvas id="launched_plot" width="400px" height="200px"></canvas>
<canvas id="per_user_plot" width="400px" height="200px"></canvas>
<canvas id="per_state_plot" width="400px" height="200px"></canvas>
</form>
{% endif %}
{% endblock %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment