mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-01-31 14:50:48 +03:00
luci: Fix buttons on modal dialogues
This commit is contained in:
@@ -158,13 +158,17 @@ return baseclass.extend({
|
|||||||
E('br'), E('br'),
|
E('br'), E('br'),
|
||||||
this.logArea,
|
this.logArea,
|
||||||
]),
|
]),
|
||||||
E('div', { 'class': 'right' }, [
|
E('div', { 'style': 'display:flex; justify-content:space-between; align-items:center; margin-top:1px;' }, [
|
||||||
this.btn_sitescheck,
|
E('div', { 'class': 'left' }, [
|
||||||
' ',
|
this.btn_sitescheck,
|
||||||
this.btn_dpicheck,
|
' ',
|
||||||
' ',
|
this.btn_dpicheck,
|
||||||
this.btn_cancel,
|
]),
|
||||||
])
|
E('div', { 'class': 'right' }, [
|
||||||
|
' ',
|
||||||
|
this.btn_cancel,
|
||||||
|
]),
|
||||||
|
]),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -232,6 +232,7 @@ return view.extend({
|
|||||||
let cancel_button = E('button', {
|
let cancel_button = E('button', {
|
||||||
'class': btn_style_neutral,
|
'class': btn_style_neutral,
|
||||||
'click': ui.hideModal,
|
'click': ui.hideModal,
|
||||||
|
'class': btn_style_warning,
|
||||||
}, _('Cancel'));
|
}, _('Cancel'));
|
||||||
|
|
||||||
let resetcfg_btn = E('button', {
|
let resetcfg_btn = E('button', {
|
||||||
@@ -281,11 +282,14 @@ return view.extend({
|
|||||||
nfqws_strat,
|
nfqws_strat,
|
||||||
E('br'), E('br')
|
E('br'), E('br')
|
||||||
]),
|
]),
|
||||||
E('div', { 'class': 'right' }, [
|
E('div', { 'style': 'display:flex; justify-content:space-between; align-items:center; margin-top:1px;' }, [
|
||||||
cancel_button,
|
E('div', { 'class': 'left' }, [
|
||||||
' ',
|
resetcfg_btn,
|
||||||
resetcfg_btn,
|
]),
|
||||||
])
|
E('div', { 'class': 'right' }, [
|
||||||
|
cancel_button,
|
||||||
|
]),
|
||||||
|
]),
|
||||||
]);
|
]);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -201,13 +201,17 @@ return baseclass.extend({
|
|||||||
E('hr'),
|
E('hr'),
|
||||||
this.logArea,
|
this.logArea,
|
||||||
]),
|
]),
|
||||||
E('div', { 'class': 'right' }, [
|
E('div', { 'style': 'display:flex; justify-content:space-between; align-items:center; margin-top:1px;' }, [
|
||||||
this.btn_check,
|
E('div', { 'class': 'left' }, [
|
||||||
' ',
|
this.btn_check,
|
||||||
this.btn_install,
|
' ',
|
||||||
' ',
|
this.btn_install,
|
||||||
this.btn_cancel,
|
]),
|
||||||
])
|
E('div', { 'class': 'right' }, [
|
||||||
|
' ',
|
||||||
|
this.btn_cancel,
|
||||||
|
]),
|
||||||
|
]),
|
||||||
]);
|
]);
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user