diff options
Diffstat (limited to 'dashboard/src')
-rw-r--r-- | dashboard/src/templates/resource/hosts.html | 5 | ||||
-rw-r--r-- | dashboard/src/workflow/forms.py | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/dashboard/src/templates/resource/hosts.html b/dashboard/src/templates/resource/hosts.html index 4a53b45..4bf64e0 100644 --- a/dashboard/src/templates/resource/hosts.html +++ b/dashboard/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/dashboard/src/workflow/forms.py b/dashboard/src/workflow/forms.py index 03940d8..b40713f 100644 --- a/dashboard/src/workflow/forms.py +++ b/dashboard/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" } ) ) |