From ebcda364123f1538f0e99896a9e80e60123a01df Mon Sep 17 00:00:00 2001 From: Jayaram R Pai Date: Sun, 6 Jul 2014 21:59:58 +0530 Subject: hid running and clusters link --- custom.css | 4 ++++ custom.js | 10 ++++++++++ 2 files changed, 14 insertions(+) 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(); + } }); -- cgit