luci-app-nlbwmon: add missing cbi-button class for database backup
authorFlorian Eckert <[email protected]>
Thu, 17 Jun 2021 10:24:43 +0000 (12:24 +0200)
committerFlorian Eckert <[email protected]>
Mon, 21 Jun 2021 10:03:06 +0000 (12:03 +0200)
Signed-off-by: Florian Eckert <[email protected]>
(cherry picked from commit 6f6ec9f56cc24be9f432b0a88a29f46277dad7d5)

applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js

index c5fcfe5cf84987379e546da5dd9d280e6173b8cc..0b13e6fdf2022cf129b129331c933a5229ed7e13 100644 (file)
@@ -52,12 +52,14 @@ return view.extend({
                        E('h5', [ _('Restore Database Backup') ]),
                        E('p', [
                                E('button', {
+                                       'class': 'cbi-button',
                                        'click': ui.createHandlerFn(this, 'handleArchiveUpload')
                                }, [ _('Restore') ])
                        ]),
                        E('h5', [ _('Download Database Backup') ]),
                        E('p', [
                                E('button', {
+                                       'class': 'cbi-button',
                                        'click': ui.createHandlerFn(this, 'handleArchiveDownload', hostname)
                                }, [ _('Generate Backup') ])
                        ])