2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Copy Viewer/Editor -->
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
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"?>
11 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
13 <!DOCTYPE window PUBLIC "" ""[
14 <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
17 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
19 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
21 <window id="cat_copy_editor_win"
22 onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
23 width="800" height="580" persist="width height"
25 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
27 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
29 <script type="text/javascript">
30 var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true;
32 <scripts id="openils_util_scripts"/>
34 <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
35 <script type="text/javascript" src="copy_editor.js"/>
37 <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
38 <messagecatalog id="commonStrings" src="/xul/server/locale/<!--#echo var='locale'-->/common.properties" />
40 <iframe id="brief_display"/>
42 <groupbox flex="1" style="overflow: auto">
43 <caption id="caption" label="Copy Viewer"/>
46 <hbox style="background: grey">
47 <vbox><spacer flex="1"/><label value="Templates:" style="font-weight: bold"/><spacer flex="1"/></vbox>
48 <hbox id="template_placeholder"/>
49 <button id="apply_template" label="Apply" accesskey="y" oncommand="g.apply_template()"/>
50 <button id="delete_template" label="Delete" oncommand="g.delete_template()"/>
51 <button id="import_templates" label="Import" oncommand="g.import_templates()"/>
52 <button id="export_templates" label="Export" oncommand="g.export_templates()"/>
53 <button id="save_template" label="Save" oncommand="g.save_template()"/>
56 <button label="Reset" accesskey="R" oncommand="g.reset()"/>
59 <hbox flex="1" style="overflow: scroll">
61 <label value="Identification" style="font-weight: bold; font-size: large"/>
62 <vbox id="left_pane" flex="1"/>
64 <splitter><grippy /></splitter>
66 <button style="font-weight: bold; font-size: normal" label="Location" accesskey="1" oncommand="document.getElementById('right_pane').firstChild.firstChild.focus();"/>
67 <vbox id="right_pane" flex="1"/>
69 <splitter><grippy /></splitter>
71 <button style="font-weight: bold; font-size: normal" label="Circulation" accesskey="2" oncommand="document.getElementById('right_pane2').firstChild.firstChild.focus();"/>
72 <vbox id="right_pane2" flex="1"/>
74 <splitter><grippy /></splitter>
76 <button style="font-weight: bold; font-size: normal" label="Miscellaneous" accesskey="3" oncommand="document.getElementById('right_pane3').firstChild.firstChild.focus();"/>
77 <vbox id="right_pane3" flex="1"/>
79 <splitter><grippy /></splitter>
81 <button style="font-weight: bold; font-size: normal" label="Statistics" accesskey="4" oncommand="document.getElementById('right_pane4').firstChild.firstChild.focus();"/>
82 <menu label="Library Filter" id="stat_cat_lib_filter_menu">
85 <vbox id="right_pane4" flex="1"/>
91 <button id="copy_notes" label="Copy Notes" accesskey="N" oncommand="g.copy_notes();"/>
92 <button id="save" label="Modify Copies" hidden="true" accesskey="M" oncommand="g.stash_and_close();"/>
93 <button id="cancel" label="Close" accesskey="C" oncommand="window.close();"/>