0ab034231ec2417eb319696f176e8e307eb114f2
[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         <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
22         <!-- BEHAVIOR -->
23         <script type="text/javascript">var myPackageDir = 'evergreen'; var IAMXUL = true;</script>
24         <script type="text/javascript" src="../OpenILS/util/utils.js"></script>
25         <script type="text/javascript" src="../OpenILS/util/md5.js"></script>
26         <script type="text/javascript" src="../OpenILS/util/JSON.js"></script>
27         <script type="text/javascript" src="../OpenILS/util/fmall.js"></script>
28         <script type="text/javascript" src="../OpenILS/util/fmgen.js"></script>
29         <script type="text/javascript" src="../OpenILS/util/RemoteRequest.js"></script>
30         <script type="text/javascript" src="../OpenILS/util/OrgTree.js"></script>
31         <script type="text/javascript" src="../OpenILS/util/org_utils.js"></script>
32
33         <script type="text/javascript" src="JSAN.js"></script>
34         <script type="text/javascript" src="main.js"></script>
35
36         <commandset id="auth_cmds">
37                 <command id="cmd_login"/>
38                 <command id="cmd_logoff"/>
39                 <command id="cmd_close_window"/>
40         </commandset>
41
42         <keyset id="auth_keys">
43                 <key id="auth-login-key" modifiers="accel" key="S" command="cmd_login"/>
44                 <key id="auth-logoff-key" modifiers="accel" key="L" command="cmd_logoff"/>
45                 <key id="auth-close-key" modifiers="accel" key="Q" command="cmd_close_window"/>
46         </keyset>
47
48         <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
49         <!-- CONTENT -->
50         <groupbox id="main_groupbox" flex="1">
51                 <caption id="main_caption" label="&auth.login_header;"/>
52                 <label value="&auth.version;"/>
53                 <label value="Development Version"/>
54                 <label value=" "/>
55                 <grid>
56                         <columns>
57                                 <column />
58                                 <column />
59                         </columns>
60                         <rows>
61                                 <row>
62                                         <label value="&auth.name_prompt;" control="name_prompt" accesskey="&auth.name_prompt.key;"/>
63                                         <textbox id="name_prompt" value=""/>
64                                 </row>
65                                 <row>
66                                         <label value="&auth.password_prompt;" control="password_prompt" accesskey="&auth.password_prompt.key;"/>
67                                         <textbox id="password_prompt" value="" type="password"/>
68                                 </row>
69                                 <row>
70                                         <label/>
71                                         <hbox>
72                                         <button id="submit_button" label="&auth.submit_prompt;" accesskey="&auth.submit_prompt.key;" command="cmd_login"/>
73                                         <button label="&auth.logoff_prompt;" accesskey="&auth.logoff_prompt.key;" command="cmd_logoff"/>
74                                         </hbox>
75                                 </row>
76                                 <row>
77                                         <label/>
78                                         <label/>
79                                 </row>
80                                 <row>
81                                         <label/>
82                                         <button label="&auth.quit_prompt;" accesskey="&auth.quit_prompt.key;" command="cmd_close_window"/>
83                                 </row>
84                         </rows>
85                 </grid>
86                 <progressmeter id="auth_meter" mode="normal" value="0"/>
87         </groupbox>
88
89 </window>
90