diff options
author | Florian Eckert <fe@dev.tdt.de> | 2021-06-17 12:24:43 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2021-06-17 12:24:43 +0200 |
commit | 6f6ec9f56cc24be9f432b0a88a29f46277dad7d5 (patch) | |
tree | 43aab92d0ca90f4d47980cab1bb6e9426944efb1 | |
parent | 7a365183296f385bb8cb14b8eb6fcfc29941c7e4 (diff) |
luci-app-nlbwmon: add missing cbi-button class for database backup
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
-rw-r--r-- | applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js index c5fcfe5cf8..0b13e6fdf2 100644 --- a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js +++ b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js @@ -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') ]) ]) |