diff options
-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 00000000..a161c192 --- /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 d3cf6a07..e4c1174c 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 |