toward patron search
[Evergreen.git] / Open-ILS / xul / staff_client / server / patron / search_form_overlay.xul
1 <?xml version="1.0"?>
2 <!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/lang.dtd">
3 <overlay id="patron_search_overlay" 
4         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
5
6 <script>dump('loading patron/search_overlay.xul\n');</script>
7
8 <commandset id="patron_search_form_cmds">
9         <command id="cmd_patron_search_submit" />
10         <command id="cmd_patron_search_clear" />
11 </commandset>
12
13 <box id="patron_search_form_main" orient="vertical" class="my_overflow">
14         <groupbox id="psgf_gb">
15                 <caption id="psgf_gbc" label='&staff.patron_search_form.caption;' />
16                 <grid id="psg" />
17         </groupbox>
18 </box>
19
20 <!-- group 0 = user  group 1 = address  group 2 = phone, ident -->
21
22 <grid id="psg">
23         <columns id="psc">
24                 <column id="psc1"/>
25                 <column id="psc2" flex="1"/>
26         </columns>
27         <rows id="psr">
28                 <row id="psr1">
29                         <label id="psl1" control="family_name" 
30                                 value="&staff.patron_search_form.family_name.label;" 
31                                 accesskey="&staff.patron_search_form.family_name.accesskey;"/>
32                         <textbox id="family_name" group="0"/>
33                 </row>
34                 <row id="psr2">
35                         <label id="psl2" control="first_given_name" 
36                                 value="&staff.patron_search_form.first_given_name.label;" 
37                                 accesskey="&staff.patron_search_form.first_given_name.accesskey;"/>
38                         <textbox id="first_given_name" group="0"/>
39                 </row>
40                 <row id="psr3">
41                         <label id="psl3" control="second_given_name" 
42                                 value="&staff.patron_search_form.second_given_name.label;" 
43                                 accesskey="&staff.patron_search_form.second_given_name.accesskey;"/>
44                         <textbox id="second_given_name" group="0"/>
45                 </row>
46                 <row id="psr4">
47                         <label id="psl4" control="email" 
48                                 value="&staff.patron_search_form.email.label;" 
49                                 accesskey="&staff.patron_search_form.email.accesskey;"/>
50                         <textbox id="email" group="0"/>
51                 </row>
52                 <row id="psr5">
53                         <label id="psl5" control="phone" 
54                                 value="&staff.patron_search_form.phone.label;" 
55                                 accesskey="&staff.patron_search_form.phone.accesskey;"/>
56                         <textbox id="phone" group="2"/>
57                 </row>
58                 <row id="psr6">
59                         <label id="psl6" control="ident" 
60                                 value="&staff.patron_search_form.ident.label;" 
61                                 accesskey="&staff.patron_search_form.ident.accesskey;"/>
62                         <textbox id="ident" group="2"/>
63                 </row>
64                 <row id="psr6a">
65                         <label id="psl6a" value=" "/>
66                 </row>
67                 <row id="psr7">
68                         <label id="psl7" control="street1" 
69                                 value="&staff.patron_search_form.street1.label;" 
70                                 accesskey="&staff.patron_search_form.street1.accesskey;"/>
71                         <textbox id="street1" group="1"/>
72                 </row>
73                 <row id="psr8">
74                         <label id="psl8" control="street2" 
75                                 value="&staff.patron_search_form.street2.label;" 
76                                 accesskey="&staff.patron_search_form.street2.accesskey;"/>
77                         <textbox id="street2" group="1"/>
78                 </row>
79                 <row id="psr9">
80                         <label id="psl9" control="city" 
81                                 value="&staff.patron_search_form.city.label;" 
82                                 accesskey="&staff.patron_search_form.city.accesskey;"/>
83                         <textbox id="city" group="1"/>
84                 </row>
85                 <row id="psr10">
86                         <label id="psl10" control="state" 
87                                 value="&staff.patron_search_form.state.label;" 
88                                 accesskey="&staff.patron_search_form.state.accesskey;"/>
89                         <textbox id="state" group="1"/>
90                 </row>
91                 <row id="psr11">
92                         <label id="psl11" control="post_code" 
93                                 value="&staff.patron_search_form.post_code.label;" 
94                                 accesskey="&staff.patron_search_form.post_code.accesskey;"/>
95                         <textbox id="post_code" group="1"/>
96                 </row>
97                 <row id="psr12">
98                         <spacer id="pss12"/>
99                         <button id="search" label="&staff.patron_search_form.search.label;" 
100                                 accesskey="&staff.patron_search_form.search.accesskey;"
101                                 command="cmd_patron_search_submit"/>
102                 </row>
103                 <row id="psr13">
104                         <spacer id="pss13"/>
105                         <button id="clear" label="&staff.patron_search_form.clear.label;" 
106                                 accesskey="&staff.patron_search_form.clear.accesskey;"
107                                 command="cmd_patron_search_clear"/>
108                 </row>
109         </rows>
110 </grid>
111
112
113 </overlay>