Modified configs so that templates are rendered. Functionality and styling are NOT complete (need to change css framework)

This commit is contained in:
Matthew Smith
2019-10-01 18:10:34 +01:00
parent 1df971bbba
commit 6cff7c090c
13 changed files with 77 additions and 30 deletions

View File

@@ -16,23 +16,7 @@ function filterAssetTable() {
});
}
function updateAsset() {
$.ajax({
url : "/asset/update/", // the endpoint
type : "POST", // http method
data : {
form: $('#asset_update_form').serialize()
},
traditional: true,
success : function(data) {
// console.log(data);
window.location.href = data['url'];
},
error : function(xhr) {console.log(xhr.status + ": " + xhr.responseText)}
});
}
function formAssetSearch() {
$.ajax({