]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/server/admin/offline_manage_xacts.xul
script list
[Evergreen.git] / Open-ILS / xul / staff_client / server / admin / offline_manage_xacts.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="chrome://open_ils_staff_client/skin/global.css" type="text/css"?>
9 <?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
10 <?xml-stylesheet href="/xul/server/skin/admin_offline_manage_xacts.css" type="text/css"?>
11
12 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
13 <!-- LOCALIZATION -->
14 <!DOCTYPE window PUBLIC "" ""[
15         <!--#include virtual="/opac/locale/en-US/lang.dtd"-->
16 ]>
17
18 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
19 <!-- OVERLAYS -->
20 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
21
22 <window id="admin_offline_manage_xacts_win" 
23         onload="try { my_init(); } 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>
33         <![CDATA[
34                 function my_init() {
35                         try {
36                                 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
37                                 if (typeof JSAN == 'undefined') { throw( "The JSAN library object is missing."); }
38                                 JSAN.errorLevel = "die"; // none, warn, or die
39                                 JSAN.addRepository('/xul/server/');
40                                 JSAN.use('util.error'); g.error = new util.error();
41                                 g.error.sdump('D_TRACE','my_init() for admin_offline_manage_xacts.xul');
42
43                                 g.cgi = new CGI();
44
45                                 JSAN.use('admin.offline_manage_xacts'); g.admin = new admin.offline_manage_xacts();
46                                 g.admin.init({});
47
48                         } catch(E) {
49                                 var err_msg = "!! This software has encountered an error.  Please tell your friendly " +
50                                         "system administrator or software developer the following:\n" 
51                                         + 'admin/offline_manage_xacts.xul\n' + E + '\n';
52                                 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
53                                 alert(err_msg);
54                         }
55                 }
56
57         ]]>
58         </script>
59
60         <hbox id="admin_offline_manage_xacts_main" flex="1">
61
62                 <groupbox flex="1">
63                         <caption label="Batch Sessions"/>
64                         <hbox>
65                                 <button id="refresh" label="Refresh" />
66                                 <button id="create" label="Create" disabled="true"/>
67                                 <button id="execute" label="Process" disabled="true"/>
68                                 <spacer flex="1"/>
69                                 <button id="errors" label="Errors" disabled="true"/>
70                                 <button id="upload" label="Upload" disabled="true"/>
71                         </hbox>
72                         <tree id="session_tree" enableColumnDrag="true" seltype="single" flex="1"/>
73                         <splitter><grippy/></splitter>
74                         <tree id="script_tree" enableColumnDrag="true" seltype="single" flex="1"/>
75                         <hbox id="iframe_placeholder" hidden="false" flex="0"/>
76                 </groupbox>
77
78         </hbox>
79
80 </window>
81