added delete-selected buttons
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / config / z3950_source.tt2
1 [% WRAPPER default/base.tt2 %]
2 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/z3950_source.js'> </script>
3
4 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
5
6     <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
7         <div>Z39.50 Servers</div>
8         <div>
9             <button dojoType='dijit.form.Button' onClick='zsGrid.showCreateDialog()'>New Z39.50 Server</button>
10             <button dojoType='dijit.form.Button' onClick='zsGrid.deleteSelected()'>Delete Selected</button>
11         </div>
12     </div>
13
14     <table  jsId="zsGrid"
15             dojoType="openils.widget.AutoGrid"
16             fieldOrder="['name', 'label', 'host', 'port', 'db', 'record_format', 'transmission_format', 'auth']"
17             query="{name: '*'}"
18             defaultCellWidth='15'
19             fmClass='czs'
20             editOnEnter='true'>
21     </table>
22 </div>
23
24 [% END %]
25
26