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"/>
34 <groupbox id="main_groupbox" flex="1">
35 <caption id="main_caption" label="&auth.login_header;"/>
36 <label value="&auth.version;"/>
44 <label value="&auth.name_prompt;" control="name_prompt" accesskey="&auth.name_prompt.key;"/>
45 <textbox id="name_prompt" value=""/>
48 <label value="&auth.password_prompt;" control="password_prompt" accesskey="&auth.password_prompt.key;"/>
49 <textbox id="password_prompt" value="" type="password"/>
54 <button id="submit_button" label="&auth.submit_prompt;" accesskey="&auth.submit_prompt.key;" command="cmd_login"/>
55 <button label="&auth.logoff_prompt;" accesskey="&auth.logoff_prompt.key;" command="cmd_logoff"/>
64 <button label="&auth.quit_prompt;" accesskey="&auth.quit_prompt.key;" command="cmd_close_window"/>
68 <progressmeter id="auth_meter" mode="normal" value="0"/>
71 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
72 <keyset id="auth_keys">
73 <key id="auth-login-key" modifiers="accel" key="S" command="cmd_login"/>
74 <key id="auth-logoff-key" modifiers="accel" key="L" command="cmd_logoff"/>
75 <key id="auth-close-key" modifiers="accel" key="Q" command="cmd_close_window"/>