Show More
@@ -35,7 +35,7 b' define([' | |||||
35 | { |
|
35 | { | |
36 | id : 'save_b', |
|
36 | id : 'save_b', | |
37 | label : 'Save and Checkpoint', |
|
37 | label : 'Save and Checkpoint', | |
38 |
icon : ' |
|
38 | icon : 'fa fa-save', | |
39 | callback : function () { |
|
39 | callback : function () { | |
40 | that.notebook.save_checkpoint(); |
|
40 | that.notebook.save_checkpoint(); | |
41 | } |
|
41 | } | |
@@ -46,7 +46,7 b' define([' | |||||
46 | { |
|
46 | { | |
47 | id : 'insert_below_b', |
|
47 | id : 'insert_below_b', | |
48 | label : 'Insert Cell Below', |
|
48 | label : 'Insert Cell Below', | |
49 |
icon : ' |
|
49 | icon : 'fa fa-plus', | |
50 | callback : function () { |
|
50 | callback : function () { | |
51 | that.notebook.insert_cell_below('code'); |
|
51 | that.notebook.insert_cell_below('code'); | |
52 | that.notebook.select_next(); |
|
52 | that.notebook.select_next(); | |
@@ -59,7 +59,7 b' define([' | |||||
59 | { |
|
59 | { | |
60 | id : 'cut_b', |
|
60 | id : 'cut_b', | |
61 | label : 'Cut Cell', |
|
61 | label : 'Cut Cell', | |
62 |
icon : ' |
|
62 | icon : 'fa fa-cut', | |
63 | callback : function () { |
|
63 | callback : function () { | |
64 | that.notebook.cut_cell(); |
|
64 | that.notebook.cut_cell(); | |
65 | } |
|
65 | } | |
@@ -67,7 +67,7 b' define([' | |||||
67 | { |
|
67 | { | |
68 | id : 'copy_b', |
|
68 | id : 'copy_b', | |
69 | label : 'Copy Cell', |
|
69 | label : 'Copy Cell', | |
70 |
icon : ' |
|
70 | icon : 'fa fa-copy', | |
71 | callback : function () { |
|
71 | callback : function () { | |
72 | that.notebook.copy_cell(); |
|
72 | that.notebook.copy_cell(); | |
73 | } |
|
73 | } | |
@@ -75,7 +75,7 b' define([' | |||||
75 | { |
|
75 | { | |
76 | id : 'paste_b', |
|
76 | id : 'paste_b', | |
77 | label : 'Paste Cell Below', |
|
77 | label : 'Paste Cell Below', | |
78 |
icon : ' |
|
78 | icon : 'fa fa-paste', | |
79 | callback : function () { |
|
79 | callback : function () { | |
80 | that.notebook.paste_cell_below(); |
|
80 | that.notebook.paste_cell_below(); | |
81 | } |
|
81 | } | |
@@ -86,7 +86,7 b' define([' | |||||
86 | { |
|
86 | { | |
87 | id : 'move_up_b', |
|
87 | id : 'move_up_b', | |
88 | label : 'Move Cell Up', |
|
88 | label : 'Move Cell Up', | |
89 |
icon : ' |
|
89 | icon : 'fa fa-arrow-up', | |
90 | callback : function () { |
|
90 | callback : function () { | |
91 | that.notebook.move_cell_up(); |
|
91 | that.notebook.move_cell_up(); | |
92 | } |
|
92 | } | |
@@ -94,7 +94,7 b' define([' | |||||
94 | { |
|
94 | { | |
95 | id : 'move_down_b', |
|
95 | id : 'move_down_b', | |
96 | label : 'Move Cell Down', |
|
96 | label : 'Move Cell Down', | |
97 |
icon : ' |
|
97 | icon : 'fa fa-arrow-down', | |
98 | callback : function () { |
|
98 | callback : function () { | |
99 | that.notebook.move_cell_down(); |
|
99 | that.notebook.move_cell_down(); | |
100 | } |
|
100 | } | |
@@ -106,7 +106,7 b' define([' | |||||
106 | { |
|
106 | { | |
107 | id : 'run_b', |
|
107 | id : 'run_b', | |
108 | label : 'Run Cell', |
|
108 | label : 'Run Cell', | |
109 |
icon : ' |
|
109 | icon : 'fa fa-play', | |
110 | callback : function () { |
|
110 | callback : function () { | |
111 | // emulate default shift-enter behavior |
|
111 | // emulate default shift-enter behavior | |
112 | that.notebook.execute_cell_and_select_below(); |
|
112 | that.notebook.execute_cell_and_select_below(); | |
@@ -115,7 +115,7 b' define([' | |||||
115 | { |
|
115 | { | |
116 | id : 'interrupt_b', |
|
116 | id : 'interrupt_b', | |
117 | label : 'Interrupt', |
|
117 | label : 'Interrupt', | |
118 |
icon : ' |
|
118 | icon : 'fa fa-stop', | |
119 | callback : function () { |
|
119 | callback : function () { | |
120 | that.notebook.session.interrupt_kernel(); |
|
120 | that.notebook.session.interrupt_kernel(); | |
121 | } |
|
121 | } | |
@@ -123,7 +123,7 b' define([' | |||||
123 | { |
|
123 | { | |
124 | id : 'repeat_b', |
|
124 | id : 'repeat_b', | |
125 | label : 'Restart Kernel', |
|
125 | label : 'Restart Kernel', | |
126 |
icon : ' |
|
126 | icon : 'fa fa-repeat', | |
127 | callback : function () { |
|
127 | callback : function () { | |
128 | that.notebook.restart_kernel(); |
|
128 | that.notebook.restart_kernel(); | |
129 | } |
|
129 | } |
@@ -28,19 +28,19 b'' | |||||
28 | } |
|
28 | } | |
29 |
|
29 | |||
30 | .edit_mode_icon:before { |
|
30 | .edit_mode_icon:before { | |
31 |
|
|
31 | content: @fa-var-pencil; | |
32 | } |
|
32 | } | |
33 |
|
33 | |||
34 | .command_mode_icon:before { |
|
34 | .command_mode_icon:before { | |
35 |
|
|
35 | content: ' '; | |
36 | } |
|
36 | } | |
37 |
|
37 | |||
38 | .kernel_idle_icon:before { |
|
38 | .kernel_idle_icon:before { | |
39 | .icon(@circle-blank); |
|
39 | content: @fa-var-circle-o; | |
40 | } |
|
40 | } | |
41 |
|
41 | |||
42 | .kernel_busy_icon:before { |
|
42 | .kernel_busy_icon:before { | |
43 |
|
|
43 | content: @fa-var-circle; | |
44 | } |
|
44 | } | |
45 |
|
45 | |||
46 |
|
46 |
@@ -141,9 +141,9 b' input.engine_num_input {' | |||||
141 | } |
|
141 | } | |
142 |
|
142 | |||
143 | .folder_icon:before { |
|
143 | .folder_icon:before { | |
144 | .icon(@folder-close-alt) |
|
144 | content: @fa-var-folder-o | |
145 | } |
|
145 | } | |
146 |
|
146 | |||
147 | .notebook_icon:before { |
|
147 | .notebook_icon:before { | |
148 | .icon(@book) |
|
148 | content: @fa-var-book | |
149 | } |
|
149 | } |
General Comments 0
You need to be logged in to leave comments.
Login now