summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2024-07-19 08:16:33 +0200
committerFlorian Eckert <fe@dev.tdt.de>2024-07-19 08:16:33 +0200
commit4bb1c8a3c8fe3ef181a536a624c94a0b8a164ee2 (patch)
tree65b95b177075df2774cadd9ccceed4fc6a37d383 /modules
parent46e8c0b8f7f460901a34d6300abb0b31271c3029 (diff)
luci-base: add missing btn css class to button
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/form.js6
1 files changed, 3 insertions, 3 deletions
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') ])