remote xul can be overlayed with local files
[Evergreen.git] / Open-ILS / xul / staff_client / chrome / content / evergreen / main / main.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Main, Authentication Window -->
4
5 <!-- Stylesheets -->
6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
7
8 <!-- Localization -->
9 <!DOCTYPE window SYSTEM "chrome://evergreen/locale/auth.dtd">
10
11 <window id="main_win" 
12         onload="main_init()"
13         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
14
15         <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
16         <!-- PRESENTATION -->
17         <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
18         <?xml-stylesheet href="chrome://evergreen/skin/evergreen.css" type="text/css"?>
19         <?xml-stylesheet href="chrome://evergreen/skin/auth.css" type="text/css"?>
20
21         <!-- OVERLAYS -->
22         <?xul-overlay href="chrome://evergreen/content/OpenILS/util_overlay.xul"?>
23
24         <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
25         <!-- BEHAVIOR -->
26         <script type="text/javascript">var myPackageDir = 'evergreen'; var IAMXUL = true;</script>
27         <scripts id="openils_util_scripts"/>
28
29         <script type="text/javascript" src="chrome://evergreen/content/main/JSAN.js"/>
30         <script type="text/javascript" src="chrome://evergreen/content/main/main.js"/>
31
32         <commandset id="auth_cmds">
33                 <command id="cmd_login"/>
34                 <command id="cmd_logoff"/>
35                 <command id="cmd_close_window"/>
36         </commandset>
37
38         <keyset id="auth_keys">
39                 <key id="auth-login-key" modifiers="accel" key="S" command="cmd_login"/>
40                 <key id="auth-logoff-key" modifiers="accel" key="L" command="cmd_logoff"/>
41                 <key id="auth-close-key" modifiers="accel" key="Q" command="cmd_close_window"/>
42         </keyset>
43
44         <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
45         <!-- CONTENT -->
46         <groupbox id="main_groupbox" flex="1">
47                 <caption id="main_caption" label="&auth.login_header;"/>
48                 <label value="&auth.version;"/>
49                 <label value="Development Version"/>
50                 <label value=" "/>
51                 <grid>
52                         <columns>
53                                 <column />
54                                 <column />
55                         </columns>
56                         <rows>
57                                 <row>
58                                         <label value="&auth.name_prompt;" control="name_prompt" accesskey="&auth.name_prompt.key;"/>
59                                         <textbox id="name_prompt" value=""/>
60                                 </row>
61                                 <row>
62                                         <label value="&auth.password_prompt;" control="password_prompt" accesskey="&auth.password_prompt.key;"/>
63                                         <textbox id="password_prompt" value="" type="password"/>
64                                 </row>
65                                 <row>
66                                         <label/>
67                                         <hbox>
68                                         <button id="submit_button" label="&auth.submit_prompt;" accesskey="&auth.submit_prompt.key;" command="cmd_login"/>
69                                         <button label="&auth.logoff_prompt;" accesskey="&auth.logoff_prompt.key;" command="cmd_logoff"/>
70                                         </hbox>
71                                 </row>
72                                 <row>
73                                         <label/>
74                                         <label/>
75                                 </row>
76                                 <row>
77                                         <label/>
78                                         <button label="&auth.quit_prompt;" accesskey="&auth.quit_prompt.key;" command="cmd_close_window"/>
79                                 </row>
80                         </rows>
81                 </grid>
82                 <progressmeter id="auth_meter" mode="normal" value="0"/>
83         </groupbox>
84
85 </window>
86