moved to bootstrap 2.1 and some ui fixes in todo and messages

This commit is contained in:
Rushabh Mehta
2012-10-03 11:56:38 +05:30
parent 079df382f9
commit 3009c46ba5
12 changed files with 52 additions and 64 deletions

View File

@@ -21,7 +21,7 @@ wn.require('lib/js/lib/jQuery.Gantt/js/jquery.fn.gantt.min.js');
erpnext.show_task_gantt = function(parent, project) {
$(parent).css('min-height', '300px').html('<div class="help-box">Loading...</div>')
$(parent).css('min-height', '300px').html('<div class="alert">Loading...</div>')
var get_source = function(r) {
var source = [];
@@ -56,7 +56,7 @@ erpnext.show_task_gantt = function(parent, project) {
callback: function(r) {
$(parent).empty();
if(!r.message.length) {
$(parent).html('<div class="help-box">No Tasks Yet.</div>');
$(parent).html('<div class="alert">No Tasks Yet.</div>');
} else {
var gantt_area = $('<div class="gantt">').appendTo(parent);
gantt_area.gantt({