]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/conify/global/acq/lineitem_marc_attr_def.tt2
b2ac860539aa6ad62bd70336d6a9c7b9eca61979
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / acq / lineitem_marc_attr_def.tt2
1 [% WRAPPER default/base.tt2 %]
2 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/lineitem_marc_attr_def.js'> </script>
3
4 <!-- grid -->
5
6  <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
7         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
8             <div>Line Item MARC Attribute Definition Editor</div>
9             <div>
10                 <button dojoType='dijit.form.Button' onClick='attrGrid.showCreateDialog()'>New Attribute</button>
11                 <button dojoType='dijit.form.Button' onClick='attrGrid.deleteSelected()'>Delete Selected</button>
12             </div>
13         </div>
14         <table  jsId="attrGrid"
15                 dojoType="openils.widget.AutoGrid"
16                 fieldOrder="['id', 'code', 'description', 'tag', 'subfield', 'ident', 'remove', 'xpath']"
17                 query="{id: '*'}"
18                 defaultCellWidth='"auto"'
19                 fmClass='acqlimad'
20                 editOnEnter='true'>
21             <thead>
22                 <tr>
23                     <th field='tag' get='attrGridGetTag'>Tag</th>
24                     <th field='subfield' get='attrGridGetSubfield'>Subfield</th>
25                 </tr>
26             </thead>
27         </table>
28     </div>
29 </div>
30 [% END %]
31
32