Streams wip

This commit is contained in:
Jamie Curnow
2018-07-24 18:33:00 +10:00
parent 52fcc90b1c
commit 9da3bafd4c
13 changed files with 279 additions and 86 deletions

View File

@ -214,6 +214,19 @@ module.exports = {
}
},
/**
* Nginx Stream Form
*
* @param [model]
*/
showNginxStreamForm: function (model) {
if (Cache.User.isAdmin() || Cache.User.canManage('proxy_hosts')) {
require(['./main', './nginx/stream/form'], function (App, View) {
App.UI.showModalDialog(new View({model: model}));
});
}
},
/**
* Nginx Dead Hosts
*/