luci-app-nlbwmon: add missing cbi-button class for database backup
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 17 Jun 2021 10:24:43 +0000 (12:24 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Thu, 17 Jun 2021 10:24:43 +0000 (12:24 +0200)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
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') ])
                        ])