Add status column. Bold messages with new.

This commit is contained in:
putterman%netscape.com 1999-03-18 21:41:51 +00:00
Родитель 070382c15f
Коммит 1f17599f2e
3 изменённых файлов: 9 добавлений и 2 удалений

Просмотреть файл

@ -47,6 +47,7 @@ function ComposeMessage(tree, nodeList, msgAppCore, type)
function NewMessage()
{
dump("\n\nnewMsg from XUL\n\n\n");
ComposeMessage(null, null, null, 0);
}
@ -72,7 +73,7 @@ function ChangeFolder(folderNode)
var uri = folderNode.getAttribute('id');
dump(uri);
var tree = frames[0].frames[1].document.getElementById('threadTree');
tree.childNodes[4].setAttribute('id', uri);
tree.childNodes[5].setAttribute('id', uri);
}
function ComposeMessageWithType(type)

Просмотреть файл

@ -36,6 +36,10 @@ treecell[selectedcell] {
background-color: blue;
}
treeitem[Status="new"] {
font-weight: bold;
}
treehead treeitem treecell {
font-size: 8pt;
background-color: #a0a0a0;

Просмотреть файл

@ -13,16 +13,18 @@
<treecol rdf:resource="http://home.netscape.com/NC-rdf#Subject"/>
<treecol rdf:resource="http://home.netscape.com/NC-rdf#Sender"/>
<treecol rdf:resource="http://home.netscape.com/NC-rdf#Date"/>
<treecol rdf:resource="http://home.netscape.com/NC-rdf#Status"/>
<treehead>
<treeitem>
<treecell>Subject</treecell>
<treecell>Sender</treecell>
<treecell>Date</treecell>
<treecell>Status</treecell>
</treeitem>
</treehead>
<treebody id="mailbox://Inbox">
<treebody id="mailbox://Inbox" name="threadTreeBody">
<treeitem open="true">
</treeitem>
</treebody>