gecko-dev/extensions/irc/xul/tests/test3.xul
rginda%netscape.com 3f34d95584 -- CHATZILLA CHANGES ONLY --
* Makefile.in, makefile.win
Install new files: munger.js, test3-readprefs.js, and face-*.gif (9 files)

* irc.js
Update regexps to 1.5 syntax.

* test3-commands.js
Wire whois command.

* test3-handlers.js
readPrefs() on startup.
Show checkmark on debug message menu.
Clear inputbox after a /command.
Send eval output to currentobject, instead of *client*
Fix for /join #channelname joining ##channelname.
Whois command implementation.
Factor _addToUserList out of onJoin so it can be used from onNick as well.
Whois reply display code.

* test3-output-*.css
New styles for munger tags.
Assorted style changes.

* test3-static.js
Change linuxnet->moznet.
Munger hookup.
newInlineText creates spans instead of anchors.
notifyActivity blinks indicator if it is already lit.
s/parity/mark

* test3.css
Assorted ui style changes: tbuttons in groove, color changes, etc.

* test3.xul
Include new js file.
Put statusbar in a toolbox.
1999-11-29 03:57:45 +00:00

161 lines
5.3 KiB
XML

<?xml version="1.0"?>
<!--
The contents of this file are subject to the Mozilla 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/MPL/
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 JSIRC Test Client #3
The Initial Developer of the Original Code is New Dimensions Consulting,
Inc. Portions created by New Dimensions Consulting, Inc. are
Copyright (C) 1999 New Dimenstions Consulting, Inc. All
Rights Reserved.
Contributor(s):
Contributor(s):
Robert Ginda, rginda@ndcico.com, original author
-->
<!DOCTYPE window>
<?xml-stylesheet href="test3.css" type="text/css"?>
<!--
resource:///irc/tests/test3.xul
-->
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
align="vertical" onload="onLoad();" onunload="onUnload();">
<html:script src="resource:///irc/js/lib/utils.js"/>
<html:script src="resource:///irc/js/lib/connection-xpcom.js"/>
<html:script src="resource:///irc/js/lib/events.js"/>
<html:script src="resource:///irc/js/lib/command-manager.js"/>
<html:script src="resource:///irc/js/lib/irc.js"/>
<html:script src="resource:///irc/js/lib/irc-debug.js"/>
<html:script src="resource:///irc/xul/lib/listbox.js"/>
<html:script src="resource:///irc/xul/lib/munger.js"/>
<html:script src="resource:///irc/tests/test3-commands.js"/>
<html:script src="resource:///irc/tests/test3-readprefs.js"/>
<html:script src="resource:///irc/tests/test3-static.js"/>
<html:script src="resource:///irc/tests/test3-handlers.js"/>
<toolbox>
<menubar>
<menu value="Options">
<menupopup>
<menuitem id="menu-dmessages" value="Debug Messages"
oncommand="onToggleTraceHook()"/>
<menuseparator/>
<menu value="Style">
<menupopup>
<menuitem value="Default"
oncommand="onDoStyleChange('default')"/>
<menuitem value="Marble"
oncommand="onDoStyleChange('marble')"/>
<menuitem value="Loud"
oncommand="onDoStyleChange('loud')"/>
<menuseparator/>
<menuitem value="Other..."
oncommand="onDoStyleChange('other')"/>
</menupopup>
</menu>
</menupopup>
</menu>
</menubar>
</toolbox>
<toolbox id="views-tbox">
<toolbar id="views-tbar">
</toolbar>
</toolbox>
<box id="outer-box" align="vertical" flex="1">
<box id="inner-box" align="horizontal" flex="1">
<html:div id="quickList" class="quick-list" flex="0" width="150px">
</html:div>
<splitter id="main-splitter" align="vertical" collapse="before"/>
<box align="vertical" flex="1">
<html:iframe id="it-doesnt-matter-anyway" class="output-container"
src="about:blank" flex="1"/>
<!--
<html:textarea id="input" class="input-window"/>
-->
<html:input type="text" id="input" class="input-window"/>
</box>
</box>
</box>
<toolbox>
<toolbar id="status-bar">
<html:table class="status-table">
<html:tr>
<html:td class="status-label">Network</html:td>
<html:td class="status-data">
<html:a id="net-name">(none)</html:a>
</html:td>
<html:td class="status-label">Server</html:td>
<html:td class="status-data">
<html:a id="server-name">(none)</html:a>
</html:td>
<html:td class="status-label">Nickname</html:td>
<html:td class="status-data">
<html:a id="server-nick">(unknown)</html:a>
</html:td>
<html:td class="status-label">Lag</html:td>
<html:td class="status-data">
<html:a id="server-lag">-1</html:a>
</html:td>
<html:td class="status-label">Last Ping</html:td>
<html:td class="status-data">
<html:a id="last-ping">(never)</html:a>
</html:td>
</html:tr>
<html:tr>
<html:td class="status-label">Channel</html:td>
<html:td class="status-data">
<html:a id="channel-name">(none)</html:a>
</html:td>
<html:td class="status-label">Mode</html:td>
<html:td class="status-data">
<html:a id="channel-mode">(none)</html:a>
</html:td>
<html:td class="status-label">Users</html:td>
<html:td class="status-data">
<html:a id="channel-users">(none)</html:a>
</html:td>
<html:td class="status-label">Limit</html:td>
<html:td class="status-data">
<html:a id="channel-limit">(none)</html:a>
</html:td>
<html:td class="status-label">Key</html:td>
<html:td class="status-data">
<html:a id="channel-key">(none)</html:a>
</html:td>
</html:tr>
<html:tr>
<html:td class="status-label">Topic By</html:td>
<html:td class="status-data">
<html:a id="channel-topicby">(nobody)</html:a>
</html:td>
<html:td class="status-label">Topic</html:td>
<html:td class="status-data" colspan="7">
<html:a id="channel-topic">(none)</html:a>
</html:td>
</html:tr>
</html:table>
</toolbar>
</toolbox>
</window>