~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/extensions/irc/xul/tests/test3.xul

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
 
 
3
<!--
 
4
  The contents of this file are subject to the Mozilla Public
 
5
  License Version 1.1 (the "License"); you may not use this file
 
6
  except in compliance with the License. You may obtain a copy of
 
7
  the License at http://www.mozilla.org/MPL/
 
8
 
 
9
  Software distributed under the License is distributed on an "AS
 
10
  IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 
11
  implied. See the License for the specific language governing
 
12
  rights and limitations under the License.
 
13
 
 
14
  The Original Code is JSIRC Test Client #3
 
15
 
 
16
  The Initial Developer of the Original Code is New Dimensions Consulting,
 
17
  Inc. Portions created by New Dimensions Consulting, Inc. are
 
18
  Copyright (C) 1999 New Dimenstions Consulting, Inc. All
 
19
  Rights Reserved.
 
20
 
 
21
  Contributor(s):
 
22
   Robert Ginda, rginda@ndcico.com, original author
 
23
-->
 
24
 
 
25
<!DOCTYPE window>
 
26
 
 
27
<?xml-stylesheet href="test3.css" type="text/css"?>
 
28
 
 
29
<!--
 
30
resource:///irc/tests/test3.xul
 
31
-->
 
32
 
 
33
<window xmlns:html="http://www.w3.org/1999/xhtml"
 
34
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
 
35
        orient="vertical" onload="onLoad();" onunload="onUnload();">
 
36
 
 
37
<html:script src="resource:///irc/js/lib/utils.js"/>
 
38
<html:script src="resource:///irc/js/lib/connection-xpcom.js"/>
 
39
<html:script src="resource:///irc/js/lib/events.js"/>
 
40
<html:script src="resource:///irc/js/lib/command-manager.js"/>
 
41
<html:script src="resource:///irc/js/lib/irc.js"/>
 
42
<html:script src="resource:///irc/js/lib/irc-debug.js"/>
 
43
<html:script src="resource:///irc/xul/lib/listbox.js"/>
 
44
<html:script src="resource:///irc/xul/lib/munger.js"/>
 
45
 
 
46
<html:script src="resource:///irc/tests/test3-commands.js"/>
 
47
<html:script src="resource:///irc/tests/test3-readprefs.js"/>
 
48
<html:script src="resource:///irc/tests/test3-static.js"/>
 
49
<html:script src="resource:///irc/tests/test3-handlers.js"/>
 
50
 
 
51
<toolbox>
 
52
  <menubar>
 
53
    <menu label="Options">
 
54
      <menupopup>
 
55
        <menuitem id="menu-dmessages" label="Debug Messages"
 
56
                  oncommand="onToggleTraceHook()"/>
 
57
        <menuitem id="menu-munger" label="Munger" oncommand="onToggleMunger()"
 
58
                  checked="true"/>
 
59
        <menuitem id="menu-viewicons" label="Icons in View Buttons" 
 
60
                  checked="true" oncommand="onNotImplemented();"/>
 
61
        <menuseparator/>
 
62
        <menu label="Style">
 
63
          <menupopup>
 
64
           <menuitem label="Default"
 
65
                     oncommand="onDoStyleChange('default')"/>
 
66
           <menuitem label="Marble"
 
67
                     oncommand="onDoStyleChange('marble')"/>
 
68
           <menuitem label="Loud"
 
69
                     oncommand="onDoStyleChange('loud')"/>
 
70
           <menuseparator/>
 
71
           <menuitem label="Other..."
 
72
                     oncommand="onDoStyleChange('other')"/>
 
73
          </menupopup>
 
74
        </menu>
 
75
      </menupopup>
 
76
    </menu>
 
77
    <menu label="Views">
 
78
      <menupopup>
 
79
        <menu label="Current View">
 
80
          <menupopup>
 
81
            <menuitem label="Hide" oncommand="onHideCurrentView();"/>
 
82
            <menuitem label="Clear" oncommand="onClearCurrentView();"/>
 
