mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 22:05:40 +00:00
135 lines
4.0 KiB
XML
135 lines
4.0 KiB
XML
<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://sidebar/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://sidebar/skin/customize.css" type="text/css"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://sidebar/locale/customize.dtd" >
|
|
|
|
<window
|
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
onload="Init();">
|
|
|
|
<html:script src="chrome://sidebar/content/customize.js" />
|
|
|
|
<box align="vertical" flex="100%" id="main-box">
|
|
|
|
<html:div class="title">
|
|
&sidebar.customize.title.label;
|
|
</html:div>
|
|
|
|
<html:div>
|
|
<html:hr />
|
|
</html:div>
|
|
|
|
<html:div class="subtitle">
|
|
&sidebar.customize.current.label;
|
|
</html:div>
|
|
|
|
<box align="horizontal" class="box-group">
|
|
|
|
<box align="vertical">
|
|
<spring flex="50%"/>
|
|
<titledbutton onclick="moveUp();" id="up" class="borderless up" />
|
|
<titledbutton onclick="moveDown();" id="down" class="borderless down" />
|
|
<spring flex="50%"/>
|
|
</box>
|
|
|
|
<html:form>
|
|
<html:select id="selectList" size="10" onclick="selectChange();">
|
|
</html:select>
|
|
</html:form>
|
|
|
|
<box align="vertical" class="button-group" flex="100%">
|
|
<titledbutton id="customize-button" onclick="CustomizePanel();"
|
|
value="&sidebar.customize.customize.label;" />
|
|
<titledbutton onclick="RemovePanel()"
|
|
value="&sidebar.customize.remove.label;" />
|
|
</box>
|
|
|
|
</box>
|
|
|
|
<html:div>
|
|
<html:hr />
|
|
</html:div>
|
|
|
|
<html:div class="subtitle">
|
|
&sidebar.customize.additional.label;
|
|
</html:div>
|
|
|
|
<box align="horizontal" class="box-group">
|
|
|
|
<!-- datasources="chrome://sidebar/content/sidebar-registry.rdf"-->
|
|
|
|
<tree id="other-panels" flex='100%'
|
|
datasources="resource:/chrome/sidebar/content/default/sidebar-registry.rdf"
|
|
onclick="selected()"
|
|
ref="NC:SidebarRoot" >
|
|
|
|
<!-- The template we'll use to build rows in the content model. -->
|
|
<template>
|
|
<rule>
|
|
<treechildren>
|
|
<treeitem uri="..." type="rdf:http://home.netscape.com/NC-rdf#type">
|
|
<treerow>
|
|
<treecell>
|
|
<treeindentation />
|
|
<titledbutton align="right"
|
|
value="rdf:http://home.netscape.com/NC-rdf#title" />
|
|
</treecell>
|
|
</treerow>
|
|
</treeitem>
|
|
</treechildren>
|
|
</rule>
|
|
</template>
|
|
</tree>
|
|
|
|
<box align="vertical" class="button-group">
|
|
<titledbutton id="add_button" onclick="AddPanel()"
|
|
value="&sidebar.customize.add.label;"
|
|
disabled="true"/>
|
|
<titledbutton id="preview_button" onclick="PreviewPanel()"
|
|
value="&sidebar.customize.preview.label;"
|
|
disabled="true"/>
|
|
</box>
|
|
|
|
</box>
|
|
|
|
<html:div>
|
|
<html:hr />
|
|
</html:div>
|
|
|
|
<box align="horizontal">
|
|
<spring flex="48%"/>
|
|
<titledbutton onclick="window.close()"
|
|
value="&sidebar.customize.cancel.label;" />
|
|
<spring flex="4%"/>
|
|
<titledbutton id="save_button" onclick="Save();"
|
|
value="&sidebar.customize.save.label;"
|
|
disabled="true"/>
|
|
<spring flex="48%"/>
|
|
</box>
|
|
|
|
</box>
|
|
|
|
</window>
|