summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian
diff options
context:
space:
mode:
authorFederico Ceratto <federico@debian.org>2019-03-02 10:13:06 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-03-02 12:05:23 +0000
commita02214d68facd2122f0ebda7b1017ebc86247152 (patch)
treeca3a1dab25b1c1293d15358b28c26c0d1957cc14 /debian/patches/debian
parentReleasing debian version 1.12.2-1. (diff)
downloadnetdata-a02214d68facd2122f0ebda7b1017ebc86247152.tar.xz
netdata-a02214d68facd2122f0ebda7b1017ebc86247152.zip
Add patch to remove Sign In button
Diffstat (limited to 'debian/patches/debian')
-rw-r--r--debian/patches/debian/0010-remove-login.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/debian/0010-remove-login.patch b/debian/patches/debian/0010-remove-login.patch
new file mode 100644
index 000000000..a161c1921
--- /dev/null
+++ b/debian/patches/debian/0010-remove-login.patch
@@ -0,0 +1,27 @@
+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 @@
+ container.setAttribute("data-original-title", "sign in");
+ container.setAttribute("data-placement", "bottom");
+ container.innerHTML = (
+- `<a href="#" class="btn" onclick="signInDidClick(event); return false">
+- <i class="fas fa-sign-in-alt"></i>&nbsp;<span class="hidden-sm hidden-md">Sign In</span>
+- </a>`
++ ``
+ )
+ }
+ }