mirror of
https://github.com/openwrt/luci.git
synced 2025-12-27 01:09:37 +04:00
luci-base: add missing btn css class to button
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -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') ])
|
||||
|
||||
Reference in New Issue
Block a user