added initial z39 source config interface
[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 <h1>Z39.50 Servers</h1><br/>
4
5 <div dojoType="dijit.form.DropDownButton">
6     <span>Z39.50 Servers</span>
7     <div dojoType="dijit.TooltipDialog" execute="zsCreate(arguments[0]);">
8         <table class='dijitTooltipTable'>
9             <tr>
10                 <td><label for="name">Name: </label></td>
11                 <td><input dojoType="dijit.form.TextBox" name="name"/></td>
12             </tr>
13             <tr>
14                 <td><label for="label">Label: </label></td>
15                 <td><input dojoType="dijit.form.TextBox" name="label"/></td>
16             </tr>
17             <tr>
18                 <td><label for="host">Host: </label></td>
19                 <td><input dojoType="dijit.form.TextBox" name="host"/></td>
20             </tr>
21             <tr>
22                 <td><label for="port">Port: </label></td>
23                 <td><input dojoType="dijit.form.NumberTextBox" name="port"/></td>
24             </tr>
25             <tr>
26                 <td><label for="db">Database: </label></td>
27                 <td><input dojoType="dijit.form.TextBox" name="db"/></td>
28             </tr>
29             <tr>
30                 <td><label for="record_format">Record Format: </label></td>
31                 <td><input dojoType="dijit.form.TextBox" name="record_format"/></td>
32             </tr>
33             <tr>
34                 <td><label for="transmission_format">Transmission Format: </label></td>
35                 <td><input dojoType="dijit.form.TextBox" name="transmission_format"/></td>
36             </tr>
37             <tr>
38                 <td><label for="auth">Requires Authentication: </label></td>
39                 <td><input dojoType="dijit.form.CheckBox" name="auth"/></td>
40             </tr>
41             <tr>
42                 <td colspan='2' align='center'>
43                     <button dojoType='dijit.form.Button' type="submit">Create</button>
44                 </td>
45             </tr>
46         </table>
47     </div>
48 </div> 
49
50 <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
51     <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px;'>
52         <table jsId="zsGrid" dojoType="dojox.grid.DataGrid" query="{name: '*'}" rowSelector='20px'>
53             <thead>
54                 <tr>
55                     <th field="name">Name</th>
56                     <th field="label" width='auto'>Label</th>
57                     <th field="host" width='auto'>Host</th>
58                     <th field="port">Port</th>
59                     <th field="db" width='auto'>Database</th>
60                     <th field="record_format" width='auto'>Record Format</th>
61                     <th field="transmission_format" width='auto'>Transmission Format</th>
62                     <th field="auth" width='auto'>Requires Authentication</th>
63                 </tr>
64             </thead>
65         </table>    
66     </div>
67 </div>
68
69 [% END %]
70
71