summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
+ }
});