0468cfdb552475fb3a7d3bf7f6c41d7bf1f4d451
[Evergreen.git] / Open-ILS / xul / staff_client / server / admin / copy_locations.xml
1 <?xml version='1.0'?>
2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude">
3
4         <head>
5                 <title>Evergreen: Copy Locations Editor</title>
6                 <script language='javascript' src='/opac/common/js/utils.js'> </script>
7                 <script language='javascript' src='/opac/common/js//config.js'> </script>
8                 <script language='javascript' src='/opac/common/js/CGI.js'> </script>
9                 <script language='javascript' src='/opac/common/js/Cookie.js'> </script>
10         
11                 <script language='javascript' src='/opac/common/js/slimtree.js'> </script>
12                 <script language='javascript' src='/opac/common/js/JSON.js'> </script>
13                 <script language='javascript' src='/opac/common/js/fmall.js'> </script>
14                 <script language='javascript' src='/opac/common/js/fmgen.js'> </script>
15                 <script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
16                 <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
17                 <script language='javascript' src='/opac/common/js/org_utils.js'> </script>
18                 <script language='javascript' src='/opac/common/js/init.js'> </script>
19                 <script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
20                 <script language='javascript' src='adminlib.js'> </script>
21                 <script language='javascript' src='copy_locations.js'> </script>
22
23                 <link type='text/css' rel='stylesheet' href='admin.css' />
24         </head>
25
26         <body onload='try{clEditorInit();}catch(e){alert(js2JSON(e));}'>
27
28                 <div class='welcome_box'>
29                         <span>Welcome </span><b><span id='user'/></b>
30                 </div>
31
32                 <center>
33                         <div class='title'> Copy Locations Editor </div>
34                         <br/>
35
36                         <table class='data_grid data_grid_center' width='65%'>
37                                 <thead>
38                                         <tr><td colspan='4'>Create a new copy location</td></tr>
39                                 </thead>
40                                 <tbody>
41                                         <tr>
42                                                 <td id='id'>Name: </td>
43                                                 <td>
44                                                         <input id='cl_new_name' type='text' size='10'/>
45                                                 </td>
46                                                 <td>Holdable: </td>
47                                                 <td>
48                                                         <span>Yes</span>
49                                                         <input type='radio' name='cl_new_hold' id='cl_new_hold_yes'/>
50                                                         <span>No</span>
51                                                         <input type='radio' name='cl_new_hold'  
52                                                                 id='cl_new_hold_no' checked='checked'> </input>
53                                                 </td>
54                                         </tr>
55
56                                         <tr>
57                                                 <td>OPAC Visible: </td>
58                                                 <td>
59                                                         <span>Yes</span>
60                                                         <input type='radio' name='cl_new_vis' id='cl_new_vis_yes' />
61                                                         <span>No</span>
62                                                         <input type='radio' name='cl_new_vis'  id='cl_new_vis_no' checked='checked'> </input>
63                                                 </td>
64                                                 <td>Circulate: </td>
65                                                 <td>
66                                                         <span>Yes</span>
67                                                         <input type='radio' name='cl_new_circulate' id='cl_new_circulate_yes' />
68                                                         <span>No</span>
69                                                         <input type='radio' name='cl_new_circulate'  
70                                                                 id='cl_new_circulate_no' checked='checked'> </input>
71                                                 </td>
72                                         </tr>
73                                         <tr>
74                                                 <td>Owning Library:</td>
75                                                 <td colspan='2' >
76                                                         <select id='cl_new_owner' disabled='disabled'> </select>
77                                                 </td>
78                                                 <td><input id='sc_new_submit' type='submit' value='Create' disabled='disabled'/></td>
79                                         </tr>
80                                 </tbody>
81                         </table>
82
83                         <br/><hr/><br/>
84
85
86                         <table class='data_grid data_grid_center' style='width: 95%'>
87                                 <thead>
88                                         <tr>
89                                                 <td width='15%'>Name</td>
90                                                 <td width='20%'>Owning Library</td>
91                                                 <td width='15%'>
92                                                         <span>Holdable </span>
93                                                         <a class='context_help' href='javascript:clHoldMsg();'> ??</a>
94                                                 </td>
95                                                 <td width='15%'>OPAC Visible</td>
96                                                 <td width='15%'>Circulate</td>
97                                                 <td width='10%'>Edit</td>
98                                                 <td width='10%'>Delete</td>
99                                         </tr>
100                                 </thead>
101                                 <tbody id='cl_tbody'>
102                                         <tr id='cl_row'>
103                                                 <td name='cl_name'> </td>
104                                                 <td name='cl_owner'> </td>
105                                                 <td name='cl_holdable'> </td>
106                                                 <td name='cl_visible'> </td>
107                                                 <td name='cl_circulate'> </td>
108                                                 <td><input type='submit' value='Edit' name='cl_edit' disabled='disabled'> </input></td>
109                                                 <td><input type='submit' value='Delete' name='cl_delete' disabled='disabled'> </input></td>
110                                         </tr>
111                                 </tbody>
112                         </table>
113                  </center>
114
115                  <div class='hide_me'>
116                         <span id='yes'>Yes</span>
117                         <span id='no'>No</span>
118                         <span id='cl_hold_msg'>
119                                 If a copy location is "Holdable", copies in that location may have holds placed on them.
120                         </span>
121                         <span id='cl_delete_confirm'>
122                                 Are you sure you wish to delete the selected copy location?
123                                 Note: If copies are currently attached to this location, the delete operation will fail.
124                         </span>
125                         <table>
126                                 <tbody>
127                                         <tr id='cl_edit' class='insert_row'>
128                                                 <td><input name='cl_edit_name' type='text'> </input></td>
129                                                 <td name='cl_edit_owner'></td>
130                                                 <td>
131                                                         <span>Yes</span>
132                                                         <span name='cl_edit_holdable_yes'>
133                                                                 <input type='radio' name='cl_edit_holdable'/>
134                                                         </span>
135                                                         <span>No</span>
136                                                         <span name='cl_edit_holdable_no'>
137                                                                 <input type='radio' name='cl_edit_holdable'/>
138                                                         </span>
139                                                 </td>
140                                                 <td>
141                                                         <span>Yes</span>
142                                                         <span name='cl_edit_visible_yes'>
143                                                                 <input type='radio' name='cl_edit_visible'/>
144                                                         </span>
145                                                         <span>No</span>
146                                                         <span name='cl_edit_visible_no'>
147                                                                 <input type='radio' name='cl_edit_visible'/>
148                                                         </span>
149                                                 </td>
150                                                 <td>
151                                                         <span>Yes</span>
152                                                         <span name='cl_edit_circulate_yes'>
153                                                                 <input type='radio' name='cl_edit_circulate'/>
154                                                         </span>
155                                                         <span>No</span>
156                                                         <span name='cl_edit_circulate_no'>
157                                                                 <input type='radio' name='cl_edit_circulate'/>
158                                                         </span>
159                                                 </td>
160                                                 <td><input type='submit' name='cl_edit_commit' value='Submit'/></td>
161                                                 <td><input type='submit' name='cl_edit_cancel' value='Cancel'/></td>
162                                         </tr>
163                                 </tbody>
164                         </table>
165                 </div>
166         </body>
167 </html>
168