column ordering 87/7087/1
authorlombardofr <lombardo@everyup.it>
Sun, 6 Jan 2019 18:41:34 +0000 (19:41 +0100)
committerlombardofr <lombardo@everyup.it>
Sun, 6 Jan 2019 18:41:34 +0000 (19:41 +0100)
Change-Id: Ic39dcc67d0676259c112a7b306bc45233e9f3d92
Signed-off-by: lombardofr <lombardo@everyup.it>
instancehandler/template/instance_list.html
instancehandler/template/instance_operations_list.html
packagehandler/template/package_list.html
projecthandler/template/project/projectlist.html
sdnctrlhandler/template/sdn_list.html
userhandler/templates/user_list.html
vimhandler/template/vim_list.html

index 39d9b3c..067dcb5 100644 (file)
                             '</div>';
                           return template;
                     },
-                    "targets": 5
+                    "targets": 5,
+                    "orderable": false
                 },
 
             ],
                             '     </button>' +
                             ' </div>';
                     },
-                    "targets": 5
+                    "targets": 5,
+                    "orderable": false
                 },
             ],
             'pdu': [
                             '         class="far fa-trash-alt"></i></button>'+
                             ' </div>';
                     },
-                    "targets": 5
+                    "targets": 5,
+                    "orderable": false
                 }
             ]
         };
index c4b352f..1568717 100644 (file)
                             '     </button>\n' +
                             ' </div>';
                     },
-                    "targets": 5
+                    "targets": 5,
+                    "orderable": false
                 }
-                ]
+                ],
+                "order": [[ 3, "asc" ]]
             });
 
 
index 9aebd12..7befd12 100644 (file)
 
                                return result
                     },
-                    "targets": 5
+                    "targets": 5,
+                    "orderable": false
                 }],
         'vnf': [
                 {
                     "render": function (data, type, row) {
                        return row['_admin']['type'] || '';
                     },
-                    "targets": 2
+                    "targets": 2,
+                    "orderable": false
                 },
                 {
                     "render": function (data, type, row) {
 
                                return result
                     },
-                    "targets": 6
+                    "targets": 6,
+                    "orderable": false
                 }]
     };
     function refreshTable() {
index a90fec8..17382e4 100644 (file)
                             ' </ul>\n' +
                             ' </div>';
                     },
-                    "targets": 3
+                    "targets": 3,
+                    "orderable": false
                 }
             ]
         });
index da5526f..c42f51c 100644 (file)
                         '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
                 }
             ]
         });
index 2a0092f..87753c6 100644 (file)
                                 '<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
                     }
                 ]
             });
index adc823a..ba38f64 100644 (file)
                         '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
                 }
             ]
         });