mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-30 09:57:51 +01:00
Form design for proxy hosts, audit log base
This commit is contained in:
1 parent
74d2238010
commit
c5450eaa1a
29 files changed
+646
-121
No files matched your search
@@ -13,10 +13,22 @@ module.exports = Mn.View.extend({
|
||||
template: template,
|
||||
|
||||
ui: {
|
||||
link: 'a'
|
||||
link: 'a',
|
||||
details: 'a.edit-details',
|
||||
password: 'a.change-password'
|
||||
},
|
||||
|
||||
events: {
|
||||
'click @ui.details': function (e) {
|
||||
e.preventDefault();
|
||||
Controller.showUserForm(Cache.User);
|
||||
},
|
||||
|
||||
'click @ui.password': function (e) {
|
||||
e.preventDefault();
|
||||
Controller.showUserPasswordForm(Cache.User);
|
||||
},
|
||||
|
||||
'click @ui.link': function (e) {
|
||||
e.preventDefault();
|
||||
let href = $(e.currentTarget).attr('href');
|
||||
@@ -25,9 +37,6 @@ module.exports = Mn.View.extend({
|
||||
case '/':
|
||||
Controller.showDashboard();
|
||||
break;
|
||||
case '/profile':
|
||||
Controller.showProfile();
|
||||
break;
|
||||
case '/logout':
|
||||
Controller.logout();
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user