gecko-dev/mailnews/base/resources/content/subscribe.xul

236 lines
7.8 KiB
Plaintext
Raw Normal View History

<?xml version="1.0"?>
1999-05-29 00:28:02 +00:00
<?xml-stylesheet href="resource:/res/samples/xul.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/subscribe.css" type="text/css"?>
1999-06-08 02:17:35 +00:00
<!--
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.
-->
<!DOCTYPE window
[
<!ENTITY subscribeWindow.title "Subscribe">
<!ENTITY allTab.label "All">
<!ENTITY searchTab.label "Search">
<!ENTITY newTab.label "New">
<!ENTITY nameText.label "Name:">
<!ENTITY addServerButton.label "Add Server">
<!ENTITY okButton.label "OK">
<!ENTITY cancelButton.label "Cancel">
<!ENTITY helpButton.label "Help">
<!ENTITY subscribeButton.label "Subscribe">
<!ENTITY unsubscribeButton.label "Unsubscribe">
<!ENTITY refreshListButton.label "Refresh List">
<!ENTITY expandButton.label "Expand">
<!ENTITY collapseAllButton.label "Collapse All">
<!ENTITY stopButton.label "Stop">
<!ENTITY nameColumn.label "Name">
<!ENTITY messagesColumn.label "Messages">
<!ENTITY getNewButton.label "Get New">
<!ENTITY clearNewButton.label "Clear New">
<!ENTITY searchNowButton.label "Search Now">
<!ENTITY searchFor.label "Search For:">
<!ENTITY newText.label "This list shows all new newsgroups since you last cleared the list.">
]>
1999-05-29 00:28:02 +00:00
<window id="subscribe"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&subscribeWindow.title;">
1999-05-29 00:28:02 +00:00
<box align="vertical" style="width: 100%; height: 100%">
<tabcontrol align="vertical" >
<tabbox align="horizontal" >
<tab>&allTab.label;</tab>
<tab>&searchTab.label;</tab>
<tab>&newTab.label;</tab>
</tabbox>
1999-05-29 00:28:02 +00:00
<tabpanel flex="100%" >
<!-- all tab -->
<box align="vertical" class="cleanborder">
<box align="horizontal">
<html:div>&nameText.label;</html:div>
<html:input type="text" flex="100%"/>
</box>
<box align="horizontal">
<box align="vertical" class="cleanborder">
<tree>
<treehead>
<treeitem>
<treecell>&nameColumn.label;</treecell>
1999-05-29 00:28:02 +00:00
<treecell><html:img src="chrome://messenger/skin/check.gif"/></treecell>
<treecell>&messagesColumn.label;</treecell>
</treeitem>
</treehead>
<treebody rdf:containment="http://home.netscape.com/NC-rdf#child" rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild">
<treeitem id="tintin">
<treecell><treeindentation/>tintin</treecell>
1999-05-29 00:28:02 +00:00
<treecell onclick="dump('clicked here\n');"><titledbutton/></treecell>
<treecell/>
</treeitem>
<treeitem id="news">
<treecell><treeindentation/>news</treecell>
1999-05-29 00:28:02 +00:00
<treecell><titledbutton/></treecell>
<treecell/>
</treeitem>
<treeitem id="news.mozilla.org">
<treecell><treeindentation/>news.mozilla.org</treecell>
1999-05-29 00:28:02 +00:00
<treecell><titledbutton/></treecell>
<treecell/>
</treeitem>
</treebody>
</tree>
</box>
<spring flex="100%"/>
<box align="vertical">
1999-05-29 00:28:02 +00:00
<titledbutton class="push" flex="50%" name="addserver" value="&addServerButton.label;" onclick="dump('Add Server button pressed\n');"/>
<html:hr/>
<titledbutton class="push" flex="50%" name="subscribe" value="&subscribeButton.label;"/>
<titledbutton class="push" flex="50%" name="unsubscribe" value="&unsubscribeButton.label;"/>
<html:hr/>
<titledbutton class="push" flex="50%" name="refreshlist" value="&refreshListButton.label;"/>
<titledbutton class="push" flex="50%" name="expand" value="&expandButton.label;"/>
<titledbutton class="push" flex="50%" name="collapseall" value="&collapseAllButton.label;"/>
<html:hr/>
<titledbutton class="push" flex="50%" name="stop" value="&stopButton.label;"/>
</box>
</box>
</box>
<!-- end of all tab -->
<!-- search tab -->
<box align="vertical" class="cleanborder">
<box align="horizontal">
<html:div>&searchFor.label;</html:div>
<html:input type="text" flex="100%"/>
</box>
<box align="horizontal">
<box align="vertical" class="cleanborder">
<tree>
<treehead>
<treeitem>
<treecell>&nameColumn.label;</treecell>
1999-05-29 00:28:02 +00:00
<treecell><html:img src="chrome://messenger/skin/check.gif"/></treecell>
<treecell>&messagesColumn.label;</treecell>
</treeitem>
</treehead>
<treebody rdf:containment="http://home.netscape.com/NC-rdf#child" rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild">
<treeitem id="a">
<treecell><treeindentation/>a</treecell>
1999-05-29 00:28:02 +00:00
<treecell/>
<treecell/>
</treeitem>
<treeitem id="b">
<treecell><treeindentation/>b</treecell>
1999-05-29 00:28:02 +00:00
<treecell/>
<treecell/>
</treeitem>
<treeitem id="c">
<treecell><treeindentation/>c</treecell>
1999-05-29 00:28:02 +00:00
<treecell/>
<treecell/>
</treeitem>
</treebody>
</tree>
</box>
<spring flex="100%"/>
<box align="vertical">
<titledbutton class="push" flex="50%" name="searchnow" value="&searchNowButton.label;"/>
<html:hr/>
<titledbutton class="push" flex="50%" name="subscribe" value="&subscribeButton.label;"/>
<titledbutton class="push" flex="50%" name="unsubscribe" value="&unsubscribeButton.label;"/>
<html:hr/>
<titledbutton class="push" flex="50%" name="stop" value="&stopButton.label;"/>
</box>
</box>
</box>
<!-- end of search tab -->
<!-- new tab -->
<box align="vertical" class="cleanborder">
<box align="horizontal">
<html:div>&newText.label;</html:div>
</box>
<box align="horizontal">
<box align="vertical" class="cleanborder">
<tree>
<treehead>
1999-06-23 03:02:21 +00:00
<treerow>
<treecell>&nameColumn.label;</treecell>
1999-05-29 00:28:02 +00:00
<treecell><html:img src="chrome://messenger/skin/check.gif"/></treecell>
<treecell>&messagesColumn.label;</treecell>
1999-06-23 03:02:21 +00:00
</treerow>
</treehead>
<treebody rdf:containment="http://home.netscape.com/NC-rdf#child" rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild">
<treeitem id="1">
1999-06-23 03:02:21 +00:00
<treerow>
<treecell><treeindentation/>1</treecell>
<treecell/>
<treecell/>
</treerow>
</treeitem>
<treeitem id="2">
1999-06-23 03:02:21 +00:00
<treerow>
<treecell><treeindentation/>2</treecell>
<treecell/>
<treecell/>
</treerow>
</treeitem>
<treeitem id="3">
1999-06-23 03:02:21 +00:00
<treerow>
<treecell><treeindentation/>3</treecell>
<treecell/>
<treecell/>
</treerow>
</treeitem>
</treebody>
</tree>
</box>
<spring flex="100%"/>
<box align="vertical">
<titledbutton class="push" flex="50%" name="addserver" value="&addServerButton.label;"/>
<html:hr/>
<titledbutton class="push" flex="50%" name="subscribe" value="&subscribeButton.label;"/>
<titledbutton class="push" flex="50%" name="unsubscribe" value="&unsubscribeButton.label;"/>
<html:hr/>
<titledbutton class="push" flex="50%" name="getnew" value="&getNewButton.label;"/>
<titledbutton class="push" flex="50%" name="clearnew" value="&clearNewButton.label;"/>
<html:hr/>
<titledbutton class="push" flex="50%" name="stop" value="&stopButton.label;"/>
</box>
</box>
</box>
<!-- end of new tab -->
</tabpanel>
</tabcontrol>
1999-05-29 00:28:02 +00:00
<spring flex="100%"/>
<box align="horizontal">
<titledbutton class="push" flex="50%" name="ok" value="&okButton.label;"/>
<spring flex="100%"/>
<titledbutton class="push" flex="50%" name="cancel" value="&cancelButton.label;"/>
<spring flex="100%"/>
<titledbutton class="push" flex="50%" name="help" value="&helpButton.label;"/>
</box>
</box>
</window>