Added Stream forwarding support

This commit is contained in:
Jamie Curnow
2018-02-16 16:57:54 +10:00
parent d2130a24a1
commit b57d1e5a66
15 changed files with 264 additions and 38 deletions

View File

@ -28,7 +28,8 @@ module.exports = Mn.View.extend({
ui: {
new_proxy: 'th .new-proxy',
new_redirection: 'th .new-redirection',
new_404: 'th .new-404'
new_404: 'th .new-404',
new_stream: 'th .new-stream'
},
events: {
@ -45,6 +46,11 @@ module.exports = Mn.View.extend({
'click @ui.new_404': function (e) {
e.preventDefault();
Controller.show404HostForm(new HostModel.Model);
},
'click @ui.new_stream': function (e) {
e.preventDefault();
Controller.showStreamHostForm(new HostModel.Model);
}
},