gecko-dev/rdf/resources/flash.xul

64 строки
2.2 KiB
XML

<?xml version="1.0"?> <!-- -*- Mode: SGML -*- -->
<?xml-stylesheet href="resource:/res/samples/xul.css" type="text/css"?>
<?xml-stylesheet href="resource:/res/rdf/sidebar.css" type="text/css"?>
<?xml-stylesheet href="resource:/res/rdf/flash.css" type="text/css"?>
<!DOCTYPE window
[
<!ENTITY tree.header.source.label "Source">
<!ENTITY tree.header.description.label "Description">
<!ENTITY tree.header.time.label "Time">
]>
<window
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="flash.js" />
<tree id="tree"
flex="100%"
datasources="rdf:bookmarks"
onclick="OpenURL(event.target.parentNode.parentNode);">
<template>
<rule rootcontainment="treechildren" subcontainment="treechildren">
<treeitem uri="...">
<treerow>
<treecell>
<treeindentation />
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#source" align="right" />
</treecell>
<treecell>
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#description" align="right"
style="list-style-image: none;" />
</treecell>
<treecell>
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#timestamp" align="right"
style="list-style-image: none;" />
</treecell>
</treerow>
</treeitem>
</rule>
</template>
<treecol rdf:resource="http://home.netscape.com/NC-rdf#source" />
<treecol rdf:resource="http://home.netscape.com/NC-rdf#description" />
<treecol rdf:resource="http://home.netscape.com/NC-rdf#timestamp" />
<!-- XXX We probably won't have a treehead in the end, but we'll put it here for now... -->
<treehead>
<treerow>
<treecell>&tree.header.source.label;</treecell>
<treecell>&tree.header.description.label;</treecell>
<treecell>&tree.header.time.label;</treecell>
</treerow>
</treehead>
<treechildren id="NC:FlashRoot" rdf:containment="http://home.netscape.com/NC-rdf#child" />
</tree>
</window>