summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-12-29 13:57:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-12-29 13:57:30 +0000
commit8ed9a8b998f0af318da9eb7a805bec8f39eb91cb (patch)
treecca2e9d291442c80e000c6068758ef79da6c7d45
parentUpdate spelling of upstream project name in copyright. (diff)
downloadnetdata-8ed9a8b998f0af318da9eb7a805bec8f39eb91cb.tar.xz
netdata-8ed9a8b998f0af318da9eb7a805bec8f39eb91cb.zip
Adding patch to hide social-media buttons in navbar to declutter the interface.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/0003-hide-social-media-buttons.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/0003-hide-social-media-buttons.patch b/debian/patches/0003-hide-social-media-buttons.patch
new file mode 100644
index 000000000..33fca6246
--- /dev/null
+++ b/debian/patches/0003-hide-social-media-buttons.patch
@@ -0,0 +1,15 @@
+diff -Naurp netdata.orig/web/gui/index.html netdata/web/gui/index.html
+--- netdata.orig/web/gui/index.html
++++ netdata/web/gui/index.html
+@@ -98,9 +98,11 @@
+ <!--
+ <li title="check for netdata updates<br/>you should keep your netdata updated" data-toggle="tooltip" data-placement="bottom" class="hidden-sm" id="updateButton"><a href="#" class="btn" data-toggle="modal" data-target="#updateModal"><i class="fas fa-cloud-download-alt"></i> <span class="hidden-sm hidden-md">Update </span><span id="update_badge" class="badge"></span></a></li>
+ -->
++ <!--
+ <li title="the netdata wiki home at github<br/>remember to <b>give netdata a <i class=&quot;fas fa-star&quot;></i></b> !" data-toggle="tooltip" data-placement="bottom" class="hidden-sm hidden-md"><a href="https://github.com/netdata/netdata/wiki" class="btn" target="_blank"><i class="fab fa-github"></i></a></li>
+ <li title="follow netdata on twitter" data-toggle="tooltip" data-placement="bottom" class="hidden-sm hidden-md"><a href="https://twitter.com/linuxnetdata" class="btn" target="_blank"><i class="fab fa-twitter"></i></a></li>
+ <li title="like netdata on facebook" data-toggle="tooltip" data-placement="bottom" class="hidden-sm hidden-md"><a href="https://www.facebook.com/linuxnetdata/" class="btn" target="_blank"><i class="fab fa-facebook"></i></a></li>
++ -->
+ <li title="import / load a netdata snapshot" data-toggle="tooltip" data-placement="bottom" id="loadButton"><a href="#" class="btn" data-toggle="modal" data-target="#loadSnapshotModal"><i class="fas fa-download"></i>&nbsp;<span class="hidden-sm hidden-md hidden-lg">Import</span></a></li>
+ <li title="export / save a netdata snapshot" data-toggle="tooltip" data-placement="bottom" id="saveButton"><a href="#" class="btn" data-toggle="modal" data-target="#saveSnapshotModal"><i class="fas fa-upload"></i>&nbsp;<span class="hidden-sm hidden-md hidden-lg">Export</span></a></li>
+ <li title="print this dashboard to PDF" data-toggle="tooltip" data-placement="bottom" id="printButton"><a href="#" class="btn" data-toggle="modal" data-target="#printPreflightModal"><i class="fas fa-print"></i>&nbsp;<span class="hidden-sm hidden-md hidden-lg">Print</span></a></li>
diff --git a/debian/patches/series b/debian/patches/series
index 3d95f9711..39fa3eb8e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,6 +1,7 @@
0001-python-libraries-removed-from-make.patch
0002-remove-file-serve-restrictions-for-symlinks.patch
0003-hide-update-button.patch
+0003-hide-social-media-buttons.patch
0004-debianize-path-to-exim4-binary.patch
0005-remove-infographic-for-privacy-breach-reasons.patch
0006-force-usage-of-python3.patch