Shell for UI pages, some placeholder dashboard stats

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

No files matched your search

+10
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');
},
}
};