aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/templates/resource/hosts.html5
-rw-r--r--src/workflow/forms.py4
2 files changed, 3 insertions, 6 deletions
diff --git a/src/templates/resource/hosts.html b/src/templates/resource/hosts.html
index 4a53b45..4bf64e0 100644
--- a/src/templates/resource/hosts.html
+++ b/src/templates/resource/hosts.html
@@ -35,10 +35,7 @@
$(document).ready(function () {
$('#table').DataTable({
scrollX: true,
- columnDefs: [
- {type: 'status', targets: 6}
- ],
- "order": [[6, "asc"]]
+ "order": [[0, "asc"]]
});
});
</script>
diff --git a/src/workflow/forms.py b/src/workflow/forms.py
index 03940d8..b40713f 100644
--- a/src/workflow/forms.py
+++ b/src/workflow/forms.py
@@ -186,9 +186,9 @@ class BookingMetaForm(forms.Form):
widget=NumberInput(
attrs={
"type": "range",
- 'min': "0",
+ 'min': "1",
"max": "21",
- "value": "0"
+ "value": "1"
}
)
)