summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayaram R Pai2014-07-06 21:59:58 +0530
committerJayaram R Pai2014-07-06 21:59:58 +0530
commitebcda364123f1538f0e99896a9e80e60123a01df (patch)
tree2d473142cdeab9dc9e12994cc07d8032fd5eecc7
parentaa4e55882c6aa34aaad75f065ca43dbd39e61248 (diff)
downloadcustom-ebcda364123f1538f0e99896a9e80e60123a01df.tar.gz
custom-ebcda364123f1538f0e99896a9e80e60123a01df.tar.bz2
custom-ebcda364123f1538f0e99896a9e80e60123a01df.zip
hid running and clusters link
-rw-r--r--custom.css4
-rw-r--r--custom.js10
2 files changed, 14 insertions, 0 deletions
diff --git a/custom.css b/custom.css
index 2ece19e..ba3b6cf 100644
--- a/custom.css
+++ b/custom.css
@@ -35,3 +35,7 @@ This will always be an empty file in IPython
height: 250px;
border: none;
}
+/* hiding running/custom tabs */
+#running, #clusters {
+ display: none;
+}
diff --git a/custom.js b/custom.js
index ccd057a..417a52b 100644
--- a/custom.js
+++ b/custom.js
@@ -136,4 +136,14 @@ $([IPython.events]).on('notebook_loaded.Notebook', function(){
$comment_modal.find(".modal-body").html($comment_frame);
$comment_modal.modal("show");
});
+
+});
+
+/* hiding running/clusters links */
+$("#tabs a").each(function(index, element) {
+ var href = $(this).attr("href");
+ console.log($(this).attr("href"));
+ if(href == "#running" || href == "#clusters") {
+ $(this).hide();
+ }
});