]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/patron/hold_details.xul
LP#1086458: clean up after event listeners in circ/patron interface
[working/Evergreen.git] / Open-ILS / xul / staff_client / server / patron / hold_details.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Patron Display -->
4
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
6 <!-- STYLESHEETS -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
9 <?xml-stylesheet href="/xul/server/skin/patron_display.css" type="text/css"?>
10
11 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
12 <!-- LOCALIZATION -->
13 <!DOCTYPE window PUBLIC "" ""[
14     <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
15 ]>
16
17 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
18 <!-- OVERLAYS -->
19 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
20
21 <window id="hold_notices_win" width="700" height="550" oils_persist="sizemode width height"
22     onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }" title="&staff.patron.hold_notices.title;"
23     onunload="try { my_cleanup(); persist_helper_cleanup(); } catch(E) { alert(E); }"
24     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
25
26     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
27     <!-- BEHAVIOR -->
28         <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
29         <scripts id="openils_util_scripts"/>
30
31     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
32     <script type="text/javascript" src="hold_details.js"/>
33
34     <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
35     <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
36
37     <stack hidden="true" id="notification_template" flex="1">
38         <groupbox flex="1" style="background-color: black;"/>
39         <groupbox flex="1" style="background-color: #FFDE00; -moz-border-radius-topright: 35px;" >
40             <hbox>
41                 <description name="method" label="&staff.patron.hold_notices.method.label;" style="font-weight: bold"/>
42                 <spacer flex="1"/>
43                 <description name="notify_time" style="font-weight: bold"/>
44             </hbox>
45             <description name="note"/>
46         </groupbox>
47     </stack>
48
49     <stack hidden="true" id="note_template" flex="1">
50         <groupbox flex="1" style="background-color: black;"/>
51         <groupbox flex="1" style="background-color: #FFDE00; -moz-border-radius-topright: 35px;" >
52             <hbox>
53                 <description name="title" style="font-weight: bold"/>
54                 <spacer flex="1"/>
55                 <description name="create_date" style="font-weight: bold"/>
56                 <description name="staff" style="font-weight: bold"/>
57                 <description name="pub" style="font-weight: bold"/>
58                 <description name="slip" style="font-weight: bold"/>
59             </hbox>
60             <description name="note"/>
61         </groupbox>
62     </stack>
63
64     <vbox id="v1" flex="1" oils_persist="height">
65         <label id="patron_name" class="patronNameLarge"/>
66         <vbox id="bib_brief_box" flex="1" style="min-height: 10em;"/>
67     </vbox>
68
69     <splitter id="splitter1" oils_persist="state hidden" oils_persist_peers="v1 v2"><grippy/></splitter>
70
71     <vbox id="v2" flex="1" oils_persist="height">
72         <vbox flex="1">
73             <tree id="holds_list" flex="1" enableColumnDrag="true" style="min-height: 4em;"/>
74             <spacer/>
75         </vbox>
76     </vbox>
77
78     <splitter id="splitter2" oils_persist="state hidden" oils_persist_peers="v2 after_splitter2"><grippy/></splitter>
79
80     <tabbox flex="1" id="after_splitter2" oils_persist="height">
81         <tabs>
82             <tab label="&staff.patron.holds.notes_tab.label;" accesskey="&staff.patron.holds.notes_tab.accesskey;" />
83             <tab label="&staff.patron.holds.notices_tab.label;" accesskey="&staff.patron.holds.notices_tab.accesskey;" />
84         </tabs>
85         <tabpanels flex="1">
86             <tabpanel flex="1" orient="vertical">
87                 <hbox>
88                     <button label="&staff.patron.holds.add_note.label;" accesskey="&staff.patron.holds.add_note.accesskey;" oncommand="new_note()"/>
89                     <spacer flex="1"/>
90                 </hbox>
91                 <vbox oils_persist="height" flex="1" class="my_overflow" id="notes_panel">
92                 </vbox>
93             </tabpanel>
94             <tabpanel flex="1" orient="vertical">
95                 <hbox>
96                     <button label="&staff.patron.hold_notices.add_record_notification.label;" accesskey="&staff.patron.hold_notices.add_record_notification.accesskey;" oncommand="new_notification()"/>
97                     <spacer flex="1"/>
98                 </hbox>
99                 <vbox oils_persist="height" flex="1" class="my_overflow" id="notifications_panel">
100                 </vbox>
101             </tabpanel>
102         </tabpanels>
103     </tabbox>
104
105 </window>
106