add region to order list
This commit is contained in:
parent
293db3d068
commit
fd24153ddb
|
@ -18,6 +18,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<!--<th>Region</th>-->
|
<!--<th>Region</th>-->
|
||||||
<th>User</th>
|
<th>User</th>
|
||||||
|
<th>Region</th>
|
||||||
<th>Recipe</th>
|
<th>Recipe</th>
|
||||||
<th>param 1</th>
|
<th>param 1</th>
|
||||||
<th>param 2</th>
|
<th>param 2</th>
|
||||||
|
@ -29,8 +30,8 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for order in orders %}
|
{% for order in orders %}
|
||||||
<tr>
|
<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="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="Recipe"><a href="#" title="{{ order.recipe.description }}">{{ order.recipe.templatefile }}</a></td>
|
||||||
<td data-title="Parameter1">{{ order.parameter1 }}</td>
|
<td data-title="Parameter1">{{ order.parameter1 }}</td>
|
||||||
<td data-title="Parameter2">{{ order.parameter2 }}</td>
|
<td data-title="Parameter2">{{ order.parameter2 }}</td>
|
||||||
|
|
|
@ -3,28 +3,6 @@
|
||||||
{% block title %}Create{% endblock %}
|
{% block title %}Create{% endblock %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% 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">
|
<div class="page-header">
|
||||||
<h1>Deploy</h1>
|
<h1>Deploy</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue