pjs/suite/browser/pageInfo.xul

145 строки
5.0 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="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
titlemodifier="&mainWindow.titlemodifier;"
titlepreface="&mainWindow.preface;"
titlemenuseparator ="&mainWindow.titlemodifierseperator;"
windowtype="Browser:page-info"
onload="onLoadPageInfo()"
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"/>
<stringbundle id="pageinfobundle" src="chrome://navigator/locale/pageInfo.properties"/>
<vbox id="cont" flex="1">
<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>
<vbox class="inset" id="documentinfo">
<grid>
<columns>
<column/>
<column flex="1"/>
</columns>
<rows>
<row>
<label value="&pageInfo.pageTitle;"/>
<label id="titletext" value=""/>
</row>
<row>
<label value="&pageInfo.URL;"/>
<label id="urltext" value=""/>
</row>
<row>
<label value="&pageInfo.lastModified;"/>
<label id="lastmodifiedtext" value=""/>
</row>
</rows>
</grid>
</vbox>
</vbox>
<!-- Form information -->
<vbox id="formTreeContainer" flex="1" collapsed="true">
<label class="header" value="&pageInfo.formHeader;"/>
<tree id="formTree" 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">
<label class="header" value="&pageInfo.imageHeader;"/>
<tree id="imageTree" 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>