gecko-dev/xpfe/components/search/resources/findresults.xul
1999-09-07 09:41:24 +00:00

95 lines
3.7 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/xul.css" type="text/css"?>
<?xml-stylesheet href="findresults.css" type="text/css"?>
<!DOCTYPE window
[
<!ENTITY window.title.label "Find Results">
<!ENTITY name.column.label "Name">
<!ENTITY url.column.label "URL">
<!ENTITY shortcuturl.column.label "Nickname">
<!ENTITY description.column.label "Description">
]>
<window title="&window.title.label;" style="width:100%; height:100%; background-color:white" align="vertical"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<html:script src="shared.js" />
<tree id="findresultstree" style="height: 100%" flex="100%" datasources="rdf:bookmarks rdf:history rdf:find" ondblclick="return OpenURL(event, event.target.parentNode.parentNode);">
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name" sortActive="true" sortDirection="ascending" />
<treecol id="URLColumn" rdf:resource="http://home.netscape.com/NC-rdf#URL"/>
<treecol id="ShortcutURLColumn" rdf:resource="http://home.netscape.com/NC-rdf#ShortcutURL"/>
<treecol id="DescriptionColumn" rdf:resource="http://home.netscape.com/NC-rdf#Description"/>
<template>
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
<treechildren>
<treeitem uri="...">
<treerow>
<treecell>
<html:hr width="75%" align="center" size="1" />
</treecell>
</treerow>
</treeitem>
</treechildren>
</rule>
<rule>
<treechildren>
<treeitem uri="...">
<treerow>
<treecell>
<treeindentation />
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name" align="left" />
</treecell>
<treecell>
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#URL" align="left" style="list-style-image: none;" />
</treecell>
<treecell>
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#ShortcutURL" align="left" style="list-style-image: none;" />
</treecell>
<treecell>
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Description" align="left" style="list-style-image: none;" />
</treecell>
</treerow>
</treeitem>
</treechildren>
</rule>
</template>
<treehead>
<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"/>
&name.column.label;
</treecell>
<treecell resource="http://home.netscape.com/NC-rdf#URL" onclick="return doSort('URLColumn');">
<observes element="URLColumn" attribute="sortActive"/>
<observes element="URLColumn" attribute="sortDirection"/>
&url.column.label;
</treecell>
<treecell resource="http://home.netscape.com/NC-rdf#ShortcutURL" onclick="return doSort('ShortcutURLColumn');">
<observes element="ShortcutURLColumn" attribute="sortActive"/>
<observes element="ShortcutURLColumn" attribute="sortDirection"/>
&shortcuturl.column.label;
</treecell>
<treecell resource="http://home.netscape.com/NC-rdf#Description" onclick="return doSort('DescriptionColumn');">
<observes element="DescriptionColumn" attribute="sortActive"/>
<observes element="DescriptionColumn" attribute="sortDirection"/>
&description.column.label;
</treecell>
</treerow>
</treehead>
<treechildren open="true" />
</tree>
<spring flex="100%" align="horizontal" />
</window>