From: Florian Eckert Date: Fri, 19 Jul 2024 06:16:33 +0000 (+0200) Subject: luci-base: add missing btn css class to button X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=4bb1c8a3c8fe3ef181a536a624c94a0b8a164ee2;p=openwrt-luci.git luci-base: add missing btn css class to button Signed-off-by: Florian Eckert --- diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index c6d2445a55..337c9608b1 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -2672,7 +2672,7 @@ var CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection.p dom.append(tdEl.lastElementChild, E('button', { 'title': _('Edit'), - 'class': 'cbi-button cbi-button-edit', + 'class': 'btn cbi-button cbi-button-edit', 'click': evFn }, [ _('Edit') ]) ); @@ -2682,7 +2682,7 @@ var CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection.p dom.append(tdEl.lastElementChild, E('button', { 'title': more_label, - 'class': 'cbi-button cbi-button-edit', + 'class': 'btn cbi-button cbi-button-edit', 'click': ui.createHandlerFn(this, 'renderMoreOptionsModal', section_id) }, [ more_label ]) ); @@ -2694,7 +2694,7 @@ var CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection.p dom.append(tdEl.lastElementChild, E('button', { 'title': btn_title || _('Delete'), - 'class': 'cbi-button cbi-button-remove', + 'class': 'btn cbi-button cbi-button-remove', 'click': ui.createHandlerFn(this, 'handleRemove', section_id), 'disabled': this.map.readonly || null }, [ btn_title || _('Delete') ])