]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/server/patron/summary_overlay.xul
clipboard function; using it for patron barcode and record tcn
[Evergreen.git] / Open-ILS / xul / staff_client / server / patron / summary_overlay.xul
1 <?xml version="1.0"?>
2 <!DOCTYPE overlay PUBLIC "" ""[
3         <!--#include virtual="/opac/locale/en-US/lang.dtd"-->
4 ]>
5 <overlay id="patron_summary_overlay" 
6         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
7
8 <script>dump('loading patron/summary_overlay.xul\n');</script>
9
10 <commandset id="patron_summary_cmds" />
11
12 <box id="patron_summary_main" flex="1" orient="vertical" style="overflow: auto">
13         <vbox id="patron_info_sidebar" />
14 </box>
15
16 <vbox id="patron_info_sidebar" flex="1">
17         <label id="patron_name" hidden="true" class="patronNameLarge"/>
18         <groupbox id="PatronSummaryAlert_groupbox" flex="0" hidden="true" class="alert">
19                 <caption id="psagbc" label="Alert" class="shrinkable_groupbox"/>
20                 <description id="patron_alert"/>
21         </groupbox>
22         <groupbox id="PatronSummaryStanding_groupbox" flex="0" hidden="true" class="standing">
23                 <caption id="pssgbc" label="Standing" class="shrinkable_groupbox"/>
24                 <vbox id="patron_standing_penalties"/>
25         </groupbox>
26         <groupbox id="PatronSummaryStatus_groupbox" flex="0" class="status"/>
27         <!--
28         <groupbox id="PatronSummarySurvey_groupbox" flex="0">
29                 <caption id="pdsgbc" label="Surveys" class="shrinkable_groupbox"/>
30                 <vbox id="patron_surveys" />
31         </groupbox>
32         -->
33         <groupbox id="PatronSummaryContact_groupbox" flex="0" class="contact"/>
34 </vbox>
35
36 <groupbox id="PatronSummaryStatus_groupbox" orient="vertical">
37         <caption label="&staff.patron_display.status.caption;" class="shrinkable_groupbox"/>
38         <grid style="border: solid thin"><columns><column/></columns><rows>
39                 <row hidden="true">
40                         <label id="patron_standing" />
41                 </row>
42                 <row id="pdsgr1">
43                         <label id="patron_profile" class="profile value"/>
44                 </row>
45                 <row id="pdsgr5">
46                         <label id="patron_library" class="homelib value"/>
47                 </row>
48                 <row id="pdsgr5a">
49                         <label id="patron_net_access" class="net_access value"/>
50                 </row>
51         </rows></grid>
52         <grid id="PatronSummaryStatus_grid" flex="1"/>
53
54 </groupbox>
55
56 <grid id="PatronSummaryStatus_grid">
57         <columns id="pdsgc">
58                 <column id="pdsgc1" />
59                 <column id="pdsgc2" />
60                 <column id="pdsgc3" />
61                 <column id="pdsgc4" />
62         </columns>
63         <rows id="pdsgr" flex="1">
64                 <row id="pdsgr4">
65                         <label id="PatronSummaryStatus_holds_label" class="text_left holds label"
66                                 value="&staff.patron_display.holds.label;" />
67                         <label id="patron_holds" class="holds value"/>
68                 </row><row>
69                         <label id="PatronSummaryStatus_holds_available_label" class="text_left holds_ready label"
70                                 value="&staff.patron_display.holds_available.label;" />
71                         <label id="patron_holds_available" class="holds_ready label"/>
72                 </row>
73                 <row id="pdsgr2">
74                         <label id="PatronSummaryStatus_credit_label" class="text_left credit label"
75                                 value="&staff.patron_display.credit.label;" />
76                         <label id="patron_credit" class="credit value"/>
77                 </row><row>
78                         <label id="PatronSummaryStatus_bills_label" class="text_left bill label"
79                                 value="&staff.patron_display.bills.label;" />
80                         <label id="patron_bill" class="bill value"/>
81                 </row>
82                 <row id="pdsgr3">
83                         <label id="PatronSummaryStatus_checkouts_label" class="text_left items_out label"
84                                 value="&staff.patron_display.checkouts.label;" />
85                         <label id="patron_checkouts" class="items_out value"/>
86                 </row>
87                 <row>
88                         <label id="PatronSummaryStatus_checkouts_overdue_label" class="text_right items_overdue label"
89                                 value="&staff.patron_display.checkouts_overdue.label;" style="background: grey"/>
90                         <label id="patron_overdue" class="items_overdue value" style="background: grey"/>
91                 </row>
92                 <row id="pdsgr5">
93                         <label id="PatronSummaryStatus_long_overdue_label" value="Long Overdue:" class="text_right items_long_overdue label" style="background: grey"/>
94                         <label id="patron_long_overdue" class="items_long_overdue value" style="background: grey"/>
95                 </row>
96                 <row id="pdsgr7">
97                         <label id="PatronSummaryStatus_claimed_returned_label" value="Claimed Returned:" class="text_right items_long_overdue label" style="background: grey"/>
98                         <label id="patron_claimed_returned" class="items_claimed_returned value" style="background: grey"/>
99                 </row>
100                 <row id="pdsgr6">
101                         <label id="PatronSummaryStatus_lost_label" value="Lost:" class="text_left items_lost label"/>
102                         <label id="patron_lost" class="items_lost value"/>
103                 </row>
104         </rows>
105 </grid>
106
107 <groupbox id="PatronSummaryContact_groupbox" orient="vertical">
108         <!--
109         <caption label="&staff.patron_display.contact.caption;"/>
110         -->
111         <caption label="ID/Contact Info" class="shrinkable_groupbox"/>
112         <hbox id="pdcgbhb1">
113                 <grid id="PatronSummaryContact_grid" />
114                 <spacer id="pdcgbhbs1" flex="1"/>
115                 <image id="patron_photo_url" />
116         </hbox>
117         <grid id="PatronSummaryContact_grid_phone" />
118         <groupbox id="PatronSummaryContact_mailing_address" class="mailing_address"/>
119         <groupbox id="PatronSummaryContact_physical_address" class="physical_address"/>
120 </groupbox>
121
122 <grid id="PatronSummaryContact_grid">
123         <columns id="pdsgc">
124                 <column id="pdsgc1" />
125                 <column id="pdsgc2" />
126         </columns>
127         <rows id="pdsgr" flex="1">
128                 <row id="pdsgr0">
129                         <label id="PatronSummaryContact_library_card_label" class="text_left card label"
130                                 value="&staff.patron_display.library_card.label;"/>
131                         <label id="patron_card" class="card value" style="text-decoration: underline; color: blue; -moz-user-focus: normal;" onclick="copy_to_clipboard(event)"/>
132                         <!--<textbox id="patron_card" class="plain" readonly="true" onclick="this.select()"/>-->
133                 </row>
134                 <row id="pdsgr1">
135                         <label id="PatronSummaryContact_ident_label" class="text_left"
136                                 value="&staff.patron_display.ident1.label;"/>
137                         <vbox id="pdsgr0h">
138                                 <label id="patron_ident_type_1" class="ident ident_type ident1 value"/>
139                                 <label id="patron_ident_value_1" class="ident ident_value ident1 value"/>
140                         </vbox>
141                 </row>
142                 <row id="pdsgr2">
143                         <label id="PatronSummaryContact_ident_label2" class="text_left"
144                                 value="&staff.patron_display.ident2.label;"/>
145                         <vbox id="pdsgr0ah">
146                                 <label id="patron_ident_type_2" class="ident ident_type ident2 value"/>
147                                 <label id="patron_ident_value_2" class="ident ident_value ident2 value"/>
148                         </vbox>
149                 </row>
150                 <row id="pdsgr3">
151                         <label id="PatronSummaryContact_date_of_birth_label" class="text_left dob label"
152                                 value="&staff.patron_display.date_of_birth.label;"/>
153                         <label id="patron_date_of_birth" class="dob value"/>
154                 </row>
155                 <row id="pdsgr4"><label id="pdsgr4l" value=" "/></row>
156         </rows>
157 </grid>
158
159 <grid id="PatronSummaryContact_grid_phone">
160         <columns id="pdcgpc">
161                 <column id="pdcgpc1" />
162                 <column id="pdcgpc2" />
163         </columns>
164         <rows id="pdcgpr" flex="1">
165                 <row id="pdcgpr1">
166                         <label id="PatronSummaryContact_day_phone_label" class="text_left phone label day_phone"
167                                 value="&staff.patron_display.day_phone.label;" />
168                         <label id="patron_day_phone" class="phone value day_phone"/> 
169                 </row>
170                 <row id="pdcgpr2">
171                         <label id="PatronSummaryContact_evening_phone_label" class="text_left phone label evening_phone"
172                                 value="&staff.patron_display.evening_phone.label;" />
173                         <label id="patron_evening_phone" class="phone value evening_phone"/>
174                 </row>
175                 <row id="pdcgpr3">
176                         <label id="PatronSummaryContact_other_phone_label" class="text_left phone label other_phone"
177                                 value="&staff.patron_display.other_phone.label;" />
178                         <label id="patron_other_phone" class="phone value other_phone"/> 
179                 </row>
180                 <row id="pdsgpr4"><label id="pdsgpr4l" value=" "/></row>
181                 <row id="pdsgpr4a">
182                         <label id="PatronSummaryContact_usrname_label" class="text_left usrname label"
183                                 value="OPAC Login:" />
184                         <label id="patron_usrname" class="usrname value"/>
185                 </row>
186                 <row id="pdcgpr5">
187                         <label id="PatronSummaryContact_email_label" class="text_left email label"
188                                 value="&staff.patron_display.email.label;" />
189                         <label id="patron_email" class="email value" style="text-decoration: underline; color: blue; -moz-user-focus: normal;" onclick="copy_to_clipboard(event)"/>
190                 </row>
191                 <row id="pdsgpr6"><label id="pdsgpr6l" value=" "/></row>
192
193         </rows>
194 </grid>
195
196 <groupbox id="PatronSummaryContact_mailing_address" orient="vertical">
197         <caption id="pdcmac" label="&staff.patron_display.mailing_address;" class="shrinkable_groupbox"/>
198         <label id="patron_mailing_address_street1" tooltiptext="&staff.patron_display.mailing.street1.label;" class="address street street1 mailing"/>
199         <label id="patron_mailing_address_street2" tooltiptext="&staff.patron_display.mailing.street2.label;" class="address street street2 mailing"/>
200         <hbox id="pdcmah">
201                 <label id="patron_mailing_address_city" tooltiptext="&staff.patron_display.mailing.city.label;" class="address city mailing"/>
202                 <label id="patron_mailing_address_state" tooltiptext="&staff.patron_display.mailing.state.label;" class="address state mailing"/>
203                 <label id="patron_mailing_address_post_code" tooltiptext="&staff.patron_display.mailing.post_code.label;" class="address post_code mailing"/>
204         </hbox>
205 </groupbox>
206
207 <groupbox id="PatronSummaryContact_physical_address" orient="vertical">
208         <caption id="pdcpac" label="&staff.patron_display.physical_address;" class="shrinkable_groupbox"/>
209         <label id="patron_physical_address_street1" tooltiptext="&staff.patron_display.physical.street1.label;" class="address street street1 physical" />
210         <label id="patron_physical_address_street2" tooltiptext="&staff.patron_display.physical.street2.label;"  class="address street street2 physical"/>
211         <hbox id="pdcpah">
212                 <label id="patron_physical_address_city" tooltiptext="&staff.patron_display.physical.city.label;" class="address city physical"/>
213                 <label id="patron_physical_address_state" tooltiptext="&staff.patron_display.physical.state.label;" class="address state physical"/>
214                 <label id="patron_physical_address_post_code" tooltiptext="&staff.patron_display.physical.post_code.label;" class="address post_code physical"/>
215         </hbox>
216 </groupbox>
217
218 </overlay>