summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-04-18 05:14:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-04-18 05:14:41 +0000
commit8abe9aa30e5e9b3209eea6387064a72ce78caa85 (patch)
tree8139ef4a3d6cd5f890f53a9f49e3e8c2a4f66485
parentRefreshing remove-googleanalytics.patch. (diff)
downloadnetdata-8abe9aa30e5e9b3209eea6387064a72ce78caa85.tar.xz
netdata-8abe9aa30e5e9b3209eea6387064a72ce78caa85.zip
Refreshing remove-login.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/debian/0010-remove-login.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/debian/0010-remove-login.patch b/debian/patches/debian/0010-remove-login.patch
index 74b5e067d..686b0f76c 100644
--- a/debian/patches/debian/0010-remove-login.patch
+++ b/debian/patches/debian/0010-remove-login.patch
@@ -4,11 +4,11 @@ Description: remove Sign In button from main HTML page
diff -Naurp netdata.orig/web/gui/main.js netdata/web/gui/main.js
--- netdata.orig/web/gui/main.js
+++ netdata/web/gui/main.js
-@@ -4758,9 +4758,7 @@ function renderAccountUI() {
+@@ -4788,9 +4788,7 @@ function renderAccountUI() {
container.setAttribute("data-original-title", "sign in");
container.setAttribute("data-placement", "bottom");
container.innerHTML = (
-- `<a href="#" class="btn" onclick="signInDidClick(event); return false">
+- `<a href="#" class="btn sign-in-btn theme-${netdataTheme}" onclick="signInDidClick(event); return false">
- <i class="fas fa-sign-in-alt"></i>&nbsp;<span class="hidden-sm hidden-md">Sign In</span>
- </a>`
+ ``