column ordering
Change-Id: Ic39dcc67d0676259c112a7b306bc45233e9f3d92
Signed-off-by: lombardofr <lombardo@everyup.it>
diff --git a/instancehandler/template/instance_list.html b/instancehandler/template/instance_list.html
index 39d9b3c..067dcb5 100644
--- a/instancehandler/template/instance_list.html
+++ b/instancehandler/template/instance_list.html
@@ -184,7 +184,8 @@
'</div>';
return template;
},
- "targets": 5
+ "targets": 5,
+ "orderable": false
},
],
@@ -229,7 +230,8 @@
' </button>' +
' </div>';
},
- "targets": 5
+ "targets": 5,
+ "orderable": false
},
],
'pdu': [
@@ -277,7 +279,8 @@
' class="far fa-trash-alt"></i></button>'+
' </div>';
},
- "targets": 5
+ "targets": 5,
+ "orderable": false
}
]
};
diff --git a/instancehandler/template/instance_operations_list.html b/instancehandler/template/instance_operations_list.html
index c4b352f..1568717 100644
--- a/instancehandler/template/instance_operations_list.html
+++ b/instancehandler/template/instance_operations_list.html
@@ -159,9 +159,11 @@
' </button>\n' +
' </div>';
},
- "targets": 5
+ "targets": 5,
+ "orderable": false
}
- ]
+ ],
+ "order": [[ 3, "asc" ]]
});
diff --git a/packagehandler/template/package_list.html b/packagehandler/template/package_list.html
index 9aebd12..7befd12 100644
--- a/packagehandler/template/package_list.html
+++ b/packagehandler/template/package_list.html
@@ -131,7 +131,8 @@
return result
},
- "targets": 5
+ "targets": 5,
+ "orderable": false
}],
'vnf': [
{
@@ -150,7 +151,8 @@
"render": function (data, type, row) {
return row['_admin']['type'] || '';
},
- "targets": 2
+ "targets": 2,
+ "orderable": false
},
{
"render": function (data, type, row) {
@@ -202,7 +204,8 @@
return result
},
- "targets": 6
+ "targets": 6,
+ "orderable": false
}]
};
function refreshTable() {
diff --git a/projecthandler/template/project/projectlist.html b/projecthandler/template/project/projectlist.html
index a90fec8..17382e4 100644
--- a/projecthandler/template/project/projectlist.html
+++ b/projecthandler/template/project/projectlist.html
@@ -127,7 +127,8 @@
' </ul>\n' +
' </div>';
},
- "targets": 3
+ "targets": 3,
+ "orderable": false
}
]
});
diff --git a/sdnctrlhandler/template/sdn_list.html b/sdnctrlhandler/template/sdn_list.html
index da5526f..c42f51c 100644
--- a/sdnctrlhandler/template/sdn_list.html
+++ b/sdnctrlhandler/template/sdn_list.html
@@ -139,7 +139,8 @@
'onclick="javascript:deleteSDN(\''+row['_id']+'\', \''+ row["name"] +'\')" data-toggle="tooltip" data-placement="top" data-container="body" title="Delete">' +
'<i class="far fa-trash-alt" ></i></button></div>';
},
- "targets": 6
+ "targets": 6,
+ "orderable": false
}
]
});
diff --git a/userhandler/templates/user_list.html b/userhandler/templates/user_list.html
index 2a0092f..87753c6 100644
--- a/userhandler/templates/user_list.html
+++ b/userhandler/templates/user_list.html
@@ -138,7 +138,8 @@
'<li> <a href="#" onclick="javascript:deleteUser(\'' + row['_id'] + '\', \'' + row['username'] + '\')"' +
'style="color:red"><i class="fa fa-trash"></i> Delete</a></li> </ul></div>';
},
- "targets": 5
+ "targets": 5,
+ "orderable": false
}
]
});
diff --git a/vimhandler/template/vim_list.html b/vimhandler/template/vim_list.html
index adc823a..ba38f64 100644
--- a/vimhandler/template/vim_list.html
+++ b/vimhandler/template/vim_list.html
@@ -127,7 +127,8 @@
'onclick="javascript:deleteVim(\''+row['_id']+'\', \''+ row["name"] +'\')" data-toggle="tooltip" data-placement="top" data-container="body" title="Delete">' +
'<i class="far fa-trash-alt" ></i></button></div>';
},
- "targets": 5
+ "targets": 5,
+ "orderable": false
}
]
});