diff options
author | Federico Ceratto <federico@debian.org> | 2019-03-02 10:13:06 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-03-02 12:05:23 +0000 |
commit | a02214d68facd2122f0ebda7b1017ebc86247152 (patch) | |
tree | ca3a1dab25b1c1293d15358b28c26c0d1957cc14 | |
parent | Releasing debian version 1.12.2-1. (diff) | |
download | netdata-a02214d68facd2122f0ebda7b1017ebc86247152.tar.xz netdata-a02214d68facd2122f0ebda7b1017ebc86247152.zip |
Add patch to remove Sign In button
-rw-r--r-- | debian/patches/debian/0010-remove-login.patch | 27 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 28 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">×</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> <span class="hidden-sm hidden-md">Sign In</span> +- </a>` ++ `` + ) + } + } diff --git a/debian/patches/series b/debian/patches/series index d3cf6a077..e4c1174c3 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -8,3 +8,4 @@ debian/0007-remove-update-button.patch debian/0008-remove-social-media-buttons.patch debian/0009-remove-googleanalytics.patch upstream/0001-allow-symlinks.patch +debian/0010-remove-login.patch |