]> git.evergreen-ils.org Git - Evergreen.git/blob - Evergreen/staff_client/chrome/content/evergreen/patron/patron_search_form_overlay.xul
Various stuff to find a speed bottleneck. It was the register_window function. need...
[Evergreen.git] / Evergreen / staff_client / chrome / content / evergreen / patron / patron_search_form_overlay.xul
1 <?xml version="1.0"?>
2 <!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/patron_search_form.dtd">
3 <overlay id="patron_search_form_overlay" 
4         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
5
6         <script>mw.sdump('D_TRACE','Loading patron_search_form_overlay.xul\n');</script>
7
8 <commandset id="PatronSearchForm_cmds">
9
10         <command id="cmd_broken" oncommand="
11                 alert('Not Yet Implemented'); "/>
12
13         <command id="cmd_search" />
14         <command id="cmd_clear" />
15
16 </commandset>
17
18 <!-- main widget for patron_search_form -->
19 <box id="PatronSearchForm_main" flex="1" orient="horizontal">
20
21         <!-- group 0 = user  group 1 = address  group 2 = phone, ident -->
22
23         <grid id="psg">
24                 <columns id="psc">
25                         <column id="psc1"/>
26                         <column id="psc2" flex="1"/>
27                 </columns>
28                 <rows id="psr">
29                         <row id="psr1">
30                                 <label id="psl1" control="pst1" value="&patron_search_form.family_name.label;" accesskey="&patron_search_form.family_name.accesskey;"/>
31                                 <textbox id="pst1" field="family_name" group="0"/>
32                         </row>
33                         <row id="psr2">
34                                 <label id="psl2" control="pst2" value="&patron_search_form.first_given_name.label;" accesskey="&patron_search_form.first_given_name.accesskey;"/>
35                                 <textbox id="pst2" field="first_given_name" group="0"/>
36                         </row>
37                         <row id="psr3">
38                                 <label id="psl3" control="pst3" value="&patron_search_form.second_given_name.label;" accesskey="&patron_search_form.second_given_name.accesskey;"/>
39                                 <textbox id="pst3" field="second_given_name" group="0"/>
40                         </row>
41                         <row id="psr4">
42                                 <label id="psl4" control="pst4" value="&patron_search_form.email.label;" accesskey="&patron_search_form.email.accesskey;"/>
43                                 <textbox id="pst4" field="email" group="0"/>
44                         </row>
45                         <row id="psr5">
46                                 <label id="psl5" control="pst5" value="&patron_search_form.phone.label;" accesskey="&patron_search_form.phone.accesskey;"/>
47                                 <textbox id="pst5" field="phone" group="2"/>
48                         </row>
49                         <row id="psr6">
50                                 <label id="psl6" control="pst6" value="&patron_search_form.ident.label;" accesskey="&patron_search_form.ident.accesskey;"/>
51                                 <textbox id="pst6" field="ident" group="2"/>
52                         </row>
53                         <row id="psr6a">
54                                 <label id="psl6a" value=" "/>
55                         </row>
56                         <row id="psr7">
57                                 <label id="psl7" control="pst7" value="&patron_search_form.street1.label;" accesskey="&patron_search_form.street1.accesskey;"/>
58                                 <textbox id="pst7" field="street1" group="1"/>
59                         </row>
60                         <row id="psr8">
61                                 <label id="psl8" control="pst8" value="&patron_search_form.street2.label;" accesskey="&patron_search_form.street2.accesskey;"/>
62                                 <textbox id="pst8" field="street2" group="1"/>
63                         </row>
64                         <row id="psr9">
65                                 <label id="psl9" control="pst9" value="&patron_search_form.city.label;" accesskey="&patron_search_form.city.accesskey;"/>
66                                 <textbox id="pst9" field="city" group="1"/>
67                         </row>
68                         <row id="psr10">
69                                 <label id="psl10" control="pst10" value="&patron_search_form.state.label;" accesskey="&patron_search_form.state.accesskey;"/>
70                                 <textbox id="pst10" field="state" group="1"/>
71                         </row>
72                         <row id="psr11">
73                                 <label id="psl11" control="pst11" value="&patron_search_form.post_code.label;" accesskey="&patron_search_form.post_code.accesskey;"/>
74                                 <textbox id="pst11" field="post_code" group="1"/>
75                         </row>
76                         <row id="psr12">
77                                 <spacer id="pss12"/>
78                                 <button id="psb12" label="&patron_search_form.search.label;" accesskey="&patron_search_form.search.accesskey;" key="ps_search" command="cmd_search"/>
79                         </row>
80                         <row id="psr13">
81                                 <spacer id="pss13"/>
82                                 <button id="psb13" label="&patron_search_form.clear.label;" accesskey="&patron_search_form.clear.accesskey;" key="ps_clear" command="cmd_clear"/>
83                         </row>
84                 </rows>
85         </grid>
86
87 </box>
88
89 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
90 <keyset id="PatronSearchForm_keys">
91         <key id="ps_search" modifiers="" keycode="VK_RETURN" command="cmd_search"/>
92         <key id="ps_clear" modifiers="accel" keycode="VK_DELETE" command="cmd_clear"/>
93 </keyset>
94
95 </overlay>