##// END OF EJS Templates
Use running text instead of icon.
Jonathan Frederic -
Show More
@@ -301,9 +301,10 b' define(['
301 .addClass("item_buttons pull-right")
301 .addClass("item_buttons pull-right")
302 .appendTo(item);
302 .appendTo(item);
303
303
304 $('<i/>')
304 $('<div/>')
305 .addClass('fa fa-power-off running-indicator')
305 .addClass('running-indicator')
306 .css('visible', 'hidden')
306 .text('Running')
307 .css('visibility', 'hidden')
307 .appendTo(buttons);
308 .appendTo(buttons);
308
309
309 if (index === -1) {
310 if (index === -1) {
@@ -394,7 +395,7 b' define(['
394 );
395 );
395
396
396 var running = (model.type == 'notebook' && this.sessions[path] !== undefined);
397 var running = (model.type == 'notebook' && this.sessions[path] !== undefined);
397 item.find(".item_buttons i.running-indicator").css('visibility', running ? '' : 'hidden');
398 item.find(".item_buttons .running-indicator").css('visibility', running ? '' : 'hidden');
398
399
399 // directory nav doesn't open new tabs
400 // directory nav doesn't open new tabs
400 // files, notebooks do
401 // files, notebooks do
General Comments 0
You need to be logged in to leave comments. Login now