##// END OF EJS Templates
Fix icons and typos in ui tour
Jessica B. Hamrick -
Show More
@@ -11,13 +11,13 b' define(['
11 var tour_style = "<div class='popover tour'>\n" +
11 var tour_style = "<div class='popover tour'>\n" +
12 "<div class='arrow'></div>\n" +
12 "<div class='arrow'></div>\n" +
13 "<div style='position:absolute; top:7px; right:7px'>\n" +
13 "<div style='position:absolute; top:7px; right:7px'>\n" +
14 "<button class='btn btn-default btn-sm icon-remove' data-role='end'></button>\n" +
14 "<button class='btn btn-default btn-sm' data-role='end' href='#'><i class='fa fa-times fa-sm'></i></button>\n" +
15 "</div><h3 class='popover-title'></h3>\n" +
15 "</div><h3 class='popover-title'></h3>\n" +
16 "<div class='popover-content'></div>\n" +
16 "<div class='popover-content'></div>\n" +
17 "<div class='popover-navigation'>\n" +
17 "<div class='popover-navigation'>\n" +
18 "<button class='btn btn-default icon-step-backward' data-role='prev'></button>\n" +
18 "<button class='btn btn-default' data-role='prev' href='#'><i class='fa fa-step-backward pull-left'></i></button>\n" +
19 "<button class='btn btn-default icon-step-forward pull-right' data-role='next'></button>\n" +
19 "<button class='btn btn-default' data-role='next' href='#'><i class='fa fa-step-forward pull-right'></i></button>\n" +
20 "<button id='tour-pause' class='btn btn-sm btn-default icon-pause' data-resume-text='' data-pause-text='' data-role='pause-resume'></button>\n" +
20 "<button id='tour-pause' class='btn btn-sm btn-default' data-resume-text='' data-pause-text='' data-role='pause-resume' href='#'><i class='fa fa-pause'></i></button>\n" +
21 "</div>\n" +
21 "</div>\n" +
22 "</div>";
22 "</div>";
23
23
@@ -31,7 +31,7 b' define(['
31 title: "Welcome to the Notebook Tour",
31 title: "Welcome to the Notebook Tour",
32 placement: 'bottom',
32 placement: 'bottom',
33 orphan: true,
33 orphan: true,
34 content: "You can use the left and right arrow keys to go backwards and forwards.",
34 content: "You can use the left and right arrow keys to go backwards and forwards."
35 }, {
35 }, {
36 element: "#notebook_name",
36 element: "#notebook_name",
37 title: "Filename",
37 title: "Filename",
@@ -92,15 +92,15 b' define(['
92 title: "Kernel Indicator",
92 title: "Kernel Indicator",
93 placement: 'bottom',
93 placement: 'bottom',
94 onShow: function(tour) { events.trigger('status_idle.Kernel');},
94 onShow: function(tour) { events.trigger('status_idle.Kernel');},
95 content: "This is the Kernel indicator. It looks like this when the Kernel is idle.",
95 content: "This is the Kernel indicator. It looks like this when the Kernel is idle."
96 }, {
96 }, {
97 element: "#kernel_indicator",
97 element: "#kernel_indicator",
98 title: "Kernel Indicator",
98 title: "Kernel Indicator",
99 placement: 'bottom',
99 placement: 'bottom',
100 onShow: function(tour) { events.trigger('status_busy.Kernel'); },
100 onShow: function(tour) { events.trigger('status_busy.Kernel'); },
101 content: "The Kernel indicator looks like this when the Kernel is busy.",
101 content: "The Kernel indicator looks like this when the Kernel is busy."
102 }, {
102 }, {
103 element: ".icon-stop",
103 element: ".fa-stop",
104 placement: 'bottom',
104 placement: 'bottom',
105 title: "Interrupting the Kernel",
105 title: "Interrupting the Kernel",
106 onHide: function(tour) { events.trigger('status_idle.Kernel'); },
106 onHide: function(tour) { events.trigger('status_idle.Kernel'); },
@@ -108,14 +108,14 b' define(['
108 }, {
108 }, {
109 element: "#notification_kernel",
109 element: "#notification_kernel",
110 placement: 'bottom',
110 placement: 'bottom',
111 onShow: function(tour) { $('.icon-stop').click(); },
111 onShow: function(tour) { $('.fa-stop').click(); },
112 title: "Notification Area",
112 title: "Notification Area",
113 content: "Messages in response to user actions (Save, Interrupt, etc) appear here."
113 content: "Messages in response to user actions (Save, Interrupt, etc) appear here."
114 }, {
114 }, {
115 title: "Fin.",
115 title: "Fin.",
116 placement: 'bottom',
116 placement: 'bottom',
117 orphan: true,
117 orphan: true,
118 content: "This concludes the IPython Notebook User Interface tour.Tour. Happy hacking!",
118 content: "This concludes the IPython Notebook User Interface Tour. Happy hacking!"
119 }
119 }
120 ];
120 ];
121
121
@@ -156,7 +156,7 b' define(['
156 };
156 };
157
157
158 NotebookTour.prototype.toggle_pause_play = function () {
158 NotebookTour.prototype.toggle_pause_play = function () {
159 $('#tour-pause').toggleClass('icon-pause icon-play');
159 $('#tour-pause').toggleClass('fa-pause fa-play');
160 };
160 };
161
161
162 NotebookTour.prototype.edit_mode = function() {
162 NotebookTour.prototype.edit_mode = function() {
General Comments 0
You need to be logged in to leave comments. Login now