Update search XUL/JS/CSS to comply with new tree model specification.
git-svn-id: svn://10.0.0.236/trunk@36554 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -31,60 +31,66 @@
|
||||
<treecol id="EngineColumn" rdf:resource="http://home.netscape.com/NC-rdf#Engine"/>
|
||||
|
||||
<template>
|
||||
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator" rootcontainment="treebody" subcontainment="treechildren">
|
||||
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator" rootcontainment="treechildren" subcontainment="treechildren">
|
||||
<treeitem uri="...">
|
||||
<treecell>
|
||||
<html:hr width="75%" align="center" size="1" />
|
||||
</treecell>
|
||||
<treerow>
|
||||
<treecell>
|
||||
<html:hr width="75%" align="center" size="1" />
|
||||
</treecell>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</rule>
|
||||
|
||||
<rule rootcontainment="treebody" subcontainment="treechildren">
|
||||
<rule rootcontainment="treechildren" subcontainment="treechildren">
|
||||
<treeitem uri="...">
|
||||
<treecell>
|
||||
<treeindentation />
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name" align="right" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<progressmeter value="rdf:http://home.netscape.com/NC-rdf#Relevance" align="horizontal" mode="normal" />
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Relevance" align="left" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Site" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Engine" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treerow>
|
||||
<treecell>
|
||||
<treeindentation />
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name" align="right" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<progressmeter value="rdf:http://home.netscape.com/NC-rdf#Relevance" align="horizontal" mode="normal" />
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Relevance" align="left" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Site" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Engine" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</rule>
|
||||
</template>
|
||||
|
||||
<treehead>
|
||||
<treeitem>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Name" onclick="return doSort('NameColumn');">
|
||||
<observes element="NameColumn" attribute="sortActive"/>
|
||||
<observes element="NameColumn" attribute="sortDirection"/>
|
||||
&name.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Relevance" onclick="return doSort('RelevanceColumn');" sortActive="true" sortDirection="descending" >
|
||||
<observes element="RelevanceColumn" attribute="sortActive"/>
|
||||
<observes element="RelevanceColumn" attribute="sortDirection"/>
|
||||
&relevance.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Site" onclick="return doSort('SiteColumn');">
|
||||
<observes element="SiteColumn" attribute="sortActive"/>
|
||||
<observes element="SiteColumn" attribute="sortDirection"/>
|
||||
&site.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Engine" onclick="return doSort('EngineColumn');">
|
||||
<observes element="EngineColumn" attribute="sortActive"/>
|
||||
<observes element="EngineColumn" attribute="sortDirection"/>
|
||||
&engine.column.label;
|
||||
</treecell>
|
||||
<treerow>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Name" onclick="return doSort('NameColumn');">
|
||||
<observes element="NameColumn" attribute="sortActive"/>
|
||||
<observes element="NameColumn" attribute="sortDirection"/>
|
||||
&name.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Relevance" onclick="return doSort('RelevanceColumn');" sortActive="true" sortDirection="descending" >
|
||||
<observes element="RelevanceColumn" attribute="sortActive"/>
|
||||
<observes element="RelevanceColumn" attribute="sortDirection"/>
|
||||
&relevance.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Site" onclick="return doSort('SiteColumn');">
|
||||
<observes element="SiteColumn" attribute="sortActive"/>
|
||||
<observes element="SiteColumn" attribute="sortDirection"/>
|
||||
&site.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Engine" onclick="return doSort('EngineColumn');">
|
||||
<observes element="EngineColumn" attribute="sortActive"/>
|
||||
<observes element="EngineColumn" attribute="sortDirection"/>
|
||||
&engine.column.label;
|
||||
</treecell>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</treehead>
|
||||
|
||||
<treebody open="true" />
|
||||
<treechildren />
|
||||
|
||||
</tree>
|
||||
</window>
|
||||
|
||||
@@ -50,6 +50,8 @@ function doFind()
|
||||
// XXX shouldn't assume that treebody is the last child node in the tree!
|
||||
resultsTree.childNodes[x-1].setAttribute("id", url);
|
||||
|
||||
resultsTree.childNodes[x-1].setAttribute("open", "true");
|
||||
|
||||
dump("doFind done.\n");
|
||||
|
||||
return(true);
|
||||
|
||||
@@ -66,59 +66,59 @@ treehead treeitem treecell {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
treeitem[container="true"][open="true"][loading="true"] > treecell > titledbutton {
|
||||
treeitem[container="true"][open="true"][loading="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/loading.gif") ! important ;
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/bookmark-folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/bookmark-folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/personal-folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/personal-folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/bookmark-item.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/IEFavorite.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/bookmark-item.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/article.gif");
|
||||
}
|
||||
|
||||
treeitem[container="true"][open="true"] > treecell > titledbutton {
|
||||
treeitem[container="true"][open="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[container="true"] > treecell > titledbutton {
|
||||
treeitem[container="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem > treecell > titledbutton {
|
||||
treeitem >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/document.gif");
|
||||
}
|
||||
|
||||
|
||||
@@ -27,35 +27,39 @@
|
||||
<treecol id="DescriptionColumn" rdf:resource="http://home.netscape.com/NC-rdf#Description"/>
|
||||
|
||||
<template>
|
||||
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator" rootcontainment="treebody" subcontainment="treechildren">
|
||||
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator" rootcontainment="treechildren" subcontainment="treechildren">
|
||||
<treeitem uri="...">
|
||||
<treecell>
|
||||
<html:hr width="75%" align="center" size="1" />
|
||||
</treecell>
|
||||
<treerow>
|
||||
<treecell>
|
||||
<html:hr width="75%" align="center" size="1" />
|
||||
</treecell>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</rule>
|
||||
|
||||
<rule rootcontainment="treebody" subcontainment="treechildren">
|
||||
<rule rootcontainment="treechildren" subcontainment="treechildren">
|
||||
<treeitem uri="...">
|
||||
<treecell>
|
||||
<treeindentation />
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name" align="right" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#URL" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#ShortcutURL" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Description" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treerow>
|
||||
<treecell>
|
||||
<treeindentation />
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name" align="right" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#URL" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#ShortcutURL" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Description" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</rule>
|
||||
</template>
|
||||
|
||||
<treehead>
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Name" onclick="return doSort('NameColumn');" sortActive="true" sortDirection="ascending">
|
||||
<observes element="NameColumn" attribute="sortActive"/>
|
||||
<observes element="NameColumn" attribute="sortDirection"/>
|
||||
@@ -76,9 +80,9 @@
|
||||
<observes element="DescriptionColumn" attribute="sortDirection"/>
|
||||
&description.column.label;
|
||||
</treecell>
|
||||
</treeitem>
|
||||
</treerow>
|
||||
</treehead>
|
||||
|
||||
<treebody />
|
||||
<treechildren />
|
||||
</tree>
|
||||
</window>
|
||||
|
||||
@@ -66,59 +66,59 @@ treehead treeitem treecell {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
treeitem[container="true"][open="true"][loading="true"] > treecell > titledbutton {
|
||||
treeitem[container="true"][open="true"][loading="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/loading.gif") ! important ;
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/bookmark-folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/bookmark-folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/personal-folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/personal-folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/bookmark-item.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/IEFavorite.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/bookmark-item.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/article.gif");
|
||||
}
|
||||
|
||||
treeitem[container="true"][open="true"] > treecell > titledbutton {
|
||||
treeitem[container="true"][open="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[container="true"] > treecell > titledbutton {
|
||||
treeitem[container="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem > treecell > titledbutton {
|
||||
treeitem >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/document.gif");
|
||||
}
|
||||
|
||||
|
||||
@@ -63,6 +63,8 @@ function doSearch()
|
||||
// XXX shouldn't assume that treebody is the last child node in the tree!
|
||||
resultsTree.childNodes[x-1].setAttribute("id", searchURL);
|
||||
|
||||
resultsTree.childNodes[x-1].setAttribute("open", "true");
|
||||
|
||||
// enable "Save Search" button
|
||||
var searchButton = document.getElementById("SaveSearch");
|
||||
if (searchButton)
|
||||
|
||||
@@ -41,31 +41,35 @@
|
||||
<treecol id="CheckboxColumn" />
|
||||
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name" sortActive="true" sortDirection="ascending" />
|
||||
|
||||
<template rootcontainment="treebody" subcontainment="treechildren">
|
||||
<template rootcontainment="treechildren" subcontainment="treechildren">
|
||||
<treeitem uri="...">
|
||||
<treecell treeallowevents="true">
|
||||
<checkbox value="0" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treerow>
|
||||
<treecell treeallowevents="true">
|
||||
<checkbox value="0" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</template>
|
||||
|
||||
<treehead>
|
||||
<treeitem>
|
||||
<treecell>
|
||||
&checkbox.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Name" onclick="return doSort('NameColumn');" sortActive="true" sortDirection="ascending" >
|
||||
<observes element="NameColumn" attribute="sortActive"/>
|
||||
<observes element="NameColumn" attribute="sortDirection"/>
|
||||
&engine.column.label;
|
||||
</treecell>
|
||||
<treerow>
|
||||
<treecell>
|
||||
&checkbox.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Name" onclick="return doSort('NameColumn');" sortActive="true" sortDirection="ascending" >
|
||||
<observes element="NameColumn" attribute="sortActive"/>
|
||||
<observes element="NameColumn" attribute="sortDirection"/>
|
||||
&engine.column.label;
|
||||
</treecell>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</treehead>
|
||||
|
||||
<treebody id="NC:SearchEngineRoot" open="true" />
|
||||
<treechildren id="NC:SearchEngineRoot" open="true" />
|
||||
</tree>
|
||||
</html:td></html:tr>
|
||||
|
||||
|
||||
@@ -61,59 +61,59 @@ treehead treeitem treecell {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
treeitem[container="true"][open="true"][loading="true"] > treecell > titledbutton {
|
||||
treeitem[container="true"][open="true"][loading="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/loading.gif") ! important ;
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/bookmark-folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/bookmark-folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/personal-folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/personal-folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/bookmark-item.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/IEFavorite.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/samples/bookmark-item.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treecell > titledbutton {
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/article.gif");
|
||||
}
|
||||
|
||||
treeitem[container="true"][open="true"] > treecell > titledbutton {
|
||||
treeitem[container="true"][open="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[container="true"] > treecell > titledbutton {
|
||||
treeitem[container="true"] >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem > treecell > titledbutton {
|
||||
treeitem >treerow > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/document.gif");
|
||||
}
|
||||
|
||||
|
||||
@@ -31,60 +31,66 @@
|
||||
<treecol id="EngineColumn" rdf:resource="http://home.netscape.com/NC-rdf#Engine"/>
|
||||
|
||||
<template>
|
||||
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator" rootcontainment="treebody" subcontainment="treechildren">
|
||||
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator" rootcontainment="treechildren" subcontainment="treechildren">
|
||||
<treeitem uri="...">
|
||||
<treecell>
|
||||
<html:hr width="75%" align="center" size="1" />
|
||||
</treecell>
|
||||
<treerow>
|
||||
<treecell>
|
||||
<html:hr width="75%" align="center" size="1" />
|
||||
</treecell>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</rule>
|
||||
|
||||
<rule rootcontainment="treebody" subcontainment="treechildren">
|
||||
<rule rootcontainment="treechildren" subcontainment="treechildren">
|
||||
<treeitem uri="...">
|
||||
<treecell>
|
||||
<treeindentation />
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name" align="right" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<progressmeter value="rdf:http://home.netscape.com/NC-rdf#Relevance" align="horizontal" mode="normal" />
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Relevance" align="left" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Site" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Engine" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treerow>
|
||||
<treecell>
|
||||
<treeindentation />
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name" align="right" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<progressmeter value="rdf:http://home.netscape.com/NC-rdf#Relevance" align="horizontal" mode="normal" />
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Relevance" align="left" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Site" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Engine" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</rule>
|
||||
</template>
|
||||
|
||||
<treehead>
|
||||
<treeitem>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Name" onclick="return doSort('NameColumn');">
|
||||
<observes element="NameColumn" attribute="sortActive"/>
|
||||
<observes element="NameColumn" attribute="sortDirection"/>
|
||||
&name.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Relevance" onclick="return doSort('RelevanceColumn');" sortActive="true" sortDirection="descending" >
|
||||
<observes element="RelevanceColumn" attribute="sortActive"/>
|
||||
<observes element="RelevanceColumn" attribute="sortDirection"/>
|
||||
&relevance.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Site" onclick="return doSort('SiteColumn');">
|
||||
<observes element="SiteColumn" attribute="sortActive"/>
|
||||
<observes element="SiteColumn" attribute="sortDirection"/>
|
||||
&site.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Engine" onclick="return doSort('EngineColumn');">
|
||||
<observes element="EngineColumn" attribute="sortActive"/>
|
||||
<observes element="EngineColumn" attribute="sortDirection"/>
|
||||
&engine.column.label;
|
||||
</treecell>
|
||||
<treerow>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Name" onclick="return doSort('NameColumn');">
|
||||
<observes element="NameColumn" attribute="sortActive"/>
|
||||
<observes element="NameColumn" attribute="sortDirection"/>
|
||||
&name.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Relevance" onclick="return doSort('RelevanceColumn');" sortActive="true" sortDirection="descending" >
|
||||
<observes element="RelevanceColumn" attribute="sortActive"/>
|
||||
<observes element="RelevanceColumn" attribute="sortDirection"/>
|
||||
&relevance.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Site" onclick="return doSort('SiteColumn');">
|
||||
<observes element="SiteColumn" attribute="sortActive"/>
|
||||
<observes element="SiteColumn" attribute="sortDirection"/>
|
||||
&site.column.label;
|
||||
</treecell>
|
||||
<treecell resource="http://home.netscape.com/NC-rdf#Engine" onclick="return doSort('EngineColumn');">
|
||||
<observes element="EngineColumn" attribute="sortActive"/>
|
||||
<observes element="EngineColumn" attribute="sortDirection"/>
|
||||
&engine.column.label;
|
||||
</treecell>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</treehead>
|
||||
|
||||
<treebody open="true" />
|
||||
<treechildren />
|
||||
|
||||
</tree>
|
||||
</window>
|
||||
|
||||
Reference in New Issue
Block a user