зеркало из https://github.com/mozilla/gecko-dev.git
Add status column. Bold messages with new.
This commit is contained in:
Родитель
070382c15f
Коммит
1f17599f2e
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче