mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 08:55:08 +00:00
Mantis 1489+1987: ! pour taches.haute
Monotone-Parent: b9fd73f3b424b6987ed02034e0b3b5c7329ef75c Monotone-Revision: 597cc6629d42a3546ef1401377719202b214f02f Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-07-31T19:48:25 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -86,7 +86,7 @@ static NSArray *tasksFields = nil;
|
||||
{
|
||||
tasksFields = [NSArray arrayWithObjects: @"c_name", @"c_folder",
|
||||
@"c_status", @"c_title", @"c_enddate",
|
||||
@"c_classification", @"editable", nil];
|
||||
@"c_classification", @"editable", @"c_priority", nil];
|
||||
[tasksFields retain];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,6 +102,14 @@ UL#tasksList LI.completed
|
||||
UL#tasksList LI.duelater
|
||||
{ color: #999; }
|
||||
|
||||
UL#tasksList LI.important SPAN
|
||||
{ color: #f00 !important;
|
||||
background-image: url(important.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 5px 2px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
UL#tasksList LI[class~="_selected"].overdue
|
||||
{ color: #fff !important;
|
||||
background-color: #f00 !important; }
|
||||
|
||||
@@ -664,7 +664,7 @@ function tasksListCallback(http) {
|
||||
var cname = escape(data[i][0]);
|
||||
listItem.setAttribute("id", calendar + "-" + cname);
|
||||
//listItem.addClassName(data[i][5]); // Classification
|
||||
listItem.addClassName(data[i][7]);
|
||||
listItem.addClassName(data[i][8]);
|
||||
listItem.calendar = calendar;
|
||||
listItem.addClassName("calendarFolder" + calendar);
|
||||
listItem.cname = cname;
|
||||
@@ -672,6 +672,9 @@ function tasksListCallback(http) {
|
||||
input.setAttribute("type", "checkbox");
|
||||
if (parseInt(data[i][6]) == 0)
|
||||
input.setAttribute ("disabled", true);
|
||||
if (parseInt(data[i][7]) == 1) {
|
||||
listItem.addClassName ("important");
|
||||
}
|
||||
listItem.appendChild(input);
|
||||
input.observe("click", updateTaskStatus, true);
|
||||
input.setAttribute("value", "1");
|
||||
@@ -679,7 +682,10 @@ function tasksListCallback(http) {
|
||||
input.setAttribute("checked", "checked");
|
||||
$(input).addClassName("checkBox");
|
||||
|
||||
listItem.appendChild(document.createTextNode(data[i][3]));
|
||||
var t = new Element ("span");
|
||||
t.update (data[i][3]);
|
||||
//listItem.appendChild(document.createTextNode(data[i][3]));
|
||||
listItem.appendChild (t);
|
||||
}
|
||||
|
||||
list.scrollTop = list.previousScroll;
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 991 B |
Reference in New Issue
Block a user