gecko-dev/rdf/resources/customize.xul

116 lines
3.1 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://sidebar/skin/" type="text/css"?>
<?xml-stylesheet href="resource:/res/rdf/customize.css" type="text/css"?>
<!DOCTYPE window>
<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="resource:/res/rdf/customize.js" />
<box align="vertical" flex="100%" id="main-box">
<html:div class="title">
Current Panels
</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 name="one" >
<html:select name="two" id="selectList" size="10"
onclick="selectChange();">
</html:select>
</html:form>
<box align="vertical" class="button-group">
<spring flex="50%"/>
<titledbutton id="customize-button" onclick="" value="Customize..." />
<titledbutton onclick="RemovePanel()" value="Remove" />
<spring flex="50%"/>
</box>
</box>
<html:hr/>
<html:div class="title">
Select a Panel to Add
</html:div>
<box align="horizontal" class="box-group">
<tree id="other-panels" style="width:15em;height:15em;"
datasources="resource:/res/rdf/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>
<treehead>
<treerow>
<treecell>Name</treecell>
</treerow>
</treehead>
</tree>
<box align="vertical" class="button-group">
<spring flex="50%"/>
<titledbutton id="add_button" onclick="AddPanel()" value="Add"
disabled="true"/>
<titledbutton id="preview_button" onclick="" value="Preview..."
disabled="true"/>
<spring flex="50%"/>
</box>
</box>
<html:a href="http://dmoz.org/Computers/Internet/WWW/Web_Portals/Netscape.com/My_Netscape_Network/">
Find more panels
</html:a>
|
<html:a href="http://my.netscape.com/publish/">
Create a panel
</html:a>
<html:hr/>
<box align="horizontal">
<spring flex="48%"/>
<titledbutton onclick="window.close()" value="Cancel" />
<spring flex="4%"/>
<titledbutton id="save_button" onclick="Save();" value="Save"
disabled="true"/>
<spring flex="48%"/>
</box>
</box>
</window>