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