1999-08-23 03:48:53 +00:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: SGML -*- -->
|
|
|
|
<!--
|
|
|
|
|
1999-11-06 03:43:54 +00:00
|
|
|
The contents of this file are subject to the Netscape Public
|
|
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
|
|
except in compliance with the License. You may obtain a copy of
|
|
|
|
the License at http://www.mozilla.org/NPL/
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS
|
|
|
|
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
implied. See the License for the specific language governing
|
|
|
|
rights and limitations under the License.
|
|
|
|
|
|
|
|
The Original Code is mozilla.org code.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
1999-08-23 03:48:53 +00:00
|
|
|
Communications Corporation. Portions created by Netscape are
|
1999-11-06 03:43:54 +00:00
|
|
|
Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
1999-08-23 03:48:53 +00:00
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://directory/skin/" type="text/css"?>
|
|
|
|
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://directory/locale/directory.dtd">
|
|
|
|
|
|
|
|
<window
|
|
|
|
title="&directoryWindowTitle.label;"
|
|
|
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
1999-08-30 09:34:46 +00:00
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
1999-08-23 03:48:53 +00:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
1999-08-25 03:50:15 +00:00
|
|
|
align="vertical">
|
1999-08-23 03:48:53 +00:00
|
|
|
|
|
|
|
<html:script src="directory.js" />
|
|
|
|
|
1999-09-01 03:21:36 +00:00
|
|
|
<html:div style="width:100px;height:100px;" flex="1">
|
1999-08-26 06:13:13 +00:00
|
|
|
<tree id="tree" datasources="rdf:null" style="height:100%;">
|
|
|
|
<template>
|
|
|
|
<treechildren>
|
|
|
|
<!-- We force the 'container="true"' onto the treeitem, even
|
|
|
|
though this _should_ be a value that is computed by the
|
|
|
|
template engine. We need to hack it this way because,
|
|
|
|
if we don't, the tree control will assume that the item
|
|
|
|
shouldn't have a twisty next to it -->
|
1999-09-21 21:43:41 +00:00
|
|
|
<treeitem uri="..." type="rdf:urn:http-index-format:File-Type"
|
|
|
|
loading="rdf:urn:http-index-format:Loading"
|
|
|
|
container="true">
|
1999-08-26 06:13:13 +00:00
|
|
|
<treerow>
|
|
|
|
<treecell class="filename" indent="true"
|
|
|
|
value="rdf:urn:http-index-format:Filename"/>
|
|
|
|
<treecell value="rdf:urn:http-index-format:Content-Length" />
|
|
|
|
<treecell value="rdf:urn:http-index-format:Last-Modified" />
|
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
|
|
|
</treechildren>
|
|
|
|
</template>
|
1999-08-23 03:48:53 +00:00
|
|
|
|
1999-08-30 09:34:46 +00:00
|
|
|
<treecol id="FilenameColumn" rdf:resource="urn:http-index-format:Filename" sortActive="true" sortDirection="ascending" />
|
|
|
|
<treecol id="ContentLengthColumn" rdf:resource="urn:http-index-format:Content-Length"/>
|
|
|
|
<treecol id="LastModColumn" rdf:resource="urn:http-index-format:Last-Modified"/>
|
|
|
|
|
1999-08-26 06:13:13 +00:00
|
|
|
<treehead>
|
|
|
|
<treerow>
|
1999-08-30 09:34:46 +00:00
|
|
|
<treecell value="&directoryWindow.filename.label;" onclick="return doSort('FilenameColumn');" observes="FilenameColumn" sortActive="true" sortDirection="ascending" />
|
|
|
|
<treecell value="&directoryWindow.contentlength.label;" onclick="return doSort('ContentLengthColumn');" observes="ContentLengthColumn" />
|
|
|
|
<treecell value="&directoryWindow.lastmodified.label;" onclick="return doSort('LastModColumn');" observes="LastModColumn" />
|
1999-08-26 06:13:13 +00:00
|
|
|
</treerow>
|
|
|
|
</treehead>
|
1999-08-25 03:50:15 +00:00
|
|
|
|
1999-08-26 06:13:13 +00:00
|
|
|
<!-- Create the treechildren here so we can attach event handlers
|
|
|
|
at this level (rather than at the tree level -->
|
|
|
|
<treechildren
|
|
|
|
onclick="OnClick(event);"
|
|
|
|
ondblclick="OnDblClick(event);" />
|
1999-08-25 03:50:15 +00:00
|
|
|
|
1999-08-26 06:13:13 +00:00
|
|
|
</tree>
|
|
|
|
</html:div>
|
1999-08-23 03:48:53 +00:00
|
|
|
</window>
|