This commit breaks compatibility with OpenSRF 0.9.
[Evergreen.git] / Open-ILS / xul / staff_client / server / admin / non_cat_types.xhtml
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: Non Cataloged Types 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/JSON_v1.js'> </script>
12                 <script language='javascript' src='/opac/common/js/fmall.js'> </script>
13                 <script language='javascript' src='/opac/common/js/fmgen.js'> </script>
14                 <script language='javascript' src='/opac/common/js/Cookies.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='non_cat_types.js'> </script>
22
23                 <link type='text/css' rel='stylesheet' href='admin.css'/>
24         </head>
25
26         <body onload='try{ncEditorInit();}catch(e){alert(js2JSON(e));}'>
27
28                 <div class='welcome_box'>
29                         <span>Welcome </span><b><span id='nc_user'/></b>
30                 </div>
31
32                 <center>
33                         <div class='title'> Non Cataloged Types Editor </div>
34
35                         <br/>
36
37                         <table class='data_grid data_grid_center' width='85%'>
38                                 <thead>
39                                         <tr><td colspan='5'>Create a new non-cataloged type</td></tr>
40                                 </thead>
41                                 <tbody>
42                                         <tr>
43                                                 <td><input id='nc_new_name'> </input></td>
44                                                 <td>
45                                                         <input id='nc_new_interval_count' type='text' size='3' maxlength='3' value='14'/>
46                                                         <select id='nc_new_interval_type' style='width: 6em;'>
47                                                                 <option value='minutes'>Minutes</option>
48                                                                 <option value='hours'>Hours</option>
49                                                                 <option value='days' selected='selected'>Days</option>
50                                                                 <option value='weeks'>Weeks</option>
51                                                                 <option value='months'>Months</option>
52                                                         </select>
53                                                 </td>
54                                                 <td>Circulate In-House? 
55                                                         <a href='javascript:alert($("cd_in_house_exp").innerHTML);' style='color:red'>(??)</a>
56                                                         <input id='nc_new_inhouse' type='checkbox'/>
57                                                 </td>
58                                                 <td><select class='select_big' id='nc_new_owner' disabled='disabled'> </select></td>
59                                                 <td><input id='nc_new_submit' type='submit' value='Create' disabled='disabled'> </input></td>
60                                         </tr>
61                                 </tbody>
62                         </table>
63
64                         <br/> <hr/> <br/>
65
66                         <table id='nc_table' class='data_grid' width='85%'>
67                                 <thead>
68                                         <tr>
69                                                 <td>Name</td>
70                                                 <td>Owning Location</td>
71                                                 <td>Duration</td>
72                                                 <td>Circulate In House</td>
73                                                 <td>Edit</td>
74                                                 <td>Delete</td>
75                                         </tr>
76                                 </thead>
77                                 <tbody id='nc_tbody'>
78                                         <tr id='nc_row_template'>
79                                                 <td><b name='nc_name'> </b></td>
80                                                 <td name='nc_owner'/>
81                                                 <td>
82                                                         <input name='nc_interval_count' type='text' size='3' maxlength='3' disabled='disabled'/>
83                                                         <select name='nc_interval_type' style='width: 6em;' disabled='disabled'>
84                                                                 <option value='minutes'>Minutes</option>
85                                                                 <option value='hours'>Hours</option>
86                                                                 <option value='days'>Days</option>
87                                                                 <option value='weeks'>Weeks</option>
88                                                                 <option value='months'>Months</option>
89                                                         </select>
90                                                 </td>
91                                                 <td>
92                                                         <input name='nc_inhouse' type='checkbox' disabled='disabled'/>
93                                                 </td>
94                                                 <td><input name='nc_edit' type='submit' value='Edit' disabled='disabled'/></td>
95                                                 <td><input name='nc_delete' type='submit' value='Delete' disabled='disabled'/></td>
96                                         </tr>
97                                 </tbody>
98                         </table>
99                 </center>
100
101                 <table class='hide_me'> <!-- repository for template rows -->
102                         <tbody>
103                                 <tr id='nc_edit_row_temaplate' class='insert_row' edit='1'>
104                                         <td align='center'>
105                                                 <span class='padded'>
106                                                         <input name='nc_edit_name' type='text'> </input>
107                                                 </span>
108                                         </td>
109                                         <td name='nc_edit_owner'/>
110                                         <td>
111                                                 <span>
112                                                         <input name='nc_edit_interval_count' type='text' size='3' maxlength='3'/>
113                                                         <select name='nc_edit_interval_type' style='width: 6em;'>
114                                                                 <option value='minutes'>Minutes</option>
115                                                                 <option value='hours'>Hours</option>
116                                                                 <option value='days'>Days</option>
117                                                                 <option value='weeks'>Weeks</option>
118                                                                 <option value='months'>Months</option>
119                                                         </select>
120                                                 </span>
121                                         </td>
122
123                                         <td><input name='nc_edit_inhouse' type='checkbox'/></td>
124
125                                         <td>
126                                                 <span class='padded'>
127                                                         <input name='nc_edit_submit' type='submit' value='Submit'> </input>
128                                                 </span>
129                                         </td>
130                                         <td>
131                                                 <span class='padded'>
132                                                         <input name='nc_edit_cancel' type='submit' value='Cancel'> </input>
133                                                 </span>
134                                         </td>
135                                 </tr>
136                         </tbody>
137                 </table>
138         </body>
139
140         <span class='hide_me' id='nc_delete_confirm'>
141                 Are you sure you wish to delete the select non cataloged type?
142         </span>
143
144         <span class='hide_me' id='cd_in_house_exp'>
145                 If the 'In-House' flag is set on a non-cataloged type, items that circulate as
146                 that type will create "In-House" circulations.  This is ideal for computer use, 
147                 room "rentals", etc.
148         </span>
149
150         <span class='hide_me' id='nc_update_success'>
151                 Non cataloged type successfully updated
152         </span>
153
154         <span class='hide_me' id='nc_type_exists'>
155                 A Non-Cat type with the selected name already exists.
156         </span>
157
158
159 </html>
160
161
162