##// END OF EJS Templates
use jquery-ui classes
Matthias BUSSONNIER -
Show More
@@ -69,18 +69,6 b' span#notebook_name {'
69 z-index: 10;
69 z-index: 10;
70 }
70 }
71
71
72 .notification.info
73 {color : darkblue;}
74
75 .notification.safe
76 {color : darkgreen;}
77
78 .notification.warning
79 {color : darkorange;}
80
81 .notification.danger
82 { color : darkred }
83
84 #toolbar {
72 #toolbar {
85 padding: 3px 15px;
73 padding: 3px 15px;
86 }
74 }
@@ -23,6 +23,8 b' var IPython = (function (IPython) {'
23
23
24 NotificationArea.prototype.temp_message = function (msg, timeout, css_class) {
24 NotificationArea.prototype.temp_message = function (msg, timeout, css_class) {
25 var uuid = utils.uuid();
25 var uuid = utils.uuid();
26 if( css_class == 'danger'){css_class = 'ui-state-error'}
27 if( css_class == 'warning'){css_class = 'ui-state-highlight'}
26 var tdiv = $('<div>')
28 var tdiv = $('<div>')
27 .attr('id',uuid)
29 .attr('id',uuid)
28 .addClass('notification ui-widget ui-widget-content ui-corner-all')
30 .addClass('notification ui-widget ui-widget-content ui-corner-all')
General Comments 0
You need to be logged in to leave comments. Login now