diff --git a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/diagnost.js b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/diagnost.js index 9e794ba..c66adbc 100644 --- a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/diagnost.js +++ b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/diagnost.js @@ -158,13 +158,17 @@ return baseclass.extend({ E('br'), E('br'), this.logArea, ]), - E('div', { 'class': 'right' }, [ - this.btn_sitescheck, - ' ', - this.btn_dpicheck, - ' ', - this.btn_cancel, - ]) + E('div', { 'style': 'display:flex; justify-content:space-between; align-items:center; margin-top:1px;' }, [ + E('div', { 'class': 'left' }, [ + this.btn_sitescheck, + ' ', + this.btn_dpicheck, + ]), + E('div', { 'class': 'right' }, [ + ' ', + this.btn_cancel, + ]), + ]), ]); } }); diff --git a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/service.js b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/service.js index 908a764..2da7c0a 100644 --- a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/service.js +++ b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/service.js @@ -232,6 +232,7 @@ return view.extend({ let cancel_button = E('button', { 'class': btn_style_neutral, 'click': ui.hideModal, + 'class': btn_style_warning, }, _('Cancel')); let resetcfg_btn = E('button', { @@ -281,11 +282,14 @@ return view.extend({ nfqws_strat, E('br'), E('br') ]), - E('div', { 'class': 'right' }, [ - cancel_button, - ' ', - resetcfg_btn, - ]) + E('div', { 'style': 'display:flex; justify-content:space-between; align-items:center; margin-top:1px;' }, [ + E('div', { 'class': 'left' }, [ + resetcfg_btn, + ]), + E('div', { 'class': 'right' }, [ + cancel_button, + ]), + ]), ]); }, diff --git a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js index c56b64e..373aaae 100644 --- a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js +++ b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js @@ -201,13 +201,17 @@ return baseclass.extend({ E('hr'), this.logArea, ]), - E('div', { 'class': 'right' }, [ - this.btn_check, - ' ', - this.btn_install, - ' ', - this.btn_cancel, - ]) + E('div', { 'style': 'display:flex; justify-content:space-between; align-items:center; margin-top:1px;' }, [ + E('div', { 'class': 'left' }, [ + this.btn_check, + ' ', + this.btn_install, + ]), + E('div', { 'class': 'right' }, [ + ' ', + this.btn_cancel, + ]), + ]), ]); - } + }, });