From fe3e0800565762fbd1a27844155ee553b19ba122 2014-06-09 19:05:37 From: Jonathan Frederic Date: 2014-06-09 19:05:37 Subject: [PATCH] Fix automation errors. --- diff --git a/IPython/html/services/notebooks/tests/test_notebooks_api.py b/IPython/html/services/notebooks/tests/test_notebooks_api.py index fcb920a..c8c82e8 100644 --- a/IPython/html/services/notebooks/tests/test_notebooks_api.py +++ b/IPython/html/services/notebooks/tests/test_notebooks_api.py @@ -300,7 +300,7 @@ class APITest(NotebookTestBase): saved = resp.json() self.assertEqual(saved['name'], 'a2.ipynb') self.assertEqual(saved['path'], 'foo/bar') - assert os.path.isfile(pjoin(self.notebook_dir.name,'foo','progress-bar','a2.ipynb')) + assert os.path.isfile(pjoin(self.notebook_dir.name,'foo','bar','a2.ipynb')) assert not os.path.isfile(pjoin(self.notebook_dir.name, 'foo', 'a.ipynb')) with assert_http_error(404): self.nb_api.read('a.ipynb', 'foo') diff --git a/IPython/html/static/custom/custom.js b/IPython/html/static/custom/custom.js index 8e3cc5f..f8d1afe 100644 --- a/IPython/html/static/custom/custom.js +++ b/IPython/html/static/custom/custom.js @@ -20,7 +20,7 @@ * $([IPython.events]).on('app_initialized.NotebookApp', function(){ * IPython.toolbar.add_buttons_group([ * { - * 'label label-default' : 'run qtconsole', + * 'label' : 'run qtconsole', * 'icon' : 'icon-terminal', // select your icon from http://fortawesome.github.io/Font-Awesome/icons * 'callback': function () { * IPython.notebook.kernel.execute('%qtconsole') diff --git a/IPython/html/static/notebook/js/celltoolbar.js b/IPython/html/static/notebook/js/celltoolbar.js index 05e203f..8a1d231 100644 --- a/IPython/html/static/notebook/js/celltoolbar.js +++ b/IPython/html/static/notebook/js/celltoolbar.js @@ -144,7 +144,7 @@ var IPython = (function (IPython) { * button.click(function(){ * var v = cell.metadata.foo; * cell.metadata.foo = !v; - * button.button("option", "label label-default", String(!v)); + * button.button("option", "label", String(!v)); * }) * * // add the button to the DOM div. diff --git a/IPython/html/static/notebook/js/celltoolbarpresets/example.js b/IPython/html/static/notebook/js/celltoolbarpresets/example.js index 126c5eb..8f26c4e 100644 --- a/IPython/html/static/notebook/js/celltoolbarpresets/example.js +++ b/IPython/html/static/notebook/js/celltoolbarpresets/example.js @@ -64,7 +64,7 @@ button.click(function(){ var v = cell.metadata.foo; cell.metadata.foo = !v; - button.button("option","label label-default",String(!v)); + button.button("option","label",String(!v)); }) button_container.append(button); } diff --git a/IPython/html/static/notebook/js/tour.js b/IPython/html/static/notebook/js/tour.js index d3c6367..89c60b4 100644 --- a/IPython/html/static/notebook/js/tour.js +++ b/IPython/html/static/notebook/js/tour.js @@ -116,9 +116,9 @@ var tour_style = "
\

\
\
\ - \ - \ - \ + \ + \ + \
\
"; diff --git a/IPython/html/static/notebook/less/toolbar.less b/IPython/html/static/notebook/less/toolbar.less index b05646d..1186d6d 100644 --- a/IPython/html/static/notebook/less/toolbar.less +++ b/IPython/html/static/notebook/less/toolbar.less @@ -15,7 +15,7 @@ padding: 0px; padding-top: 3px; } - .btn.btn-default { + .btn { padding: 2px 8px; } } diff --git a/IPython/html/static/tree/js/notebooklist.js b/IPython/html/static/tree/js/notebooklist.js index 838c69c..14f7026 100644 --- a/IPython/html/static/tree/js/notebooklist.js +++ b/IPython/html/static/tree/js/notebooklist.js @@ -265,7 +265,7 @@ var IPython = (function (IPython) { NotebookList.prototype.add_shutdown_button = function (item, session) { var that = this; - var shutdown_button = $("