add region to order list

This commit is contained in:
deflax 2018-04-02 00:15:30 +03:00
parent 293db3d068
commit fd24153ddb
2 changed files with 2 additions and 23 deletions

View file

@ -18,6 +18,7 @@
<tr>
<!--<th>Region</th>-->
<th>User</th>
<th>Region</th>
<th>Recipe</th>
<th>param 1</th>
<th>param 2</th>
@ -29,8 +30,8 @@
<tbody>
{% for order in orders %}
<tr>
<!--<td data-title="Region">region1</td>-->
<td data-title="User"><a href="{{ url_for('panel.dashboard', user_pid=order.user_id) }}">{{ order.owner.email }}</a></td>
<td data-title="Region">{{ order.region.description }}</td>
<td data-title="Recipe"><a href="#" title="{{ order.recipe.description }}">{{ order.recipe.templatefile }}</a></td>
<td data-title="Parameter1">{{ order.parameter1 }}</td>
<td data-title="Parameter2">{{ order.parameter2 }}</td>

View file

@ -3,28 +3,6 @@
{% block title %}Create{% endblock %}
{% block page_content %}
<script>
window.onload =$(function(){
$("#noUiSlider").empty().noUiSlider( 'init', {
start: 0,
step: 1,
format: wNumb({
decimals: 0
}),
range: {
min: 1,
max: 16
}
});
});
</script>
<div class="page-header">
<h1>Deploy</h1>
</div>