]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/patron/standing_penalties.xul
applying penalties. Need to rework how those embedded interfaces refresh and share...
[working/Evergreen.git] / Open-ILS / xul / staff_client / server / patron / standing_penalties.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Apply/Remove Standing Penalties to Patron -->
4
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
6 <!-- PRESENTATION -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="chrome://open_ils_staff_client/skin/global.css" type="text/css"?>
9 <?xml-stylesheet href="/xul/server/skin/global.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="penalty_win" onload="try { penalty_init(); } catch(E) { alert(E); }"
22         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
23
24         <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
25         <!-- BEHAVIOR -->
26         <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var G;</script>
27         <scripts id="openils_util_scripts"/>
28
29         <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
30         <script type="text/javascript" src="standing_penalties.js"/>
31
32         <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
33
34         <commandset id="penalty_cmds">
35                 <command id="cmd_apply_penalty" />
36                 <command id="cmd_remove_penalty" />
37         </commandset>
38
39         <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
40         <!-- CONTENT -->
41         <groupbox id="penalty_groupbox" flex="1" class="my_overflow">
42                 <caption id="penalty_caption" label="&staff.patron_display.penalty.caption;"/>
43         <vbox flex="0">
44             <hbox flex="1">
45                 <progressmeter id="progress" flex="1" hidden="true" mode="undetermined"/>
46                 <spacer flex="1"/>
47                 <menubar>
48                     <menu label="&staff.patron_display.penalty.menu.actions.label;" accesskey="&staff.patron_display.penalty.menu.actions.accesskey;">
49                         <menupopup>
50                             <menuitem command="cmd_apply_penalty" label="&staff.patron_display.penalty.menu.actions.apply.label;" accesskey="&staff.patron-display.menu.actions.apply.accesskey;"/>
51                             <menuitem command="cmd_remove_penalty" label="&staff.patron_display.penalty.menu.actions.remove.label;" accesskey="&staff.patron-display.menu.actions.remove.accesskey;"/>
52                         </menupopup>
53                     </menu>
54                 </menubar>
55             </hbox>
56         </vbox>
57         <tree id="csp_list" flex="1" enableColumnDrag="true" context="csp_actions"/>
58         </groupbox>
59
60     <popupset id="csp_popupset">
61         <popup id="csp_actions" position="at_pointer">
62             <menuitem command="cmd_apply_penalty" label="&staff.patron_display.penalty.menu.actions.apply.label;" accesskey="&staff.patron-display.menu.actions.apply.accesskey;"/>
63             <menuitem command="cmd_remove_penalty" label="&staff.patron_display.penalty.menu.actions.remove.label;" accesskey="&staff.patron-display.menu.actions.remove.accesskey;"/>
64         </popup>
65     </popupset>
66
67 </window>
68