83
            <menuitem label="Delete" oncommand="onDeleteCurrentView();"/>
 
84
          </menupopup>
 
85
        </menu>
 
86
        <menuitem label="Logging..." enabled="false"
 
87
                  oncommand="onNotImplemented();"/>
 
88
      </menupopup>
 
89
    </menu>
 
90
  </menubar>
 
91
</toolbox>
 
92
 
 
93
<toolbox id="views-tbox">
 
94
  <toolbar id="views-tbar">
 
95
  </toolbar>
 
96
</toolbox>
 
97
 
 
98
<vbox id="outer-box" flex="1">
 
99
  <hbox id="inner-box" flex="1">
 
100
    <html:div id="quickList" class="quick-list" flex="0" width="150px">
 
101
    </html:div>
 
102
    <splitter id="main-splitter" orient="vertical" collapse="before"/>
 
103
    <vbox flex="1">
 
104
      <html:iframe id="it-doesnt-matter-anyway" class="output-container"
 
105
       src="about:blank" flex="1"/>
 
106
    <!--
 
107
      <html:textarea id="input" class="input-window"/>
 
108
    -->
 
109
      <html:input type="text" id="input" class="input-window"/>
 
110
    </vbox>
 
111
  </hbox>
 
112
</vbox>
 
113
 
 
114
<toolbox>
 
115
  <toolbar id="status-bar">
 
116
    <html:table class="status-table">
 
117
      <html:tr>
 
118
        <html:td class="status-label">Network</html:td>
 
119
        <html:td class="status-data">
 
120
         <html:a id="net-name">(none)</html:a> 
 
121
        </html:td>
 
122
        <html:td class="status-label">Server</html:td>
 
123
        <html:td class="status-data">
 
124
          <html:a id="server-name">(none)</html:a>
 
125
        </html:td>
 
126
        <html:td class="status-label">Nickname</html:td>
 
127
        <html:td class="status-data">
 
128
          <html:a id="server-nick">(unknown)</html:a>
 
129
        </html:td>
 
130
        <html:td class="status-label">Lag</html:td>
 
131
        <html:td class="status-data">
 
132
          <html:a id="server-lag">-1</html:a>
 
133
        </html:td>
 
134
        <html:td class="status-label">Last Ping</html:td>
 
135
        <html:td class="status-data">
 
136
          <html:a id="last-ping">(never)</html:a>
 
137
        </html:td>
 
138
      </html:tr>
 
139
      <html:tr>
 
140
        <html:td class="status-label">Channel</html:td>
 
141
        <html:td class="status-data">
 
142
          <html:a id="channel-name">(none)</html:a>
 
143
        </html:td>
 
144
        <html:td class="status-label">Mode</html:td>
 
145
        <html:td class="status-data">
 
146
          <html:a id="channel-mode">(none)</html:a>
 
147
        </html:td>
 
148
        <html:td class="status-label">Users</html:td>
 
149
        <html:td class="status-data">
 
150
          <html:a id="channel-users">(none)</html:a>
 
151
        </html:td>
 
152
        <html:td class="status-label">Limit</html:td>
 
153
        <html:td class="status-data">
 
154
          <html:a id="channel-limit">(none)</html:a>
 
155
        </html:td>
 
156
        <html:td class="status-label">Key</html:td>
 
157
        <html:td class="status-data">
 
158
          <html:a id="channel-key">(none)</html:a>
 
159
        </html:td>
 
160
      </html:tr>
 
161
      <html:tr>
 
162
        <html:td class="status-label">Topic By</html:td>
 
163
        <html:td class="status-data">
 
164
          <html:a id="channel-topicby">(nobody)</html:a>
 
165
        </html:td>
 
166
        <html:td class="status-label">Topic</html:td>
 
167
        <html:td class="status-data" colspan="7">
 
168
          <html:a id="channel-topic">(none)</html:a>
 
169
        </html:td>
 
170
      </html:tr>
 
171
    </html:table>
 
172
  </toolbar>
 
173
</toolbox>
 
174
</window>