Skip to content

Commit

Permalink
GET-STORAGE-INFO lite front end
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-moody committed Oct 19, 2016
1 parent 6c6fe3e commit 8299c6c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion roles/xsce-admin/files/console/js/admin_console.js
Original file line number Diff line number Diff line change
Expand Up @@ -1298,10 +1298,26 @@ function procDiskSpace(){
function getSysStorage()
{
var command = "GET-STORAGE-INFO"
sendCmdSrvCmd(command, procSysStorage);
sendCmdSrvCmd(command, procSysStorageLite);
return true;
}

function procSysStorageLite(data)
{
//alert ("in procSysStorage");

consoleLog(data);
var sysStorageRpt = data['system_fs'];
var html = "";
for (var i in sysStorageRpt)
html += sysStorageRpt[i] + "<BR>"

$( "#sysStorage" ).html(html);
//consoleLog(jqXHR);
return true;
}

// need to rewrite the function below for lvm, etc.
function procSysStorage()
{
//alert ("in procSysStorage");
Expand Down

0 comments on commit 8299c6c

Please sign in to comment.