summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-03-02 12:16:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-03-02 12:16:58 +0000
commit9db79180bd0540c6ae121bb305f7d72cd811743e (patch)
treeffcecebd7d5b5720c0735fbedd2671b6fb2e0c15
parentAdd patch to remove Sign In button (diff)
downloadnetdata-9db79180bd0540c6ae121bb305f7d72cd811743e.tar.xz
netdata-9db79180bd0540c6ae121bb305f7d72cd811743e.zip
When disabling the 'Sign In' button on the right side, only turn it off in the javascript and keep the html unmodified.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/debian/0010-remove-login.patch18
1 files changed, 4 insertions, 14 deletions
diff --git a/debian/patches/debian/0010-remove-login.patch b/debian/patches/debian/0010-remove-login.patch
index a161c192..74b5e067 100644
--- a/debian/patches/debian/0010-remove-login.patch
+++ b/debian/patches/debian/0010-remove-login.patch
@@ -1,20 +1,10 @@
Author: Federico Ceratto <federico@debian.org>
Description: remove Sign In button from main HTML page
---- a/web/gui/index.html
-+++ b/web/gui/index.html
-@@ -1228,8 +1228,6 @@
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
-- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
-- <h4 class="modal-title" id="signInModalLabel">Sign In</h4>
- </div>
- <div class="modal-body">
- <p>
---- a/web/gui/main.js
-+++ b/web/gui/main.js
-@@ -4748,9 +4748,7 @@
+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() {
container.setAttribute("data-original-title", "sign in");
container.setAttribute("data-placement", "bottom");
container.innerHTML = (