From 6f6ec9f56cc24be9f432b0a88a29f46277dad7d5 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 17 Jun 2021 12:24:43 +0200 Subject: [PATCH] luci-app-nlbwmon: add missing cbi-button class for database backup Signed-off-by: Florian Eckert --- .../htdocs/luci-static/resources/view/nlbw/backup.js | 2 ++ 1 file changed, 2 insertions(+) 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') ]) ]) -- 2.30.2