Form design for proxy hosts, audit log base

This commit is contained in:
Jamie Curnow
2018-07-16 17:00:52 +10:00
parent 74d2238010
commit c5450eaa1a
29 changed files with 646 additions and 121 deletions

View File

@ -204,15 +204,18 @@ module.exports = {
},
/**
* Dashboard
* Audit Log
*/
showProfile: function () {
showAuditLog: function () {
let controller = this;
require(['./main', './profile/main'], (App, View) => {
controller.navigate('/profile');
App.UI.showAppContent(new View());
});
if (Cache.User.isAdmin()) {
require(['./main', './audit-log/main'], (App, View) => {
controller.navigate('/audit-log');
App.UI.showAppContent(new View());
});
} else {
this.showDashboard();
}
},
/**