fix class to sub-template need the dict in them
[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     <a href="<%= addChildHash %>">Add...</a>
93 </script>
94
95 <script type="text/template" id="xos-delete-button-template">
96     <a href="#delete<%= firstCharUpper(modelName) %>/<%= id %>">delete</a>
97 </script>
98
99 <script type="text/template" id="xos-detail-link-template">
100     <a href="#<%= collectionName %>/<%= id %>"><%= text %></a>
101 </script>
102
103 <script type="text/template" id="xos-add-template">
104   <h3 class="xos-detail-title">Add Object: <%= modelName %></h3>
105   <form>
106   <table>\r
107   <% _.each(addFields, function(fieldName) { %>\r
108      <tr><td><%= fieldNameToHumanReadable(fieldName) %>:</td>\r
109         <% if (fieldName in foreignFields) { %>\r
110             <td><%= idToSelect(fieldName, model.attributes[fieldName], foreignFields[fieldName], "humanReadableName") %></td>\r
111         <% } else if (inputType[fieldName] == "checkbox") { %>\r
112             <td><input type="checkbox" name="<%= fieldName %>" <% if (model.attributes[fieldName]) print("checked"); %>></td>\r
113         <% } else { %>\r
114             <td><input type="text" name="<%= fieldName %>" value="<%= model.attributes[fieldName] %>"></td>\r
115         <% } %>\r
116      </tr>\r
117   <% }); %>\r
118   <%= xosInlineDetailButtonsTemplate() %>\r
119   </table>\r
120   </form>\r
121 </script>
122
123 <script type="text/template" id="xos-detail-template">
124   <h3 class="xos-detail-title">Add Object: <%= modelName %></h3>
125   <form>
126   <table>\r
127   <% console.log(model); _.each(detailFields, function(fieldName) { %>\r
128      <tr><td><%= fieldNameToHumanReadable(fieldName) %>:</td>\r
129         <% if (fieldName in foreignFields) { %>\r
130             <td><%= idToSelect(fieldName, model.attributes[fieldName], foreignFields[fieldName], "humanReadableName") %></td>\r
131         <% } else if (inputType[fieldName] == "checkbox") { %>\r
132             <td><input type="checkbox" name="<%= fieldName %>" <% if (model.attributes[fieldName]) print("checked"); %>></td>\r
133         <% } else { %>\r
134             <td><input type="text" name="<%= fieldName %>" value="<%= model.attributes[fieldName] %>"></td>\r
135         <% } %>\r
136      </tr>\r
137   <% }); %>\r
138   <%= xosInlineDetailButtonsTemplate() %>\r
139   </table>\r
140   </form>\r
141 </script>
142
143 <!-- Deployment -->
144
145 <script type="text/template" id="xosAdmin-deployment-list-template">
146   <h3 class="xos-list-title"><%= title %></h3>
147   <%= xosListHeaderTemplate() %>
148   <table class="test-table">
149   <thead><tr>
150      <th>id</th>
151      <th>name</th>
152      <th>backend</th>
153      <th>admin_tenant</th>
154      <th># sites</th>
155      <th>delete</th>
156   </tr></thead>
157   <tbody></tbody>
158   </table>
159   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
160 </script>
161
162
163 <script type="text/template" id="xosAdmin-deployment-listitem-template">
164   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
165   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
166   <td><%= backend_type %></td>
167   <td><%= admin_tenant %></td>
168   <td><%= typeof sites != 'undefined' && sites.length || 0 %></td>
169   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
170 </script>
171
172 <!-- Image -->
173
174 <script type="text/template" id="xosAdmin-image-list-template">
175   <h3 class="xos-list-title"><%= title %></h3>
176   <%= xosListHeaderTemplate() %>
177   <table class="test-table">
178   <thead><tr>
179      <th>id</th>
180      <th>name</th>
181      <th>disk_format</th>
182      <th>container_format</th>
183      <th>path</th>
184      <th>delete</th>
185   </tr></thead>
186   <tbody></tbody>
187   </table>
188   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
189 </script>
190
191 <script type="text/template" id="xosAdmin-image-listitem-template">
192   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
193   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
194   <td><%= disk_format %></td>
195   <td><%= container_format %></td>
196   <td><%= path %></td>
197   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
198 </script>
199
200 <!-- NetworkTemplate -->
201
202 <script type="text/template" id="xosAdmin-networkTemplate-list-template">
203   <h3 class="xos-list-title"><%= title %></h3>
204   <%= xosListHeaderTemplate() %>
205   <table class="test-table">
206   <thead><tr>
207      <th>id</th>
208      <th>name</th>
209      <th>description</th>
210      <th>visibility</th>
211      <th>translation</th>
212      <th>sharedNetworkName</th>
213      <th>sharedNetworkId</th>
214      <th>delete</th>
215   </tr></thead>
216   <tbody></tbody>
217   </table>
218   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
219 </script>
220
221
222 <script type="text/template" id="xosAdmin-networkTemplate-listitem-template">
223   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
224   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
225   <td><%= description %></td>
226   <td><%= visibility %></td>
227   <td><%= translation %></td>
228   <td><%= sharedNetworkName %></td>
229   <td><%= sharedNetworkId %></td>
230   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
231 </script>
232
233 <!-- Network -->
234
235 <script type="text/template" id="xosAdmin-network-list-template">
236   <h3 class="xos-list-title"><%= title %></h3>
237   <%= xosListHeaderTemplate() %>
238   <table class="test-table">
239   <thead><tr>
240      <th>id</th>
241      <th>name</th>
242      <th>template</th>
243      <th>ports</th>
244      <th>labels</th>
245      <th>owner</th>
246      <th>delete</th>
247   </tr></thead>
248   <tbody></tbody>
249   </table>
250   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
251 </script>
252
253 <script type="text/template" id="xosAdmin-network-listitem-template">
254   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
255   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
256   <td><%= idToName(template,"networkTemplates","name") %></td>
257   <td><%= ports %></td>
258   <td><%= labels %></td>
259   <td><%= idToName(owner,"slices","name") %></td>
260   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
261 </script>
262
263 <!-- NetworkSliver -->
264
265 <script type="text/template" id="xosAdmin-networkSliver-list-template">
266   <h3 class="xos-list-title"><%= title %></h3>
267   <%= xosListHeaderTemplate() %>
268   <table class="test-table">
269   <thead><tr>
270      <th>id</th>
271      <th>network</th>
272      <th>sliver</th>
273      <th>ip</th>
274      <th>port_id</th>
275      <th>delete</th>
276   </tr></thead>
277   <tbody></tbody>
278   </table>
279   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
280 </script>
281
282 <script type="text/template" id="xosAdmin-networkSliver-listitem-template">
283   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
284   <td><%= idToName(network,"networks","name") %></td>
285   <td><%= idToName(sliver,"slivers","name") %></td>
286   <td><%= ip %></td>
287   <td><%= port_id %></td>
288   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
289 </script>
290
291 <!-- NetworkDeployment -->
292
293 <script type="text/template" id="xosAdmin-networkDeployment-list-template">
294   <h3 class="xos-list-title"><%= title %></h3>
295   <%= xosListHeaderTemplate() %>
296   <table class="test-table">
297   <thead><tr>
298      <th>id</th>
299      <th>network</th>
300      <th>deployment</th>
301      <th>net_id</th>
302      <th>delete</th>
303   </tr></thead>
304   <tbody></tbody>
305   </table>
306   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
307 </script>
308
309 <script type="text/template" id="xosAdmin-networkDeployment-listitem-template">
310   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
311   <td><%= idToName(network,"networks","name") %></td>
312   <td><%= idToName(deployment,"deployments","name") %></td>
313   <td><%= net_id %></td>
314   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
315 </script>
316
317 <!-- Node -->
318
319 <script type="text/template" id="xosAdmin-node-list-template">
320   <h3 class="xos-list-title"><%= title %></h3>
321   <%= xosListHeaderTemplate() %>
322   <table class="test-table">
323   <thead><tr>
324      <th>id</th>
325      <th>name</th>
326      <th>site</th>
327      <th>deployment</th>
328      <th>delete</th>
329   </tr></thead>
330   <tbody></tbody>
331   </table>
332   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
333 </script>
334
335
336 <script type="text/template" id="xosAdmin-node-listitem-template">
337   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
338   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
339   <td><%= idToName(site,"sites","name") %></td>
340   <td><%= idToName(deployment,"deployments","name") %></td>
341   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
342 </script>
343
344 <!-- SliceRole -->
345
346 <script type="text/template" id="xosAdmin-sliceRole-list-template">
347   <h3 class="xos-list-title"><%= title %></h3>
348   <%= xosListHeaderTemplate() %>
349   <table class="test-table">
350   <thead><tr>
351      <th>id</th>
352      <th>role</th>
353      <th>delete</th>
354   </tr></thead>
355   <tbody></tbody>
356   </table>
357   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
358 </script>
359
360 <script type="text/template" id="xosAdmin-sliceRole-listitem-template">
361   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
362   <td><%= role %></td>
363   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
364 </script>
365
366 <!-- Service -->
367
368 <script type="text/template" id="xosAdmin-service-list-template">
369   <h3 class="xos-list-title"><%= title %></h3>
370   <%= xosListHeaderTemplate() %>
371   <table class="test-table">
372   <thead><tr>
373      <th>id</th>
374      <th>name</th>
375      <th>description</th>
376      <th>enabled</th>
377      <th>versionNumber</th>
378      <th>published</th>
379      <th>delete</th>
380   </tr></thead>
381   <tbody></tbody>
382   </table>
383   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
384 </script>
385
386
387 <script type="text/template" id="xosAdmin-service-listitem-template">
388   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
389   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
390   <td><%= description %></td>
391   <td><%= enabled %></td>
392   <td><%= versionNumber %></td>
393   <td><%= published %></td>
394   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
395 </script>
396
397 <!-- Site -->
398
399 <script type="text/template" id="xosAdmin-site-list-template">
400   <h3 class="xos-list-title"><%= title %></h3>
401   <%= xosListHeaderTemplate() %>
402   <table class="test-table">
403   <thead><tr>
404      <th>id</th>
405      <th>name</th>
406      <th>url</th>
407      <th>enabled</th>
408      <th>login_base</th>
409      <th>is_public</th>
410      <th>abbreviated_name</th>
411      <th>delete</th>
412   </tr></thead>
413   <tbody></tbody>
414   </table>
415   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
416 </script>
417
418 <script type="text/template" id="xosAdmin-site-listitem-template">
419   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
420   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
421   <td><%= site_url %></td>
422   <td><%= enabled %></td>
423   <td><%= login_base %></td>
424   <td><%= is_public %></td>
425   <td><%= abbreviated_name %></td>
426   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
427 </script>
428
429 <!-- Slice -->
430
431 <script type="text/template" id="xosAdmin-slice-list-template">
432   <h3 class="xos-list-title"><%= title %></h3>
433   <%= xosListHeaderTemplate() %>
434   <table class="test-table">
435   <thead><tr>
436      <th>id</th>
437      <th>name</th>
438      <th>enabled</th>
439      <th>omf_friendly</th>
440      <th>description</th>
441      <th>slice_url</th>
442      <th>site</th>
443      <th>max_slivers</th>
444      <th>service</th>
445      <th>delete</th>
446   </tr></thead>
447   <tbody></tbody>
448   </table>
449   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
450 </script>
451
452 <script type="text/template" id="xosAdmin-slice-listitem-template">
453   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
454   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
455   <td><%= enabled %></td>
456   <td><%= omf_friendly %></td>
457   <td><%= description %></td>
458   <td><%= slice_url %></td>
459   <td><%= idToName(site,"sites","name") %></td>
460   <td><%= max_slivers %></td>
461   <td><%= idToName(service,"services","name") %></td>
462   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
463 </script>
464
465 <!-- SliceDeployment -->
466
467 <script type="text/template" id="xosAdmin-sliceDeployment-list-template">
468   <h3 class="xos-list-title"><%= title %></h3>
469   <%= xosListHeaderTemplate() %>
470   <table class="test-table">
471   <thead><tr>
472      <th>id</th>
473      <th>slice</th>
474      <th>deployment</th>
475      <th>tenant_id</th>
476      <th>delete</th>
477   </tr></thead>
478   <tbody></tbody>
479   </table>
480   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
481 </script>
482
483 <script type="text/template" id="xosAdmin-sliceDeployment-listitem-template">
484   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
485   <td><%= idToName(slice,"slices","name") %></td>
486   <td><%= idToName(deployment,"deployments","name") %></td>
487   <td><%= tenant_id %></td>
488   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
489 </script>
490
491 <!-- SlicePrivilege -->
492
493 <script type="text/template" id="xosAdmin-slicePrivilege-list-template">
494   <h3 class="xos-list-title"><%= title %></h3>
495   <%= xosListHeaderTemplate() %>
496   <table class="test-table">
497   <thead><tr>
498      <th>id</th>
499      <th>user</th>
500      <th>slice</th>
501      <th>role</th>
502      <th>delete</th>
503   </tr></thead>
504   <tbody></tbody>
505   </table>
506   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
507 </script>
508
509 <script type="text/template" id="xosAdmin-slicePrivilege-listitem-template">
510   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
511   <td><%= idToName(user,"users","username") %></td>
512   <td><%= idToName(slice,"slices","name") %></td>
513   <td><%= idToName(role,"sliceRoles","role") %></td>
514   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
515 </script>
516
517
518 <!-- Sliver -->
519
520 <script type="text/template" id="xosAdmin-sliver-list-template">
521   <h3 class="xos-list-title"><%= title %></h3>
522   <%= xosListHeaderTemplate() %>
523   <table class="test-table">
524   <thead><tr>
525      <th>id</th>
526      <th>name</th>
527      <th>instance_id</th>
528      <th>instance_name</th>
529      <th>image</th>
530      <th>creator</th>
531      <th>slice</th>
532      <th>node</th>
533      <th>deploymentNetwork</th>
534      <th>flavor</th>
535      <th>userData</th>
536      <th>delete</th>
537   </tr></thead>
538   <tbody></tbody>
539   </table>
540   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
541 </script>
542
543
544 <script type="text/template" id="xosAdmin-sliver-listitem-template">
545   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
546   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
547   <td><%= instance_id %></td>
548   <td><%= instance_name %></td>
549   <td><%= idToName(image,"images","name") %></td>
550   <td><%= idToName(creator,"users","name") %></td>
551   <td><%= idToName(slice,"slices","name") %></td>
552   <td><%= idToName(node,"nodes","name") %></td>
553   <td><%= idToName(deploymentNetwork,"deployments","name") %></td>
554   <td><%= flavor %></td>
555   <td><%= userData %></td>
556   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
557 </script>
558
559 <!-- User -->
560
561 <script type="text/template" id="xosAdmin-user-list-template">
562   <h3 class="xos-list-title"><%= title %></h3>
563   <%= xosListHeaderTemplate() %>
564   <table class="test-table">
565   <thead><tr>
566      <th>id</th>
567      <th>username</th>
568      <th>firstname</th>
569      <th>lastname</th>
570      <th>phone</th>
571      <th>user_url</th>
572      <th>site</th>
573      <th>delete</th>
574   </tr></thead>
575   <tbody></tbody>
576   </table>
577   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
578 </script>
579
580
581 <script type="text/template" id="xosAdmin-user-listitem-template">
582   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
583   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: username}) %></td>
584   <td><%= firstname %></td>
585   <td><%= lastname %></td>
586   <td><%= phone %></td>
587   <td><%= user_url %></td>
588   <td><%= idToName(site,"sites","name") %></td>
589   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
590 </script>
591
592 <!-- UserDeployments -->
593
594 <script type="text/template" id="xosAdmin-userDeployment-list-template">
595   <h3 class="xos-list-title"><%= title %></h3>
596   <%= xosListHeaderTemplate() %>
597   <table class="test-table">
598   <thead><tr>
599      <th>id</th>
600      <th>user</th>
601      <th>deployment</th>
602      <th>kuser_id</th>
603      <th>delete</th>
604   </tr></thead>
605   <tbody></tbody>
606   </table>
607   <%= xosListFooterTemplate({addChildHash: addChildHash}) %>
608 </script>
609
610 <script type="text/template" id="xosAdmin-userDeployment-listitem-template">
611   <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
612   <td><%= idToName(user,"users","username") %></td>
613   <td><%= idToName(deployment,"deployments","name") %></td>
614   <td><%= kuser_id %></td>
615   <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
616 </script>
617
618 <script>
619 xosInlineDetailButtonsTemplate = _.template($("#xos-inline-detail-buttons-template").html());
620 xosListHeaderTemplate = _.template($("#xos-list-header-template").html());
621 xosListFooterTemplate = _.template($("#xos-list-footer-template").html());
622 xosDeleteButtonTemplate = _.template($("#xos-delete-button-template").html());
623 xosDetailLinkTemplate = _.template($("#xos-detail-link-template").html());
624 </script>