Shell for UI pages, some placeholder dashboard stats

This commit is contained in:
Jamie Curnow
2018-06-26 11:56:10 +10:00
parent 493bb77169
commit c69b174771
23 changed files with 328 additions and 24 deletions

View File

@ -225,5 +225,15 @@ module.exports = {
loginAs: function (id) {
return fetch('post', 'users/' + id + '/login');
}
},
Reports: {
/**
* @returns {Promise}
*/
getHostStats: function () {
return fetch('get', 'reports/hosts');
},
}
};