summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2016-07-22 11:25:10 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2016-07-22 11:25:10 +0000
commit96b933df2b0f2755c4db890c4c7361723c0f6dda (patch)
tree3fd98686de6adc55e18986878f42f603ceacdc00
parent/run instead of /var/run (diff)
downloadnetdata-96b933df2b0f2755c4db890c4c7361723c0f6dda.tar.xz
netdata-96b933df2b0f2755c4db890c4c7361723c0f6dda.zip
Hide update button
-rw-r--r--debian/patches/0003-hide-update-button.patch11
-rw-r--r--debian/patches/series1
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/0003-hide-update-button.patch b/debian/patches/0003-hide-update-button.patch
new file mode 100644
index 000000000..8a40c7fe4
--- /dev/null
+++ b/debian/patches/0003-hide-update-button.patch
@@ -0,0 +1,11 @@
+--- a/web/index.html
++++ b/web/index.html
+@@ -465,7 +465,7 @@
+ <ul class="nav navbar-nav">
+ <li class="hidden-sm"><a href="#" class="btn" data-toggle="modal" data-target="#optionsModal"><i class="fa fa-cog"></i> settings</a></li>
+ <li class="hidden-sm"><a href="https://github.com/firehol/netdata/wiki" class="btn" target="_blank"><i class="fa fa-github"></i> community</a></li>
+- <li hidden class="hidden-sm" id="updateButton"><a href="#" class="btn" data-toggle="modal" data-target="#updateModal"><i class="fa fa-cloud-download"></i> update</a></li>
++ <li hidden class="hidden-sm" id="updateButton" style="display:none;"><a href="#" class="btn" data-toggle="modal" data-target="#updateModal"><i class="fa fa-cloud-download"></i> update</a></li>
+ <li class="hidden-sm"><a href="#" class="btn" data-toggle="modal" data-target="#helpModal"><i class="fa fa-question-circle"></i> help</a></li>
+ <li class="dropdown hidden-md hidden-lg hidden-xs">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown" id="current_view">Menu <strong class="caret"></strong></a>
diff --git a/debian/patches/series b/debian/patches/series
index 3d3711728..06df2fb72 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-linked-js-css-fonts-removed-from-make.patch
0002-remove-file-serve-ownership-restrictions-for-root.patch
+0003-hide-update-button.patch