gecko-dev/suite/browser/pageInfo.xul

151 строка
5.4 KiB
XML

<?xml version="1.0"?>
<!--
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 Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
Simeon Morrison <smorrison@gte.com>
Chris McAfee <mcafee@netscape.com>
-->
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % pageInfoDTD SYSTEM "chrome://navigator/locale/pageInfo.dtd" >
%pageInfoDTD;
]>
<window id="main-window" xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&pageInfo.title;"
titlemodifier="&mainWindow.titlemodifier;"
titlepreface="&mainWindow.preface;"
titlemenuseparator ="&mainWindow.titlemodifierseperator;"
windowtype="Browser:page-info"
onload="onLoadPageInfo()"
orient="vertical" class="dialog"
width="400" height="450"
screenX="10" screenY="10"
persist="screenX screenY width height sizemode">
<script type="application/x-javascript" src="chrome://navigator/content/pageInfo.js"/>
<!-- keys are appended from the overlay -->
<keyset id="dialogKeys"/>
<vbox id="cont" flex="1">
<text class="header label" value="&pageInfo.description;"/>
<tabbox id="tabbox" flex="1">
<tabs id="tabs">
<tab id="generalTab" label="&pageInfo.generalTab;"/>
<tab id="formsTab" label="&pageInfo.formsTab;" hidden="true" />
<tab id="imagesTab" label="&pageInfo.imagesTab;" hidden="true" />
<!-- Others added by overlay -->
</tabs>
<tabpanels id="tabpanels" flex="1">
<!-- General page information -->
<vbox>
<text class="header label" value="&pageInfo.description;"/>
<vbox class="inset" id="documentinfo">
<grid>
<columns>
<column/>
<column flex="1"/>
</columns>
<rows>
<row>
<text class="label" value="&pageInfo.pageTitle;"/>
<text class="label" id="titletext" value=""/>
</row>
<row>
<text class="label" value="&pageInfo.URL;"/>
<text class="label" id="urltext" value=""/>
</row>
<row>
<text class="label" value="&pageInfo.lastModified;"/>
<text class="label" id="lastmodifiedtext" value=""/>
</row>
</rows>
</grid>
</vbox>
</vbox>
<!-- Form information -->
<vbox id="formTreeContainer" flex="1" collapsed="true">
<text class="header label" value="&pageInfo.formHeader;"/>
<tree id="formTree" class="inset" flex="1">
<treecolgroup>
<treecol flex="2"/>
<splitter class="tree-splitter"/>
<treecol flex="1"/>
<splitter class="tree-splitter"/>
<treecol flex="1"/>
</treecolgroup>
<treehead>
<treerow>
<treecell label="&pageInfo.formAction;" class="treecell-header treecell-inset-header"/>
<treecell label="&pageInfo.formMethod;" class="treecell-header treecell-inset-header"/>
<treecell label="&pageInfo.formName;" class="treecell-header treecell-inset-header"/>
</treerow>
</treehead>
<treechildren id="formChildren" flex="1"/>
</tree>
</vbox>
<!-- Image information -->
<vbox id="imageTreeContainer" flex="1" collapsed="true">
<text class="header label" value="&pageInfo.imageHeader;"/>
<tree id="imageTree" class="inset" onselect="onImageSelect()" flex="1">
<treecolgroup>
<treecol flex="7"/>
<splitter class="tree-splitter"/>
<treecol flex="2"/>
<splitter class="tree-splitter"/>
<treecol flex="2"/>
<splitter class="tree-splitter"/>
<treecol flex="4"/>
</treecolgroup>
<treehead>
<treerow>
<treecell label="&pageInfo.imageURL;" class="treecell-header treecell-inset-header"/>
<treecell label="&pageInfo.imageWidth;" class="treecell-header treecell-inset-header"/>
<treecell label="&pageInfo.imageHeight;" class="treecell-header treecell-inset-header"/>
<treecell label="&pageInfo.imageAltText;" class="treecell-header treecell-inset-header"/>
</treerow>
</treehead>
<treechildren id="imagesChildren" flex="1"/>
</tree>
<splitter collapse="after" id="imageSplitter"/>
<hbox id="imagePreviewContainer" flex="1">
<iframe id="imageFrame" class="inset" type="content" src="about:blank" flex="1"/>
</hbox>
</vbox>
<!-- Others added by overlay -->
</tabpanels>
</tabbox>
</vbox>
</window>