##// END OF EJS Templates
tidy up and add to the tour...
Paul Ivanov -
Show More
@@ -55,39 +55,36 b' var tour_steps = ['
55 title: "Edit Mode",
55 title: "Edit Mode",
56 placement: 'bottom',
56 placement: 'bottom',
57 onShow: function(tour) { IPython.notebook.edit_mode(); },
57 onShow: function(tour) { IPython.notebook.edit_mode(); },
58 content: "By pressing Enter or clicking in the input area of cell, a we switched to Edit Mode."
58 content: "Pressing Enter or clicking in the input text area of the cell switches to Edit Mode."
59 }, {
60 element: "#modal_indicator",
61 title: "Edit Mode",
62 placement: 'bottom',
63 content: "Regular typing will go into the currently active cell."
64 }, {
59 }, {
65 element: '.selected',
60 element: '.selected',
66 title: "Edit Mode",
61 title: "Edit Mode",
67 placement: 'bottom',
62 placement: 'bottom',
68 content: "Notice that the border around the currently active cell changed color."
63 content: "Notice that the border around the currently active cell changed color."
69 }, {
64 }, {
70 element: '.selected',
65 element: ".selected",
71 title: "Edit Mode",
66 title: "Edit Mode",
72 placement: 'bottom',
67 placement: 'bottom',
73 onHide: function(tour) { IPython.notebook.command_mode(); },
68 content: "Regular typing will insert text into the currently active cell."
74 content: "Typing in edit mode"
75 }, {
69 }, {
76 element: '.selected',
70 element: '.selected',
77 title: "back to Command Mode",
71 title: "back to Command Mode",
78 placement: 'bottom',
72 placement: 'bottom',
79 onShow: function(tour) { IPython.notebook.command_mode(); },
73 onShow: function(tour) { IPython.notebook.command_mode(); },
80 content: "Pressing Esc or clicking outside of the input text area takes you back to command mode."
74 onHide: function(tour) { $('#help_menu').parent().find('a').first().click(); },
75 content: "Pressing Esc or clicking outside of the input text area takes you back to Command Mode."
81 }, {
76 }, {
82 element: '.selected',
77 element: '#keyboard_shortcuts',
83 title: "Command Mode",
78 title: "Keyboard Shortcuts",
84 placement: 'bottom',
79 placement: 'bottom',
85 onHide: function(tour) { IPython.notebook.command_mode(); },
80 onHide: function(tour) { $('#help_menu').parent().find('a').first().click(); },
86 content: "This mode exposes many keyboard shortcuts."
81 content: "You can click here to get a list of all of the keyboard shortcuts."
87 }, {
82 }, {
88 element: "#kernel_indicator",
83 element: "#kernel_indicator",
89 title: "Kernel indicator",
84 title: "Kernel indicator",
90 placement: 'bottom',
85 placement: 'bottom',
86 onShow: function(tour) { $([IPython.events]).trigger('status_idle.Kernel');},
87
91 content: "This is the Kernel indicator. It looks like this when the Kernel is idle.",
88 content: "This is the Kernel indicator. It looks like this when the Kernel is idle.",
92 }, {
89 }, {
93 element: "#kernel_indicator",
90 element: "#kernel_indicator",
@@ -215,7 +215,7 b' class="notebook_app"'
215 </li>
215 </li>
216 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Help</a>
216 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Help</a>
217 <ul id="help_menu" class="dropdown-menu">
217 <ul id="help_menu" class="dropdown-menu">
218 <li id="notebook_tour" title="A quick tour of the notebook user interfaces"><a href="#">User Interace Tour</a></li>
218 <li id="notebook_tour" title="A quick tour of the notebook user interface"><a href="#">User Interface Tour</a></li>
219 <li id="keyboard_shortcuts" title="Opens a tooltip with all keyboard shortcuts"><a href="#">Keyboard Shortcuts</a></li>
219 <li id="keyboard_shortcuts" title="Opens a tooltip with all keyboard shortcuts"><a href="#">Keyboard Shortcuts</a></li>
220 <li class="divider"></li>
220 <li class="divider"></li>
221 {% set
221 {% set
General Comments 0
You need to be logged in to leave comments. Login now