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">
6 <!-- Modified by Jason for Evergreen -->
8 <!-- The javascript logic for the staff client -->
11 <script src="auth.js" />
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();
21 <command id="cmd_logoff" oncommand="logoff();"/>
22 <command id="cmd_close_window" oncommand="nice_shutdown();"/>
25 <!-- The top level widget for the staff client -->
26 <box id="auth_main" flex="1" orient="vertical">
28 <groupbox id="main_groupbox" flex="1"/>
29 <iframe id="print_frame" flex="1"/>
30 <iframe id="scratch_pad" flex="1"/>
33 <button label="Console" accesskey="C" oncommand="try {mw.spawn_javascript_console(mw.document,'new_window','',{}); } catch(E) { alert(E); }"/>
34 <button label="FConsole" accesskey="F" oncommand="try {mw.spawn_filter_console(mw.document,'new_window','',{}); } catch(E) { alert(E); }"/>
38 <groupbox id="main_groupbox" flex="1">
39 <caption id="main_caption" label="&auth.login_header;"/>
40 <label value="&auth.version;"/>
41 <label value="Development Version"/>
50 <label value="&auth.name_prompt;" control="name_prompt" accesskey="&auth.name_prompt.key;"/>
51 <textbox id="name_prompt" value=""/>
54 <label value="&auth.password_prompt;" control="password_prompt" accesskey="&auth.password_prompt.key;"/>
55 <textbox id="password_prompt" value="" type="password"/>
60 <button id="submit_button" label="&auth.submit_prompt;" accesskey="&auth.submit_prompt.key;" command="cmd_login"/>
61 <button label="&auth.logoff_prompt;" accesskey="&auth.logoff_prompt.key;" command="cmd_logoff"/>
70 <button label="&auth.quit_prompt;" accesskey="&auth.quit_prompt.key;" command="cmd_close_window"/>
74 <progressmeter id="auth_meter" mode="normal" value="0"/>
77 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
78 <keyset id="auth_keys">
79 <key id="auth-login-key" modifiers="accel" key="S" command="cmd_login"/>
80 <key id="auth-logoff-key" modifiers="accel" key="L" command="cmd_logoff"/>
81 <key id="auth-close-key" modifiers="accel" key="Q" command="cmd_close_window"/>