had the OrgTree going in the wrong place. A stale copy must have hid the problem
[Evergreen.git] / Evergreen / staff_client / chrome / content / evergreen / auth / auth_overlay.xul
1 <?xml version="1.0"?>
2 <!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/auth.dtd">
3 <overlay id="auth_overlay" 
4         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
5
6 <!-- Modified by Jason for Evergreen -->
7
8 <!-- The javascript logic for the staff client -->
9 <!--
10 <Auth id="auth_js">
11         <script src="auth.js" />
12 </Auth>
13 -->
14
15 <!-- Some logic abstracted a bit.  Sort of like an API list -->
16 <commandset id="auth_cmds">
17         <command id="cmd_login" oncommand="
18                 disable_login_prompts();
19                 authenticate();
20         "/>
21         <command id="cmd_logoff" oncommand="logoff();"/>
22         <command id="cmd_close_window" oncommand="nice_shutdown();"/>
23 </commandset>
24
25 <!-- The top level widget for the staff client -->
26 <box id="auth_main" flex="1" orient="vertical">
27         <deck id="main_deck">
28                 <groupbox id="main_groupbox" flex="1"/>
29                 <iframe id="print_frame" flex="1"/>
30                 <iframe id="scratch_pad" flex="1"/>
31         </deck>
32         <button label="Console" accesskey="C" oncommand="try {mw.spawn_javascript_console(mw.document,'new_window','',{}); } catch(E) { alert(E); }"/>
33         <button label="FConsole" accesskey="F" oncommand="try {mw.spawn_filter_console(mw.document,'new_window','',{}); } catch(E) { alert(E); }"/>
34 </box>
35
36 <groupbox id="main_groupbox" flex="1">
37         <caption id="main_caption" label="&auth.login_header;"/>
38         <label value="&auth.version;"/>
39         <label value="Development Version"/>
40         <label value=" "/>
41         <grid>
42                 <columns>
43                         <column />
44                         <column />
45                 </columns>
46                 <rows>
47                         <row>
48                                 <label value="&auth.name_prompt;" control="name_prompt" accesskey="&auth.name_prompt.key;"/>
49                                 <textbox id="name_prompt" value=""/>
50                         </row>
51                         <row>
52                                 <label value="&auth.password_prompt;" control="password_prompt" accesskey="&auth.password_prompt.key;"/>
53                                 <textbox id="password_prompt" value="" type="password"/>
54                         </row>
55                         <row>
56                                 <label/>
57                                 <hbox>
58                                 <button id="submit_button" label="&auth.submit_prompt;" accesskey="&auth.submit_prompt.key;" command="cmd_login"/>
59                                 <button label="&auth.logoff_prompt;" accesskey="&auth.logoff_prompt.key;" command="cmd_logoff"/>
60                                 </hbox>
61                         </row>
62                         <row>
63                                 <label/>
64                                 <label/>
65                         </row>
66                         <row>
67                                 <label/>
68                                 <button label="&auth.quit_prompt;" accesskey="&auth.quit_prompt.key;" command="cmd_close_window"/>
69                         </row>
70                 </rows>
71         </grid>
72         <progressmeter id="auth_meter" mode="normal" value="0"/>
73 </groupbox>
74
75 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
76 <keyset id="auth_keys">
77         <key id="auth-login-key" modifiers="accel" key="S" command="cmd_login"/>
78         <key id="auth-logoff-key" modifiers="accel" key="L" command="cmd_logoff"/>
79         <key id="auth-close-key" modifiers="accel" key="Q" command="cmd_close_window"/>
80 </keyset>
81
82 </overlay>