mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
79 lines
3.6 KiB
XML
79 lines
3.6 KiB
XML
<?xml version="1.0"?> <!-- -*- Mode: SGML -*- -->
|
|
<!--
|
|
|
|
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
|
|
Communications Corporation. Portions created by Netscape are
|
|
Copyright (C) 1998 Netscape Communications Corporation. All
|
|
Rights Reserved.
|
|
|
|
Contributor(s):
|
|
|
|
-->
|
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://communicator/skin/directory/directory.css" type="text/css"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/directory/directory.dtd">
|
|
|
|
<window style="overflow: auto"
|
|
title="&directoryWindowTitle.label;"
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
orient="vertical">
|
|
|
|
<script src="chrome://communicator/content/directory/directory.js"></script>
|
|
|
|
<tree id="tree" datasources="rdf:files rdf:httpindex" flex="1" style="height:0px;" container="true" open="true" >
|
|
<template>
|
|
<treechildren flex="1">
|
|
<treeitem uri="..." persist="open"
|
|
type="rdf:http://home.netscape.com/NC-rdf#File-Type"
|
|
loading="rdf:http://home.netscape.com/NC-rdf#loading" >
|
|
<treerow>
|
|
<treecell class="treecell-filename treecell-indent" indent="true"
|
|
type="rdf:http://home.netscape.com/NC-rdf#File-Type"
|
|
value="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
<treecell value="rdf:http://home.netscape.com/NC-rdf#Content-Length" />
|
|
<treecell value="rdf:http://home.netscape.com/WEB-rdf#LastModifiedDate" />
|
|
</treerow>
|
|
</treeitem>
|
|
</treechildren>
|
|
</template>
|
|
|
|
<treecolgroup>
|
|
<treecol flex="1" id="FilenameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name" sortActive="true" sortDirection="ascending" />
|
|
<treecol flex="1" id="ContentLengthColumn" rdf:resource="http://home.netscape.com/NC-rdf#Content-Length"/>
|
|
<treecol flex="1" id="LastModColumn" rdf:resource="http://home.netscape.com/WEB-rdf#LastModifiedDate"/>
|
|
</treecolgroup>
|
|
|
|
<treehead>
|
|
<treerow>
|
|
<treecell class="treecell-header sortDirectionIndicator" value="&directoryWindow.filename.label;"
|
|
onclick="return doSort('FilenameColumn');" observes="FilenameColumn" sortActive="true" sortDirection="ascending" />
|
|
<treecell class="treecell-header sortDirectionIndicator" value="&directoryWindow.contentlength.label;"
|
|
onclick="return doSort('ContentLengthColumn');" observes="ContentLengthColumn" />
|
|
<treecell class="treecell-header sortDirectionIndicator" value="&directoryWindow.lastmodified.label;"
|
|
onclick="return doSort('LastModColumn');" observes="LastModColumn" />
|
|
</treerow>
|
|
</treehead>
|
|
|
|
<!-- Create the treechildren here so we can attach event handlers
|
|
at this level (rather than at the tree level -->
|
|
<treechildren flex="1" onclick="OnClick(event, event.target.parentNode.parentNode);" onkeypress="OnClick(event, event.target.parentNode.parentNode);"/>
|
|
|
|
</tree>
|
|
</window>
|