diff --git a/modals.php b/modals.php
index 7343979..46c7ce8 100755
--- a/modals.php
+++ b/modals.php
@@ -218,17 +218,17 @@
+
+
+
+ Reserved?
+
-
-
-
- Reserved?
-
diff --git a/static/cluster.js b/static/cluster.js
index 0a6ab7a..b65b0ed 100755
--- a/static/cluster.js
+++ b/static/cluster.js
@@ -2,6 +2,9 @@ function register_events_cluster() {
$('#btn-cluster-add').click(function (e) {
$('#form-cluster-submit-type').val('add');
$('#form-cluster-name').removeAttr('disabled');
+ $('#form-cluster-name').val('');
+ $('#form-cluster-weight').val(10);
+ $('#form-cluster-reserved').prop('checked', false);
$('#modal-cluster').modal('show');
});
@@ -77,6 +80,16 @@ function load_clusters() {
title: 'Name',
align: 'center',
valign: 'middle'
+ }, {
+ field: 'reserved',
+ title: 'Reserved',
+ align: 'center',
+ valign: 'middle'
+ }, {
+ field: 'weight',
+ title: 'Weight',
+ align: 'center',
+ valign: 'middle'
}, {
field: 'operate',
title: 'Operate',