From 64f669dc69dd6a72d6ae1bde9e780cb095cb0d17 Mon Sep 17 00:00:00 2001 From: MinRK Date: Fri, 31 May 2013 13:54:05 -0700 Subject: [PATCH] bootstrap toolbar --- .../static/notebook/js/maintoolbar.js | 26 +++++++-------- .../notebook/static/notebook/js/toolbar.js | 33 +++++++++---------- .../static/notebook/less/toolbar.less | 18 ++++------ 3 files changed, 34 insertions(+), 43 deletions(-) diff --git a/IPython/frontend/html/notebook/static/notebook/js/maintoolbar.js b/IPython/frontend/html/notebook/static/notebook/js/maintoolbar.js index e0e4d9dc8..0798b4737 100644 --- a/IPython/frontend/html/notebook/static/notebook/js/maintoolbar.js +++ b/IPython/frontend/html/notebook/static/notebook/js/maintoolbar.js @@ -26,7 +26,7 @@ var IPython = (function (IPython) { { id : 'save_b', label : 'Save and Checkpoint', - icon : 'ui-icon-disk', + icon : 'icon-hdd', callback : function () { IPython.notebook.save_checkpoint(); } @@ -36,7 +36,7 @@ var IPython = (function (IPython) { { id : 'cut_b', label : 'Cut Cell', - icon : 'ui-icon-scissors', + icon : 'icon-cut', callback : function () { IPython.notebook.cut_cell(); } @@ -44,7 +44,7 @@ var IPython = (function (IPython) { { id : 'copy_b', label : 'Copy Cell', - icon : 'ui-icon-copy', + icon : 'icon-copy', callback : function () { IPython.notebook.copy_cell(); } @@ -52,7 +52,7 @@ var IPython = (function (IPython) { { id : 'paste_b', label : 'Paste Cell Below', - icon : 'ui-icon-clipboard', + icon : 'icon-paste', callback : function () { IPython.notebook.paste_cell_below(); } @@ -63,7 +63,7 @@ var IPython = (function (IPython) { { id : 'move_up_b', label : 'Move Cell Up', - icon : 'ui-icon-arrowthick-1-n', + icon : 'icon-arrow-up', callback : function () { IPython.notebook.move_cell_up(); } @@ -71,7 +71,7 @@ var IPython = (function (IPython) { { id : 'move_down_b', label : 'Move Cell Down', - icon : 'ui-icon-arrowthick-1-s', + icon : 'icon-arrow-up', callback : function () { IPython.notebook.move_cell_down(); } @@ -82,7 +82,7 @@ var IPython = (function (IPython) { { id : 'insert_above_b', label : 'Insert Cell Above', - icon : 'ui-icon-arrowthickstop-1-n', + icon : 'icon-circle-arrow-up', callback : function () { IPython.notebook.insert_cell_above('code'); } @@ -90,7 +90,7 @@ var IPython = (function (IPython) { { id : 'insert_below_b', label : 'Insert Cell Below', - icon : 'ui-icon-arrowthickstop-1-s', + icon : 'icon-circle-arrow-down', callback : function () { IPython.notebook.insert_cell_below('code'); } @@ -101,7 +101,7 @@ var IPython = (function (IPython) { { id : 'run_b', label : 'Run Cell', - icon : 'ui-icon-play', + icon : 'icon-play', callback : function () { IPython.notebook.execute_selected_cell(); } @@ -109,7 +109,7 @@ var IPython = (function (IPython) { { id : 'interrupt_b', label : 'Interrupt', - icon : 'ui-icon-stop', + icon : 'icon-stop', callback : function () { IPython.notebook.kernel.interrupt(); } @@ -121,7 +121,7 @@ var IPython = (function (IPython) { this.element .append($('') - .addClass('ui-widget-content') + // .addClass('ui-widget-content') .attr('id', 'ctb_select') .append($('