From 9ee37de1db65428861fe3764ac0dd664c16024b6 Mon Sep 17 00:00:00 2001 From: "Jessica B. Hamrick" Date: Tue, 7 Oct 2014 00:16:18 -0700 Subject: [PATCH 1/2] Fix icons and typos in ui tour --- IPython/html/static/notebook/js/tour.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/IPython/html/static/notebook/js/tour.js b/IPython/html/static/notebook/js/tour.js index dcd4e347c..5eb23dd02 100644 --- a/IPython/html/static/notebook/js/tour.js +++ b/IPython/html/static/notebook/js/tour.js @@ -11,13 +11,13 @@ define([ var tour_style = "
\n" + "
\n" + "
\n" + - "\n" + + "\n" + "

\n" + "
\n" + "
\n" + - "\n" + - "\n" + - "\n" + + "\n" + + "\n" + + "\n" + "
\n" + "
"; @@ -31,7 +31,7 @@ define([ title: "Welcome to the Notebook Tour", placement: 'bottom', orphan: true, - content: "You can use the left and right arrow keys to go backwards and forwards.", + content: "You can use the left and right arrow keys to go backwards and forwards." }, { element: "#notebook_name", title: "Filename", @@ -92,15 +92,15 @@ define([ title: "Kernel Indicator", placement: 'bottom', onShow: function(tour) { events.trigger('status_idle.Kernel');}, - content: "This is the Kernel indicator. It looks like this when the Kernel is idle.", + content: "This is the Kernel indicator. It looks like this when the Kernel is idle." }, { element: "#kernel_indicator", title: "Kernel Indicator", placement: 'bottom', onShow: function(tour) { events.trigger('status_busy.Kernel'); }, - content: "The Kernel indicator looks like this when the Kernel is busy.", + content: "The Kernel indicator looks like this when the Kernel is busy." }, { - element: ".icon-stop", + element: ".fa-stop", placement: 'bottom', title: "Interrupting the Kernel", onHide: function(tour) { events.trigger('status_idle.Kernel'); }, @@ -108,14 +108,14 @@ define([ }, { element: "#notification_kernel", placement: 'bottom', - onShow: function(tour) { $('.icon-stop').click(); }, + onShow: function(tour) { $('.fa-stop').click(); }, title: "Notification Area", content: "Messages in response to user actions (Save, Interrupt, etc) appear here." }, { title: "Fin.", placement: 'bottom', orphan: true, - content: "This concludes the IPython Notebook User Interface tour.Tour. Happy hacking!", + content: "This concludes the IPython Notebook User Interface Tour. Happy hacking!" } ]; @@ -156,7 +156,7 @@ define([ }; NotebookTour.prototype.toggle_pause_play = function () { - $('#tour-pause').toggleClass('icon-pause icon-play'); + $('#tour-pause').toggleClass('fa-pause fa-play'); }; NotebookTour.prototype.edit_mode = function() { From 27562308b12b2601098f47cc1e14c26aff7ae8a0 Mon Sep 17 00:00:00 2001 From: "Jessica B. Hamrick" Date: Tue, 7 Oct 2014 10:54:50 -0700 Subject: [PATCH 2/2] Fix button alignment/size --- IPython/html/static/notebook/js/tour.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/IPython/html/static/notebook/js/tour.js b/IPython/html/static/notebook/js/tour.js index 5eb23dd02..e95b92c1d 100644 --- a/IPython/html/static/notebook/js/tour.js +++ b/IPython/html/static/notebook/js/tour.js @@ -11,13 +11,13 @@ define([ var tour_style = "
\n" + "
\n" + "
\n" + - "\n" + + "\n" + "

\n" + "
\n" + "
\n" + - "\n" + - "\n" + - "\n" + + "\n" + + "\n" + + "\n" + "
\n" + "
";