##// END OF EJS Templates
Make tour functional again
Jessica B. Hamrick -
Show More
@@ -40,13 +40,11 define([
40 }, {
40 }, {
41 element: $("#menus").parent(),
41 element: $("#menus").parent(),
42 placement: 'bottom',
42 placement: 'bottom',
43 backdrop: true,
44 title: "Notebook Menubar",
43 title: "Notebook Menubar",
45 content: "The menubar has menus for actions on the notebook, its cells, and the kernel it communicates with."
44 content: "The menubar has menus for actions on the notebook, its cells, and the kernel it communicates with."
46 }, {
45 }, {
47 element: "#maintoolbar",
46 element: "#maintoolbar",
48 placement: 'bottom',
47 placement: 'bottom',
49 backdrop: true,
50 title: "Notebook Toolbar",
48 title: "Notebook Toolbar",
51 content: "The toolbar has buttons for the most common actions. Hover your mouse over each button for more information."
49 content: "The toolbar has buttons for the most common actions. Hover your mouse over each button for more information."
52 }, {
50 }, {
@@ -88,13 +86,13 define([
88 onHide: function(tour) { $('#help_menu').parent().children('a').click(); },
86 onHide: function(tour) { $('#help_menu').parent().children('a').click(); },
89 content: "You can click here to get a list of all of the keyboard shortcuts."
87 content: "You can click here to get a list of all of the keyboard shortcuts."
90 }, {
88 }, {
91 element: "#kernel_indicator",
89 element: "#kernel_indicator_icon",
92 title: "Kernel Indicator",
90 title: "Kernel Indicator",
93 placement: 'bottom',
91 placement: 'bottom',
94 onShow: function(tour) { events.trigger('kernel_idle.Kernel');},
92 onShow: function(tour) { events.trigger('kernel_idle.Kernel');},
95 content: "This is the Kernel indicator. It looks like this when the Kernel is idle."
93 content: "This is the Kernel indicator. It looks like this when the Kernel is idle."
96 }, {
94 }, {
97 element: "#kernel_indicator",
95 element: "#kernel_indicator_icon",
98 title: "Kernel Indicator",
96 title: "Kernel Indicator",
99 placement: 'bottom',
97 placement: 'bottom',
100 onShow: function(tour) { events.trigger('kernel_busy.Kernel'); },
98 onShow: function(tour) { events.trigger('kernel_busy.Kernel'); },
@@ -120,12 +118,9 define([
120 ];
118 ];
121
119
122 this.tour = new Tour({
120 this.tour = new Tour({
123 //orphan: true,
124 storage: false, // start tour from beginning every time
121 storage: false, // start tour from beginning every time
125 //element: $("#ipython_notebook"),
126 debug: true,
122 debug: true,
127 reflex: true, // click on element to continue tour
123 reflex: true, // click on element to continue tour
128 //backdrop: true, // show dark behind popover
129 animation: false,
124 animation: false,
130 duration: this.step_duration,
125 duration: this.step_duration,
131 onStart: function() { console.log('tour started'); },
126 onStart: function() { console.log('tour started'); },
@@ -38,7 +38,7 data-notebook-path="{{notebook_path}}"
38
38
39
39
40 <span id="save_widget" class="pull-left save_widget">
40 <span id="save_widget" class="pull-left save_widget">
41 <span class="filename"></span>
41 <span id="notebook_name" class="filename"></span>
42 <span class="checkpoint_status"></span>
42 <span class="checkpoint_status"></span>
43 <span class="autosave_status"></span>
43 <span class="autosave_status"></span>
44 </span>
44 </span>
General Comments 0
You need to be logged in to leave comments. Login now