b2aa906a9ab31ecfe08696eff57d9791bc6bbfaa
[Evergreen.git] / Open-ILS / xul / staff_client / server / patron / display_overlay.xul
1 <?xml version="1.0"?>
2 <!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/lang.dtd">
3 <overlay id="patron_display_overlay" 
4         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
5
6 <script>dump('loading patron/display_overlay.xul\n');</script>
7
8 <commandset id="patron_display_cmds" />
9
10 <box id="patron_display_main" flex="1" orient="vertical" class="my_overflow">
11         <hbox id="PatronNavBar" flex="0"/>
12         <hbox id="PatronNotNavBar">
13                 <vbox id="patron_info_sidebar" />
14                 <deck id="patron_deck" />
15         </hbox>
16 </box>
17
18 <vbox id="patron_info_sidebar" flex="0">
19         <groupbox id="PatronDisplayStatus_groupbox" flex="0"/>
20         <groupbox id="PatronDisplaySurvey_groupbox" flex="0">
21                 <caption id="pdsgbc" label="Surveys" />
22         </groupbox>
23         <groupbox id="PatronDisplayContact_groupbox" flex="1"/>
24 </vbox>
25
26 <deck id="patron_deck" flex="1">
27 </deck>
28
29 <hbox id="PatronNavBar">
30         <label id="patron_name" class="patronNameLarge" tooltiptext="&staff.patron_display.name.label;" 
31                 value="Retrieving..." flex="1"/>
32         <button id="PatronNavBar_refresh" command="cmd_patron_refresh"
33                 label="&staff.patron_navbar.refresh;" accesskey="&staff.patron_navbar.refresh.accesskey;"/>
34         <button id="PatronNavBar_checkout" command="cmd_patron_checkout"
35                 label="&staff.patron_navbar.checkout;" accesskey="&staff.patron_navbar.checkout.accesskey;"/>
36         <button id="PatronNavBar_items" command="cmd_patron_items"
37                 label="&staff.patron_navbar.items;" accesskey="&staff.patron_navbar.items.accesskey;"/>
38         <button id="PatronNavBar_holds" command="cmd_patron_holds"
39                 label="&staff.patron_navbar.holds;" accesskey="&staff.patron_navbar.holds.accesskey;"/>
40         <button id="PatronNavBar_bills" command="cmd_patron_bills"
41                 label="&staff.patron_navbar.bills;" accesskey="&staff.patron_navbar.bills.accesskey;"/>
42         <button id="PatronNavBar_edit" command="cmd_patron_edit"
43                 label="&staff.patron_navbar.edit;" accesskey="&staff.patron_navbar.edit.accesskey;"/>
44         <button id="PatronNavBar_info" command="cmd_patron_info"
45                 label="&staff.patron_navbar.info;" accesskey="&staff.patron_navbar.info.accesskey;"/>
46 </hbox>
47
48 <box id="PatronDisplayStatus_main" flex="1" orient="vertical">
49         <groupbox id="PatronDisplayStatus_groupbox" />
50 </box>
51
52 <groupbox id="PatronDisplayStatus_groupbox" orient="vertical">
53         <caption label="&staff.patron_display.status.caption;"/>
54         <grid id="PatronDisplayStatus_grid" flex="1"/>
55 </groupbox>
56
57 <grid id="PatronDisplayStatus_grid">
58         <columns id="pdsgc">
59                 <column id="pdsgc1" />
60                 <column id="pdsgc2" />
61                 <column id="pdsgc3" />
62                 <column id="pdsgc4" />
63         </columns>
64         <rows id="pdsgr" flex="1">
65                 <row id="pdsgr1">
66                         <label id="PatronDisplayStatus_profile_label" class="text_right"
67                                 value="&staff.patron_display.profile.label;" />
68                         <label id="patron_profile" />
69                         <label id="PatronDisplayStatus_standing_label" class="text_right"
70                                 value="&staff.patron_display.standing.label;" />
71                         <label id="patron_standing" />
72                 </row>
73                 <row id="pdsgr2">
74                         <label id="PatronDisplayStatus_credit_label" class="text_right"
75                                 value="&staff.patron_display.credit.label;" />
76                         <label id="patron_credit" />
77                         <label id="PatronDisplayStatus_bills_label" class="text_right"
78                                 value="&staff.patron_display.bills.label;" />
79                         <label id="patron_bill" />
80                 </row>
81                 <row id="pdsgr3">
82                         <label id="PatronDisplayStatus_checkouts_label" class="text_right"
83                                 value="&staff.patron_display.checkouts.label;" />
84                         <label id="patron_checkouts" />
85                         <label id="PatronDisplayStatus_checkouts_overdue_label" class="text_right"
86                                 value="&staff.patron_display.checkouts_overdue.label;" />
87                         <label id="patron_overdue" />
88                 </row>
89                 <row id="pdsgr4">
90                         <label id="PatronDisplayStatus_holds_label" class="text_right"
91                                 value="&staff.patron_display.holds.label;" />
92                         <label id="patron_holds" />
93                         <label id="PatronDisplayStatus_holds_available_label" class="text_right"
94                                 value="&staff.patron_display.holds_available.label;" />
95                         <label id="patron_holds_available" />
96                 </row>
97                 <row id="pdsgr5">
98                         <label id="pdsgr5l1" class="text_right" value="Home Lib:" />
99                         <label id="patron_library" />
100                         <label id="pdsgr5l2" class="text_right" value="Last Lib:" />
101                         <label id="patron_last_library" />
102                 </row>
103
104         </rows>
105 </grid>
106
107 <groupbox id="PatronDisplayContact_groupbox" orient="vertical">
108         <caption label="&staff.patron_display.contact.caption;"/>
109         <hbox id="pdcgbhb1">
110                 <grid id="PatronDisplayContact_grid" />
111                 <spacer id="pdcgbhbs1" flex="1"/>
112                 <image id="patron_photo_url" />
113         </hbox>
114         <grid id="PatronDisplayContact_grid_phone" />
115         <groupbox id="PatronDisplayContact_mailing_address" />
116         <groupbox id="PatronDisplayContact_physical_address" />
117 </groupbox>
118
119 <grid id="PatronDisplayContact_grid">
120         <columns id="pdsgc">
121                 <column id="pdsgc1" />
122                 <column id="pdsgc2" />
123         </columns>
124         <rows id="pdsgr" flex="1">
125                 <row id="pdsgr0">
126                         <label id="PatronDisplayContact_library_card_label" class="text_right"
127                                 value="&staff.patron_display.library_card.label;"/>
128                         <label id="patron_card" />
129                 </row>
130                 <row id="pdsgr1">
131                         <label id="PatronDisplayContact_ident_label" class="text_right"
132                                 value="&staff.patron_display.ident1.label;"/>
133                         <hbox id="pdsgr0h">
134                                 <label id="patron_ident_type_1" />
135                                 <label id="patron_ident_value_1" />
136                         </hbox>
137                 </row>
138                 <row id="pdsgr2">
139                         <label id="PatronDisplayContact_ident_label2" class="text_right"
140                                 value="&staff.patron_display.ident2.label;"/>
141                         <hbox id="pdsgr0ah">
142                                 <label id="patron_ident_type_2" />
143                                 <label id="patron_ident_value_2" />
144                         </hbox>
145                 </row>
146                 <row id="pdsgr3">
147                         <label id="PatronDisplayContact_date_of_birth_label" class="text_right"
148                                 value="&staff.patron_display.date_of_birth.label;"/>
149                         <label id="patron_date_of_birth" />
150                 </row>
151                 <row id="pdsgr4"><label id="pdsgr4l" value=" "/></row>
152         </rows>
153 </grid>
154
155 <grid id="PatronDisplayContact_grid_phone">
156         <columns id="pdcgpc">
157                 <column id="pdcgpc1" />
158                 <column id="pdcgpc2" />
159         </columns>
160         <rows id="pdcgpr" flex="1">
161                 <row id="pdcgpr1">
162                         <label id="PatronDisplayContact_day_phone_label" class="text_right"
163                                 value="&staff.patron_display.day_phone.label;" />
164                         <label id="patron_day_phone" /> 
165                 </row>
166                 <row id="pdcgpr2">
167                         <label id="PatronDisplayContact_evening_phone_label" class="text_right"
168                                 value="&staff.patron_display.evening_phone.label;" />
169                         <label id="patron_evening_phone" />
170                 </row>
171                 <row id="pdcgpr3">
172                         <label id="PatronDisplayContact_other_phone_label" class="text_right"
173                                 value="&staff.patron_display.other_phone.label;" />
174                         <label id="patron_other_phone" /> 
175                 </row>
176                 <row id="pdsgpr4"><label id="pdsgpr4l" value=" "/></row>
177                 <row id="pdcgpr5">
178                         <label id="PatronDisplayContact_email_label" class="text_right"
179                                 value="&staff.patron_display.email.label;" />
180                         <label id="patron_email" />
181                 </row>
182                 <row id="pdsgpr6"><label id="pdsgpr6l" value=" "/></row>
183
184         </rows>
185 </grid>
186
187 <groupbox id="PatronDisplayContact_mailing_address" orient="vertical">
188         <caption id="pdcmac" label="&staff.patron_display.mailing_address;"/>
189         <label id="patron_mailing_address_street1" tooltiptext="&staff.patron_display.mailing.street1.label;" />
190         <label id="patron_mailing_address_street2" tooltiptext="&staff.patron_display.mailing.street2.label;" />
191         <hbox id="pdcmah">
192                 <label id="patron_mailing_address_city" tooltiptext="&staff.patron_display.mailing.city.label;" />
193                 <label id="patron_mailing_address_state" tooltiptext="&staff.patron_display.mailing.state.label;" />
194                 <label id="patron_mailing_address_post_code" tooltiptext="&staff.patron_display.mailing.post_code.label;" />
195         </hbox>
196 </groupbox>
197
198 <groupbox id="PatronDisplayContact_physical_address" orient="vertical">
199         <caption id="pdcpac" label="&staff.patron_display.physical_address;"/>
200         <label id="patron_physical_address_street1" tooltiptext="&staff.patron_display.physical.street1.label;" />
201         <label id="patron_physical_address_street2" tooltiptext="&staff.patron_display.physical.street2.label;" />
202         <hbox id="pdcpah">
203                 <label id="patron_physical_address_city" tooltiptext="&staff.patron_display.physical.city.label;" />
204                 <label id="patron_physical_address_state" tooltiptext="&staff.patron_display.physical.state.label;" />
205                 <label id="patron_physical_address_post_code" tooltiptext="&staff.patron_display.physical.post_code.label;" />
206         </hbox>
207 </groupbox>
208
209 </overlay>