From 4bb1c8a3c8fe3ef181a536a624c94a0b8a164ee2 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 19 Jul 2024 08:16:33 +0200 Subject: luci-base: add missing btn css class to button Signed-off-by: Florian Eckert --- modules/luci-base/htdocs/luci-static/resources/form.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/luci-base/htdocs/luci-static/resources/form.js') 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') ]) -- cgit v1.2.3