gecko-dev/suite/common/sidebar/sidebarOverlay.xul

122 строки
4.5 KiB
Plaintext
Исходник Обычный вид История

2006-07-27 18:50:55 +04:00
<?xml version="1.0"?> <!-- -*- Mode: HTML; indent-tabs-mode: nil -*- -->
1999-10-29 23:13:42 +04:00
<!--
1999-10-29 23:13:42 +04:00
The contents of this file are subject to the Netscape Public License
Version 1.1 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1999 Netscape Communications Corporation. All Rights
Reserved.
-->
2006-07-27 18:49:41 +04:00
<?xml-stylesheet href="chrome://communicator/skin/sidebar/sidebarOverlay.css" type="text/css"?>
1999-10-26 04:39:19 +04:00
2006-07-27 18:49:41 +04:00
<!DOCTYPE window SYSTEM "chrome://communicator/locale/sidebar/sidebarOverlay.dtd">
<overlay id="sidebarOverlay"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- Overlay the sidebar panels -->
2006-07-27 18:47:52 +04:00
<box id="sidebar-box" align="vertical"
persist="hidden width collapsed">
2006-07-27 18:50:55 +04:00
<sidebarheader id="sidebar-title-box" class="sidebarheader-main"
value="&sidebar.panels.label;" persist="hidden state"
collapse="after" onmouseup="PersistHeight();">
<menu id="sidebar-panel-picker" class="standard" crop="right"
oncreate="SidebarBuildPickerPopup();"
value="&sidebar.picker.label;" >
<menupopup id="sidebar-panel-picker-popup" popupanchor="topright"
datasources="rdf:null"
ref="urn:sidebar:current-panel-list">
<template>
<rule>
2006-07-27 18:49:46 +04:00
<menuitem uri="rdf:*" type="checkbox"
oncommand="SidebarTogglePanel(event.target);"
value="rdf:http://home.netscape.com/NC-rdf#title"
exclude="rdf:http://home.netscape.com/NC-rdf#exclude"/>
</rule>
</template>
2006-07-27 18:49:46 +04:00
<menuitem value="&sidebar.customize.label;"
oncommand="SidebarCustomize();" />
2006-07-27 18:49:46 +04:00
<menuseparator />
</menupopup>
</menu>
</sidebarheader>
<box id="sidebar-panels" align="vertical"
datasources="rdf:null"
ref="urn:sidebar:current-panel-list"
persist='last-selected-panel height collapsed hidden' flex="1*">
<template id="sidebar-template">
<rule>
2006-07-27 18:50:56 +04:00
<box uri="rdf:*" class="box-texttab texttab-sidebar" align="left"
value="rdf:http://home.netscape.com/NC-rdf#title"
onclick="SidebarSelectPanel(this)"
exclude="rdf:http://home.netscape.com/NC-rdf#exclude"
hidden="true"/>
<box uri="rdf:*" flex='1*' hidden="true" orient="vertical">
2006-07-27 18:49:55 +04:00
<box flex='1' orient="vertical">
<box orient="horizontal" flex="1" autostretch="never">
2006-07-27 18:50:55 +04:00
<image class="image-panel-loading"/>
<text class="text-panel-loading"
value="&sidebar.loading.label;"/>
2006-07-27 18:49:55 +04:00
</box>
<spring flex="100%"/>
</box>
2006-07-27 18:50:55 +04:00
<iframe class="iframe-panel" flex='1*'
hidden="true" collapsed="true"
src="rdf:http://home.netscape.com/NC-rdf#content" />
2006-07-27 18:50:55 +04:00
<iframe class="iframe-panel" flex='1*'
hidden="true" collapsed="true"
src="rdf:http://home.netscape.com/NC-rdf#content"
type="content" />
</box>
</rule>
</template>
</box>
</box>
1999-10-26 04:39:19 +04:00
<!-- Splitter on the right of sidebar -->
<splitter id="sidebar-splitter" collapse="before" persist="state hidden"
class="chromeclass-extrachrome sidebar-splitter">
onmouseup="SidebarFinishDrag();">
<box id="sidebar-topright-cap" align="vertical">
1999-10-26 04:39:19 +04:00
<spring flex="100%"/>
</box>
<spring flex="100%"/>
<grippy onclick="SidebarExpandCollapse();"/>
1999-10-26 04:39:19 +04:00
<spring flex="100%"/>
<box id="sidebar-bottomright-cap" align="vertical">
1999-10-26 04:39:19 +04:00
<spring flex="100%"/>
</box>
</splitter>
<!-- View->Sidebar toggle -->
<menupopup id="menu_View_Popup">
<menuitem id="sidebar-menu" type="checkbox" value="&sidebarCmd.label;"
oncommand="SidebarShowHide();" position="2"/>
</menupopup>
<!-- open/close grippy for status (not yet)
<box id="status-bar">
<image id="sidebar-status-grippy" position="1"/>
</box>
-->
<!-- Scripts go last, because they peek at state to tweak menus -->
<html:script language="JavaScript"
src="chrome://communicator/content/sidebar/sidebarOverlay.js"/>
</overlay>