addChild link working for things other than slivers
[plstackapi.git] / planetstack / core / xoslib / templates / xosAdmin.html
1 <!-- Error and Success templates -->
2
3 <script type="text/template" id="xos-error-response">
4   <h5>Error</h5>
5   <table>
6   <tr><td>error:</td><td><%= error %></td></tr>
7   <tr><td>check:</td><td><%= specific_error %></td></tr>
8   </table>
9   <h5>Details:</h5>
10       <table>
11       <tbody>
12       <% _.each(reasons, function(element, index) { %>
13           <tr><td><%= index %></td><td><%= element %></td></tr>
14       <% }); %>
15       </tbody>
16       </table>
17 </script>
18
19 <script type="text/template" id="xos-error-rawresponse">
20   <h5>Error</h5>
21   <pre>The server returned:
22 "<%= responseText %>"</pre>
23 </script>
24
25 <script type="text/template" id="xos-error-template">
26   <button id="close-error-box">Close Error Message</button>
27   <h3>An error has occurred.</h3>
28   <table class="test-error-table">
29   <tr><td>Code:</td><td><%= status %></td></tr>
30   <tr><td>Message:</td><td><%= statusText %></td></tr>
31   </table>
32 </script>
33
34 <script type="text/template" id="xos-success-template">
35   <button id="close-success-box">Close Success Message</button>
36   <h3>Success!</h3>
37   <table class="test-success-table">
38   <tr><td>Code:</td><td><%= status %></td></tr>
39   <tr><td>Message:</td><td><%= statusText %></td></tr>
40   </table>
41 </script>
42
43 <script type="text/template" id="xos-navbutton-old">
44   <button class="btn btn-default btn-xosnav" onclick="<%= router %>.navigate('<%= routeUrl %>', {trigger: true})"><%= name %></button><br>
45 </script>
46
47 <script type="text/template" id="xos-status-template">
48   <div class="xos-status xos-<%= statusclass %>"><%= what %>: <%= statusText %> (<%= status %>)</div>
49 </script>
50
51 <script type="text/template" id="xos-tabs-template">
52   <ul class="xos-nav-list">
53   <% _.each(tabs, function(tab) { %>
54       <li class="xos-nav-item" id="xos-nav-<%= tab["region"] %>"><%= tab["name"] %></li>
55   <% }); %>
56   </ul>
57 </script>
58
59 <script type="text/template" id="xos-title-list">
60   <h3><img src="/static/img/brokencircle.gif" height=16 width=16 id="xos-list-title-spinner"> <%= title %></h3>
61 </script>
62
63 <script type="text/template" id="xos-title-detail">
64   <h3><%= title %></h3>
65 </script>
66
67 <script type="text/template" id="xos-navbutton">
68   <li>
69       <a href="<%= routeUrl %>">
70           <i class="<%= iconClass %>"></i>
71           <%= name %>
72       </a>
73   </li>
74 </script>
75
76 <script type="text/template" id="xos-inline-detail-buttons-template">
77     <tr>
78        <td colspan=2><button class="btn js-submit btn-xos-detail btn-xos-save-leave">Save</button>
79            <button class="btn js-submit btn-xos-detail btn-xos-save-continue">Save and Continue Editing</button>
80            <button class="btn js-submit btn-xos-detail btn-xos-save-another">Save and Add Another</button>
81            <button class="btn js-submit btn-xos-detail btn-xos-delete">Delete</button>
82        </td>
83     </tr>
84 </script>
85
86 <script type="text/template" id="xos-list-header-template">
87     <button class="btn js-submit btn-xos-list btn-xos-add">Add</button>
88     <button class="btn js-submit btn-xos-list btn-xos-refresh">Refresh</button>
89 </script>
90
91 <script type="text/template" id="xos-list-footer-template">
92     <% console.log(model); %>
93     <a href="<%= addChildHash %>">Add...</a>
94 </script>
95
96 <script type="text/template" id="xos-delete-button-template">
97     <a href="#delete<%= firstCharUpper(modelName) %>/<%= id %>">delete</a>
98 </script>
99
100 <script type="text/template" id="xos-detail-link-template">
101     <a href="#<%= collectionName %>/<%= id %>"><%= text %></a>
102 </script>
103
104 <script type="text/template" id="xos-add-template">
105   <h3 class="xos-detail-title">Add Object: <%= modelName %></h3>
106   <form>
107   <table>\r
108   <% _.each(addFields, function(fieldName) { %>\r
109      <tr><td><%= fieldNameToHumanReadable(fieldName) %>:</td>\r
110         <% if (fieldName in foreignFields) { %>\r
111             <td><%= idToSelect(fieldName, window[fieldName], foreignFields[fieldName], "humanReadableName") %></td>\r
112         <% } else if (inputType[fieldName] == "checkbox") { %>\r
113             <td><input type="checkbox" name="<%= fieldName %>" <% if (model.attributes[fieldName]) print("checked"); %>></td>\r
114         <% } else { %>\r
115             <td><input type="text" name="<%= fieldName %>" value="<%= model.attributes[fieldName] %>"></td>\r
116         <% } %>\r
117      </tr>\r
118   <% }); %>\r
119   <%= xosInlineDetailButtonsTemplate() %>\r
120   </table>\r
121   </form>\r
122 </script>
123
124 <script type="text/template" id="xos-detail-template">
125   <h3 class="xos-detail-title">Add Object: <%= modelName %></h3>
126   <form>
127   <table>\r
128   <% console.log(model); _.each(detailFields, function(fieldName) { %>\r
129      <tr><td><%= fieldNameToHumanReadable(fieldName) %>:</td>\r
130         <% if (fieldName in foreignFields) { %>\r
131             <td><%= idToSelect(fieldName, window[fieldName], foreignFields[fieldName], "humanReadableName") %></td>\r
132         <% } else if (inputType[fieldName] == "checkbox") { %>\r
133             <td><input type="checkbox" name="<%= fieldName %>" <% if (model.attributes[fieldName]) print("checked"); %>></td>\r
134         <% } else { %>\r
135             <td><input type="text" name="<%= fieldName %>" value="<%= model.attributes[fieldName] %>"></td>\r
136         <% } %>\r
137      </tr>\r
138   <% }); %>\r
139   <%= xosInlineDetailButtonsTemplate() %>\r
140   </table>\r
141   </form>\r
142 </script>
143
144 <!-- Deployment -->
145
146 <script type="text/template" id="xosAdmin-deployment-list-template">
147   <h3 class="xos-list-title"><%= title %></h3>
148   <%= xosListHeaderTemplate() %>
149   <table class="test-table">
150   <thead><tr>
151      <th>id</th>
152      <th>name</th>
153      <th>backend</th>
154      <th>admin_tenant</th>
155      <th># sites</th>
156      <th>delete</th>
157   </tr></thead>
158   <tbody></tbody>
159   </table>
160   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
161 </script>
162
163
164 <script type="text/template" id="xosAdmin-deployment-listitem-template">
165   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
166   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
167   <td><%= backend_type %></td>
168   <td><%= admin_tenant %></td>
169   <td><%= typeof sites != 'undefined' && sites.length || 0 %></td>
170   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
171 </script>
172
173 <!-- Image -->
174
175 <script type="text/template" id="xosAdmin-image-list-template">
176   <h3 class="xos-list-title"><%= title %></h3>
177   <%= xosListHeaderTemplate() %>
178   <table class="test-table">
179   <thead><tr>
180      <th>id</th>
181      <th>name</th>
182      <th>disk_format</th>
183      <th>container_format</th>
184      <th>path</th>
185      <th>delete</th>
186   </tr></thead>
187   <tbody></tbody>
188   </table>
189   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
190 </script>
191
192 <script type="text/template" id="xosAdmin-image-listitem-template">
193   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
194   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
195   <td><%= disk_format %></td>
196   <td><%= container_format %></td>
197   <td><%= path %></td>
198   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
199 </script>
200
201 <!-- NetworkTemplate -->
202
203 <script type="text/template" id="xosAdmin-networkTemplate-list-template">
204   <h3 class="xos-list-title"><%= title %></h3>
205   <%= xosListHeaderTemplate() %>
206   <table class="test-table">
207   <thead><tr>
208      <th>id</th>
209      <th>name</th>
210      <th>description</th>
211      <th>visibility</th>
212      <th>translation</th>
213      <th>sharedNetworkName</th>
214      <th>sharedNetworkId</th>
215      <th>delete</th>
216   </tr></thead>
217   <tbody></tbody>
218   </table>
219   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
220 </script>
221
222
223 <script type="text/template" id="xosAdmin-networkTemplate-listitem-template">
224   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
225   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
226   <td><%= description %></td>
227   <td><%= visibility %></td>
228   <td><%= translation %></td>
229   <td><%= sharedNetworkName %></td>
230   <td><%= sharedNetworkId %></td>
231   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
232 </script>
233
234 <!-- Network -->
235
236 <script type="text/template" id="xosAdmin-network-list-template">
237   <h3 class="xos-list-title"><%= title %></h3>
238   <%= xosListHeaderTemplate() %>
239   <table class="test-table">
240   <thead><tr>
241      <th>id</th>
242      <th>name</th>
243      <th>template</th>
244      <th>ports</th>
245      <th>labels</th>
246      <th>owner</th>
247      <th>delete</th>
248   </tr></thead>
249   <tbody></tbody>
250   </table>
251   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
252 </script>
253
254 <script type="text/template" id="xosAdmin-network-listitem-template">
255   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
256   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
257   <td><%= idToName(template,"networkTemplates","name") %></td>
258   <td><%= ports %></td>
259   <td><%= labels %></td>
260   <td><%= idToName(owner,"slices","name") %></td>
261   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
262 </script>
263
264 <!-- NetworkSliver -->
265
266 <script type="text/template" id="xosAdmin-networkSliver-list-template">
267   <h3 class="xos-list-title"><%= title %></h3>
268   <%= xosListHeaderTemplate() %>
269   <table class="test-table">
270   <thead><tr>
271      <th>id</th>
272      <th>network</th>
273      <th>sliver</th>
274      <th>ip</th>
275      <th>port_id</th>
276      <th>delete</th>
277   </tr></thead>
278   <tbody></tbody>
279   </table>
280   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
281 </script>
282
283 <script type="text/template" id="xosAdmin-networkSliver-listitem-template">
284   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
285   <td><%= idToName(network,"networks","name") %></td>
286   <td><%= idToName(sliver,"slivers","name") %></td>
287   <td><%= ip %></td>
288   <td><%= port_id %></td>
289   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
290 </script>
291
292 <!-- NetworkDeployment -->
293
294 <script type="text/template" id="xosAdmin-networkDeployment-list-template">
295   <h3 class="xos-list-title"><%= title %></h3>
296   <%= xosListHeaderTemplate() %>
297   <table class="test-table">
298   <thead><tr>
299      <th>id</th>
300      <th>network</th>
301      <th>deployment</th>
302      <th>net_id</th>
303      <th>delete</th>
304   </tr></thead>
305   <tbody></tbody>
306   </table>
307   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
308 </script>
309
310 <script type="text/template" id="xosAdmin-networkDeployment-listitem-template">
311   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
312   <td><%= idToName(network,"networks","name") %></td>
313   <td><%= idToName(deployment,"deployments","name") %></td>
314   <td><%= net_id %></td>
315   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
316 </script>
317
318 <!-- Node -->
319
320 <script type="text/template" id="xosAdmin-node-list-template">
321   <h3 class="xos-list-title"><%= title %></h3>
322   <%= xosListHeaderTemplate() %>
323   <table class="test-table">
324   <thead><tr>
325      <th>id</th>
326      <th>name</th>
327      <th>site</th>
328      <th>deployment</th>
329      <th>delete</th>
330   </tr></thead>
331   <tbody></tbody>
332   </table>
333   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
334 </script>
335
336
337 <script type="text/template" id="xosAdmin-node-listitem-template">
338   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
339   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
340   <td><%= idToName(site,"sites","name") %></td>
341   <td><%= idToName(deployment,"deployments","name") %></td>
342   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
343 </script>
344
345 <!-- SliceRole -->
346
347 <script type="text/template" id="xosAdmin-sliceRole-list-template">
348   <h3 class="xos-list-title"><%= title %></h3>
349   <%= xosListHeaderTemplate() %>
350   <table class="test-table">
351   <thead><tr>
352      <th>id</th>
353      <th>role</th>
354      <th>delete</th>
355   </tr></thead>
356   <tbody></tbody>
357   </table>
358   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
359 </script>
360
361 <script type="text/template" id="xosAdmin-sliceRole-listitem-template">
362   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
363   <td><%= role %></td>
364   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
365 </script>
366
367 <!-- Service -->
368
369 <script type="text/template" id="xosAdmin-service-list-template">
370   <h3 class="xos-list-title"><%= title %></h3>
371   <%= xosListHeaderTemplate() %>
372   <table class="test-table">
373   <thead><tr>
374      <th>id</th>
375      <th>name</th>
376      <th>description</th>
377      <th>enabled</th>
378      <th>versionNumber</th>
379      <th>published</th>
380      <th>delete</th>
381   </tr></thead>
382   <tbody></tbody>
383   </table>
384   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
385 </script>
386
387
388 <script type="text/template" id="xosAdmin-service-listitem-template">
389   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
390   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
391   <td><%= description %></td>
392   <td><%= enabled %></td>
393   <td><%= versionNumber %></td>
394   <td><%= published %></td>
395   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
396 </script>
397
398 <!-- Site -->
399
400 <script type="text/template" id="xosAdmin-site-list-template">
401   <h3 class="xos-list-title"><%= title %></h3>
402   <%= xosListHeaderTemplate() %>
403   <table class="test-table">
404   <thead><tr>
405      <th>id</th>
406      <th>name</th>
407      <th>url</th>
408      <th>enabled</th>
409      <th>login_base</th>
410      <th>is_public</th>
411      <th>abbreviated_name</th>
412      <th>delete</th>
413   </tr></thead>
414   <tbody></tbody>
415   </table>
416   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
417 </script>
418
419 <script type="text/template" id="xosAdmin-site-listitem-template">
420   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
421   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
422   <td><%= site_url %></td>
423   <td><%= enabled %></td>
424   <td><%= login_base %></td>
425   <td><%= is_public %></td>
426   <td><%= abbreviated_name %></td>
427   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
428 </script>
429
430 <!-- Slice -->
431
432 <script type="text/template" id="xosAdmin-slice-list-template">
433   <h3 class="xos-list-title"><%= title %></h3>
434   <%= xosListHeaderTemplate() %>
435   <table class="test-table">
436   <thead><tr>
437      <th>id</th>
438      <th>name</th>
439      <th>enabled</th>
440      <th>omf_friendly</th>
441      <th>description</th>
442      <th>slice_url</th>
443      <th>site</th>
444      <th>max_slivers</th>
445      <th>service</th>
446      <th>delete</th>
447   </tr></thead>
448   <tbody></tbody>
449   </table>
450   <%= xosListFooterTemplate() %>
451 </script>
452
453 <script type="text/template" id="xosAdmin-slice-listitem-template">
454   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
455   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
456   <td><%= enabled %></td>
457   <td><%= omf_friendly %></td>
458   <td><%= description %></td>
459   <td><%= slice_url %></td>
460   <td><%= idToName(site,"sites","name") %></td>
461   <td><%= max_slivers %></td>
462   <td><%= idToName(service,"services","name") %></td>
463   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
464 </script>
465
466 <!-- SliceDeployment -->
467
468 <script type="text/template" id="xosAdmin-sliceDeployment-list-template">
469   <h3 class="xos-list-title"><%= title %></h3>
470   <%= xosListHeaderTemplate() %>
471   <table class="test-table">
472   <thead><tr>
473      <th>id</th>
474      <th>slice</th>
475      <th>deployment</th>
476      <th>tenant_id</th>
477      <th>delete</th>
478   </tr></thead>
479   <tbody></tbody>
480   </table>
481   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
482 </script>
483
484 <script type="text/template" id="xosAdmin-sliceDeployment-listitem-template">
485   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
486   <td><%= idToName(slice,"slices","name") %></td>
487   <td><%= idToName(deployment,"deployments","name") %></td>
488   <td><%= tenant_id %></td>
489   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
490 </script>
491
492 <!-- SlicePrivilege -->
493
494 <script type="text/template" id="xosAdmin-slicePrivilege-list-template">
495   <h3 class="xos-list-title"><%= title %></h3>
496   <%= xosListHeaderTemplate() %>
497   <table class="test-table">
498   <thead><tr>
499      <th>id</th>
500      <th>user</th>
501      <th>slice</th>
502      <th>role</th>
503      <th>delete</th>
504   </tr></thead>
505   <tbody></tbody>
506   </table>
507   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
508 </script>
509
510 <script type="text/template" id="xosAdmin-slicePrivilege-listitem-template">
511   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
512   <td><%= idToName(user,"users","username") %></td>
513   <td><%= idToName(slice,"slices","name") %></td>
514   <td><%= idToName(role,"sliceRoles","role") %></td>
515   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
516 </script>
517
518
519 <!-- Sliver -->
520
521 <script type="text/template" id="xosAdmin-sliver-list-template">
522   <h3 class="xos-list-title"><%= title %></h3>
523   <%= xosListHeaderTemplate() %>
524   <table class="test-table">
525   <thead><tr>
526      <th>id</th>
527      <th>name</th>
528      <th>instance_id</th>
529      <th>instance_name</th>
530      <th>image</th>
531      <th>creator</th>
532      <th>slice</th>
533      <th>node</th>
534      <th>deploymentNetwork</th>
535      <th>flavor</th>
536      <th>userData</th>
537      <th>delete</th>
538   </tr></thead>
539   <tbody></tbody>
540   </table>
541   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
542 </script>
543
544
545 <script type="text/template" id="xosAdmin-sliver-listitem-template">
546   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
547   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
548   <td><%= instance_id %></td>
549   <td><%= instance_name %></td>
550   <td><%= idToName(image,"images","name") %></td>
551   <td><%= idToName(creator,"users","name") %></td>
552   <td><%= idToName(slice,"slices","name") %></td>
553   <td><%= idToName(node,"nodes","name") %></td>
554   <td><%= idToName(deploymentNetwork,"deployments","name") %></td>
555   <td><%= flavor %></td>
556   <td><%= userData %></td>
557   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
558 </script>
559
560 <!-- User -->
561
562 <script type="text/template" id="xosAdmin-user-list-template">
563   <h3 class="xos-list-title"><%= title %></h3>
564   <%= xosListHeaderTemplate() %>
565   <table class="test-table">
566   <thead><tr>
567      <th>id</th>
568      <th>username</th>
569      <th>firstname</th>
570      <th>lastname</th>
571      <th>phone</th>
572      <th>user_url</th>
573      <th>site</th>
574      <th>delete</th>
575   </tr></thead>
576   <tbody></tbody>
577   </table>
578   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
579 </script>
580
581
582 <script type="text/template" id="xosAdmin-user-listitem-template">
583   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
584   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: username}) %></td>
585   <td><%= firstname %></td>
586   <td><%= lastname %></td>
587   <td><%= phone %></td>
588   <td><%= user_url %></td>
589   <td><%= idToName(site,"sites","name") %></td>
590   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
591 </script>
592
593 <!-- UserDeployments -->
594
595 <script type="text/template" id="xosAdmin-userDeployment-list-template">
596   <h3 class="xos-list-title"><%= title %></h3>
597   <%= xosListHeaderTemplate() %>
598   <table class="test-table">
599   <thead><tr>
600      <th>id</th>
601      <th>user</th>
602      <th>deployment</th>
603      <th>kuser_id</th>
604      <th>delete</th>
605   </tr></thead>
606   <tbody></tbody>
607   </table>
608   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
609 </script>
610
611 <script type="text/template" id="xosAdmin-userDeployment-listitem-template">
612   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
613   <td><%= idToName(user,"users","username") %></td>
614   <td><%= idToName(deployment,"deployments","name") %></td>
615   <td><%= kuser_id %></td>
616   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
617 </script>
618
619 <script>
620 xosInlineDetailButtonsTemplate = _.template($("#xos-inline-detail-buttons-template").html());
621 xosListHeaderTemplate = _.template($("#xos-list-header-template").html());
622 xosListFooterTemplate = _.template($("#xos-list-footer-template").html());
623 xosDeleteButtonTemplate = _.template($("#xos-delete-button-template").html());
624 xosDetailLinkTemplate = _.template($("#xos-detail-link-template").html());
625 </script>