blob: 854a852c00ca06e0af2820217f17890a9fde1309 [file] [log] [blame]
Scott Bakerc1e681e2014-11-03 09:43:23 -08001<!-- Error and Success templates -->
2
Scott Baker8560fd12014-11-24 23:26:12 -08003<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
Scott Bakerf8641732014-12-01 17:06:31 -080019<script type="text/template" id="xos-error-rawresponse">
20 <h5>Error</h5>
21 <pre>The server returned:
22"<%= responseText %>"</pre>
23</script>
24
Scott Baker28a65442014-11-03 23:54:59 -080025<script type="text/template" id="xos-error-template">
Scott Bakerc1e681e2014-11-03 09:43:23 -080026 <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
Scott Baker28a65442014-11-03 23:54:59 -080034<script type="text/template" id="xos-success-template">
Scott Bakerc1e681e2014-11-03 09:43:23 -080035 <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
Scott Baker100b0a32014-11-04 09:34:17 -080043<script type="text/template" id="xos-navbutton-old">
Scott Baker28a65442014-11-03 23:54:59 -080044 <button class="btn btn-default btn-xosnav" onclick="<%= router %>.navigate('<%= routeUrl %>', {trigger: true})"><%= name %></button><br>
45</script>
46
Scott Baker17390d22014-11-05 21:11:50 -080047<script type="text/template" id="xos-status-template">
Scott Baker1c5d4ee2014-11-14 16:13:43 -080048 <div class="xos-status xos-<%= statusclass %>"><%= what %>: <%= statusText %> (<%= status %>)</div>
Scott Baker17390d22014-11-05 21:11:50 -080049</script>
50
Scott Baker76d7b622014-11-04 23:20:48 -080051<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">
Scott Baker95a57b82014-11-18 17:02:07 -080060 <h3><img src="/static/img/brokencircle.gif" height=16 width=16 id="xos-list-title-spinner"> <%= title %></h3>
Scott Baker76d7b622014-11-04 23:20:48 -080061</script>
62
63<script type="text/template" id="xos-title-detail">
64 <h3><%= title %></h3>
65</script>
66
Scott Baker100b0a32014-11-04 09:34:17 -080067<script type="text/template" id="xos-navbutton">
68 <li>
69 <a href="<%= routeUrl %>">
70 <i class="<%= iconClass %>"></i>
71 <%= name %>
72 </a>
Scott Baker50282372014-11-04 15:41:47 -080073 </li>
Scott Baker100b0a32014-11-04 09:34:17 -080074</script>
75
Scott Baker09ed3e02014-11-07 13:01:43 -080076<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>
Scott Baker95a57b82014-11-18 17:02:07 -080081 <button class="btn js-submit btn-xos-detail btn-xos-delete">Delete</button>
Scott Baker09ed3e02014-11-07 13:01:43 -080082 </td>
83 </tr>
84</script>
85
Scott Bakerc9d0dcb2014-11-07 16:40:30 -080086<script type="text/template" id="xos-inline-list-buttons-template">
87 <button class="btn js-submit btn-xos-list btn-xos-add">Add</button>
Scott Baker95a57b82014-11-18 17:02:07 -080088 <button class="btn js-submit btn-xos-list btn-xos-refresh">Refresh</button>
Scott Bakerc9d0dcb2014-11-07 16:40:30 -080089 </td>
90 </tr>
91</script>
92
Scott Bakerb1e63332014-12-02 10:49:04 -080093<script type="text/template" id="xos-delete-button-template">
Scott Baker6694f8f2014-12-02 17:59:02 -080094 <a href="#delete<%= firstCharUpper(modelName) %>/<%= id %>">delete</a>
Scott Bakerb1e63332014-12-02 10:49:04 -080095</script>
96
97<script type="text/template" id="xos-detail-link-template">
98 <a href="#<%= collectionName %>/<%= id %>"><%= text %></a>
99</script>
100
Scott Baker7e0e6b92014-10-30 16:10:16 -0700101<!-- Deployment -->
102
103<script type="text/template" id="xosAdmin-deployment-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800104 <h3 class="xos-list-title"><%= title %></h3>
Scott Bakerc9d0dcb2014-11-07 16:40:30 -0800105 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700106 <table class="test-table">
107 <thead><tr>
108 <th>id</th>
109 <th>name</th>
110 <th>backend</th>
111 <th>admin_tenant</th>
112 <th># sites</th>
Scott Bakerb1e63332014-12-02 10:49:04 -0800113 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700114 </tr></thead>
115 <tbody></tbody>
116 </table>
117</script>
118
119
120<script type="text/template" id="xosAdmin-deployment-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800121 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
122 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700123 <td><%= backend_type %></td>
124 <td><%= admin_tenant %></td>
Scott Baker95a57b82014-11-18 17:02:07 -0800125 <td><%= typeof sites != 'undefined' && sites.length || 0 %></td>
Scott Bakerb1e63332014-12-02 10:49:04 -0800126 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700127</script>
128
129<script type="text/template" id="xosAdmin-deployment-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800130 <h3 class="xos-detail-title">Detail View: Deployment</h3>
Scott Baker17390d22014-11-05 21:11:50 -0800131 <form>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700132 <table>
133 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
134 <tr><td>Backend:</td><td><input type="text" name="backend_type" value="<%= backend_type %>"></td></tr>
135 <tr><td>Admin Tenant:</td><td><input type="text" name="admin_tenant" value="<%= admin_tenant %>"></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800136 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700137 </table>
138 </form>
Scott Baker17390d22014-11-05 21:11:50 -0800139</script>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700140
141<!-- Image -->
142
143<script type="text/template" id="xosAdmin-image-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800144 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800145 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700146 <table class="test-table">
147 <thead><tr>
148 <th>id</th>
149 <th>name</th>
150 <th>disk_format</th>
151 <th>container_format</th>
152 <th>path</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800153 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700154 </tr></thead>
155 <tbody></tbody>
156 </table>
157</script>
158
159<script type="text/template" id="xosAdmin-image-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800160 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
161 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700162 <td><%= disk_format %></td>
163 <td><%= container_format %></td>
164 <td><%= path %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800165 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700166</script>
167
168<script type="text/template" id="xosAdmin-image-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800169 <h3 class="xos-detail-title">Detail View: Image</h3>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700170 <form>
171 <table>
172 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
173 <tr><td>Disk Format:</td><td><input type="text" name="backend_type" value="<%= disk_format %>"></td></tr>
174 <tr><td>Container Format:</td><td><input type="text" name="admin_tenant" value="<%= container_format %>"></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800175 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700176 </table>
177 </form>
178</script>
179
180<!-- NetworkTemplate -->
181
182<script type="text/template" id="xosAdmin-networkTemplate-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800183 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800184 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700185 <table class="test-table">
186 <thead><tr>
187 <th>id</th>
188 <th>name</th>
189 <th>description</th>
190 <th>visibility</th>
191 <th>translation</th>
192 <th>sharedNetworkName</th>
193 <th>sharedNetworkId</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800194 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700195 </tr></thead>
196 <tbody></tbody>
197 </table>
198</script>
199
200
201<script type="text/template" id="xosAdmin-networkTemplate-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800202 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
203 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700204 <td><%= description %></td>
205 <td><%= visibility %></td>
206 <td><%= translation %></td>
207 <td><%= sharedNetworkName %></td>
208 <td><%= sharedNetworkId %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800209 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700210</script>
211
212<script type="text/template" id="xosAdmin-networkTemplate-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800213 <h3 class="xos-detail-title">Detail View: NetworkTemplate</h3>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700214 <form>
215 <table>
216 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
217 <tr><td>description:</td><td><input type="text" name="description" value="<%= description %>"></td></tr>
218 <tr><td>Visibility:</td><td><input type="text" name="visibility" value="<%= visibility %>"></td></tr>
219 <tr><td>Translation:</td><td><input type="text" name="translation" value="<%= translation %>"></td></tr>
220 <tr><td>Shared Network Name:</td><td><input type="text" name="sharedNetworkName" value="<%= sharedNetworkName %>"></td></tr>
221 <tr><td>Shared Network Id:</td><td><input type="text" name="sharedNetworkId" value="<%= sharedNetworkId %>"></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800222 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700223 </table>
224 </form>
225</script>
226
227<!-- Network -->
228
229<script type="text/template" id="xosAdmin-network-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800230 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800231 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700232 <table class="test-table">
233 <thead><tr>
234 <th>id</th>
235 <th>name</th>
236 <th>template</th>
237 <th>ports</th>
238 <th>labels</th>
239 <th>owner</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800240 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700241 </tr></thead>
242 <tbody></tbody>
243 </table>
244</script>
245
246<script type="text/template" id="xosAdmin-network-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800247 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
248 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700249 <td><%= idToName(template,"networkTemplates","name") %></td>
250 <td><%= ports %></td>
251 <td><%= labels %></td>
252 <td><%= idToName(owner,"slices","name") %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800253 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700254</script>
255
256<script type="text/template" id="xosAdmin-network-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800257 <h3 class="xos-detail-title">Detail View: Network</h3>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700258 <form>
259 <table>
260 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
Scott Bakerd5cdaf02014-11-02 22:28:59 -0800261 <tr><td>Template:</td><td><%= idToSelect("template",template,"networkTemplates","name") %></td></tr>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700262 <tr><td>Ports:</td><td><input type="text" name="ports" value="<%= ports %>"></td></tr>
263 <tr><td>Labels:</td><td><input type="text" name="labels" value="<%= labels %>"></td></tr>
Scott Bakerd5cdaf02014-11-02 22:28:59 -0800264 <tr><td>Owner:</td><td><%= idToSelect("owner",owner,"slices","name") %></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800265 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700266 </table>
267 </form>
268</script>
269
270<!-- NetworkSliver -->
271
272<script type="text/template" id="xosAdmin-networkSliver-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800273 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800274 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700275 <table class="test-table">
276 <thead><tr>
277 <th>id</th>
278 <th>network</th>
279 <th>sliver</th>
280 <th>ip</th>
281 <th>port_id</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800282 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700283 </tr></thead>
284 <tbody></tbody>
285 </table>
286</script>
287
288<script type="text/template" id="xosAdmin-networkSliver-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800289 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700290 <td><%= idToName(network,"networks","name") %></td>
291 <td><%= idToName(sliver,"slivers","name") %></td>
292 <td><%= ip %></td>
293 <td><%= port_id %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800294 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700295</script>
296
297<script type="text/template" id="xosAdmin-networkSliver-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800298 <h3 class="xos-detail-title">Detail View: Network</h3>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700299 <form>
300 <table>
301 <tr><td>Network:</td><td><input type="text" name="network" value="<%= network %>"></td></tr>
302 <tr><td>Sliver:</td><td><input type="text" name="sliver" value="<%= sliver %>"></td></tr>
303 <tr><td>Ip:</td><td><input type="text" name="ip" value="<%= ip %>"></td></tr>
304 <tr><td>Port_id:</td><td><input type="text" name="port_id" value="<%= port_id %>"></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800305 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700306 </table>
307 </form>
308</script>
309
Scott Bakercefee292014-10-31 16:43:07 -0700310<!-- NetworkDeployment -->
311
312<script type="text/template" id="xosAdmin-networkDeployment-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800313 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800314 <%= xosInlineListButtonsTemplate() %>
Scott Bakercefee292014-10-31 16:43:07 -0700315 <table class="test-table">
316 <thead><tr>
317 <th>id</th>
318 <th>network</th>
319 <th>deployment</th>
320 <th>net_id</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800321 <th>delete</th>
Scott Bakercefee292014-10-31 16:43:07 -0700322 </tr></thead>
323 <tbody></tbody>
324 </table>
325</script>
326
327<script type="text/template" id="xosAdmin-networkDeployment-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800328 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
Scott Bakercefee292014-10-31 16:43:07 -0700329 <td><%= idToName(network,"networks","name") %></td>
330 <td><%= idToName(deployment,"deployments","name") %></td>
331 <td><%= net_id %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800332 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Bakercefee292014-10-31 16:43:07 -0700333</script>
334
335<script type="text/template" id="xosAdmin-networkDeployment-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800336 <h3 class="xos-detail-title">Detail View: Network</h3>
Scott Bakercefee292014-10-31 16:43:07 -0700337 <form>
338 <table>
339 <tr><td>Network:</td><td><input type="text" name="network" value="<%= network %>"></td></tr>
340 <tr><td>Sliver:</td><td><input type="text" name="deployment" value="<%= deployment %>"></td></tr>
341 <tr><td>Ip:</td><td><input type="text" name="net_id" value="<%= net_id %>"></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800342 <%= xosInlineDetailButtonsTemplate() %>
Scott Bakercefee292014-10-31 16:43:07 -0700343 </table>
344 </form>
345</script>
346
Scott Baker7e0e6b92014-10-30 16:10:16 -0700347<!-- Node -->
348
349<script type="text/template" id="xosAdmin-node-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800350 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800351 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700352 <table class="test-table">
353 <thead><tr>
354 <th>id</th>
355 <th>name</th>
356 <th>site</th>
357 <th>deployment</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800358 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700359 </tr></thead>
360 <tbody></tbody>
361 </table>
362</script>
363
364
365<script type="text/template" id="xosAdmin-node-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800366 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
367 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700368 <td><%= idToName(site,"sites","name") %></td>
369 <td><%= idToName(deployment,"deployments","name") %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800370 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700371</script>
372
373<script type="text/template" id="xosAdmin-node-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800374 <h3 class="xos-detail-title">Detail View: Node</h3>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700375 <form>
376 <table>
377 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
Scott Bakerd5cdaf02014-11-02 22:28:59 -0800378 <tr><td>Site:</td><td><%= idToSelect("site",site,"sites","name") %></td></tr>
379 <tr><td>Deployment:</td><td><%= idToSelect("deployment",deployment,"deployments","name") %></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800380 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700381 </table>
382 </form>
383</script>
384
385<!-- SliceRole -->
386
387<script type="text/template" id="xosAdmin-sliceRole-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800388 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800389 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700390 <table class="test-table">
391 <thead><tr>
392 <th>id</th>
393 <th>role</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800394 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700395 </tr></thead>
396 <tbody></tbody>
397 </table>
398</script>
399
400
401<script type="text/template" id="xosAdmin-sliceRole-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800402 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700403 <td><%= role %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800404 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700405</script>
406
407<script type="text/template" id="xosAdmin-sliceRole-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800408 <h3 class="xos-detail-title">Detail View: Service</h3>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700409 <form>
410 <table>
411 <tr><td>Role:</td><td><input type="text" name="role" value="<%= role %>"></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800412 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700413 </table>
414 </form>
415</script>
416
417<!-- Service -->
418
419<script type="text/template" id="xosAdmin-service-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800420 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800421 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700422 <table class="test-table">
423 <thead><tr>
424 <th>id</th>
425 <th>name</th>
426 <th>description</th>
427 <th>enabled</th>
428 <th>versionNumber</th>
429 <th>published</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800430 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700431 </tr></thead>
432 <tbody></tbody>
433 </table>
434</script>
435
436
437<script type="text/template" id="xosAdmin-service-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800438 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
439 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700440 <td><%= description %></td>
441 <td><%= enabled %></td>
442 <td><%= versionNumber %></td>
443 <td><%= published %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800444 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700445</script>
446
447<script type="text/template" id="xosAdmin-service-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800448 <h3 class="xos-detail-title">Detail View: Service</h3>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700449 <form>
450 <table>
451 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
452 <tr><td>description:</td><td><input type="text" name="description" value="<%= description %>"></td></tr>
453 <tr><td>Version Number:</td><td><input type="text" name="versionNumber" value="<%= versionNumber %>"></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800454 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700455 </table>
456 </form>
457</script>
458
459<!-- Site -->
460
461<script type="text/template" id="xosAdmin-site-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800462 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800463 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700464 <table class="test-table">
465 <thead><tr>
466 <th>id</th>
467 <th>name</th>
468 <th>url</th>
469 <th>enabled</th>
470 <th>login_base</th>
471 <th>is_public</th>
472 <th>abbreviated_name</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800473 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700474 </tr></thead>
475 <tbody></tbody>
476 </table>
477</script>
478
479<script type="text/template" id="xosAdmin-site-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800480 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
481 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700482 <td><%= site_url %></td>
483 <td><%= enabled %></td>
484 <td><%= login_base %></td>
485 <td><%= is_public %></td>
486 <td><%= abbreviated_name %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800487 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700488</script>
489
490<script type="text/template" id="xosAdmin-site-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800491 <h3 class="xos-detail-title">Detail View: Site</h3>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700492 <form>
493 <table>
494 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
Scott Baker17390d22014-11-05 21:11:50 -0800495 <tr><td>abbreviated_name:</td><td><input type="text" name="abbreviated_name" value="<%= abbreviated_name %>"></td></tr>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700496 <tr><td>url:</td><td><input type="text" name="site_url" value="<%= site_url %>"></td></tr>
Scott Baker17390d22014-11-05 21:11:50 -0800497 <tr><td>Enabled:</td><td><input type="checkbox" name="enabled" <% if (enabled) print("checked"); %>></td></tr>
498 <tr><td>Is Public:</td><td><input type="checkbox" name="is_public" <% if (is_public) print("checked"); %>></td></tr>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700499 <tr><td>login_base:</td><td><input type="text" name="login_base" value="<%= login_base %>"></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800500 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700501 </table>
502 </form>
503</script>
504
505<!-- Slice -->
506
507<script type="text/template" id="xosAdmin-slice-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800508 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800509 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700510 <table class="test-table">
511 <thead><tr>
512 <th>id</th>
513 <th>name</th>
514 <th>enabled</th>
515 <th>omf_friendly</th>
516 <th>description</th>
517 <th>slice_url</th>
518 <th>site</th>
519 <th>max_slivers</th>
520 <th>service</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800521 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700522 </tr></thead>
523 <tbody></tbody>
524 </table>
525</script>
526
527<script type="text/template" id="xosAdmin-slice-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800528 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
529 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700530 <td><%= enabled %></td>
531 <td><%= omf_friendly %></td>
532 <td><%= description %></td>
533 <td><%= slice_url %></td>
534 <td><%= idToName(site,"sites","name") %></td>
535 <td><%= max_slivers %></td>
536 <td><%= idToName(service,"services","name") %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800537 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700538</script>
539
540<script type="text/template" id="xosAdmin-slice-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800541 <h3 class="xos-detail-title">Detail View: Slice</h3>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700542 <form>
543 <table>
544 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
Scott Baker47798362014-11-12 01:15:52 -0800545 <tr><td>Site:</td><td><%= idToSelect("site",site,"sites","name") %></td></tr>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700546 <tr><td>Enabled:</td><td><input type="checkbox" name="enabled" <% if (enabled) print("checked"); %>></td></tr>
547 <tr><td>Description:</td><td><input type="text" name="description" value="<%= description %>"></td></tr>
548 <tr><td>Url:</td><td><input type="text" name="slice_url" value="<%= slice_url %>"></td></tr>
549 <tr><td>Max Slivers:</td><td><input type="text" name="max_slivers" value="<%= max_slivers %>"></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800550 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700551 </table>
552 </form>
553</script>
554
Scott Bakerd5cdaf02014-11-02 22:28:59 -0800555<!-- SliceDeployment -->
Scott Baker7e0e6b92014-10-30 16:10:16 -0700556
557<script type="text/template" id="xosAdmin-sliceDeployment-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800558 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800559 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700560 <table class="test-table">
561 <thead><tr>
562 <th>id</th>
563 <th>slice</th>
564 <th>deployment</th>
565 <th>tenant_id</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800566 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700567 </tr></thead>
568 <tbody></tbody>
569 </table>
570</script>
571
572<script type="text/template" id="xosAdmin-sliceDeployment-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800573 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700574 <td><%= idToName(slice,"slices","name") %></td>
575 <td><%= idToName(deployment,"deployments","name") %></td>
576 <td><%= tenant_id %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800577 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700578</script>
579
580<script type="text/template" id="xosAdmin-sliceDeployment-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800581 <h3 class="xos-detail-title">Detail View: Slice Deployment</h3>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700582 <form>
583 <table>
584 <tr><td>Slice:</td><td><input type="text" name="slice" value="<%= slice %>"></td></tr>
585 <tr><td>Deployment:</td><td><input type="text" name="deployment" value="<%= deployment %>"></td></tr>
586 <tr><td>Tenant Id:</td><td><input type="text" name="tenant_id" value="<%= tenant_id %>"></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800587 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700588 </table>
589 </form>
590</script>
591
592<!-- SlicePrivilege -->
593
594<script type="text/template" id="xosAdmin-slicePrivilege-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800595 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800596 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700597 <table class="test-table">
598 <thead><tr>
599 <th>id</th>
600 <th>user</th>
601 <th>slice</th>
602 <th>role</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800603 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700604 </tr></thead>
605 <tbody></tbody>
606 </table>
607</script>
608
609<script type="text/template" id="xosAdmin-slicePrivilege-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800610 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700611 <td><%= idToName(user,"users","username") %></td>
612 <td><%= idToName(slice,"slices","name") %></td>
613 <td><%= idToName(role,"sliceRoles","role") %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800614 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700615</script>
616
617<script type="text/template" id="xosAdmin-slicePrivilege-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800618 <h3 class="xos-detail-title">Detail View: Slice Privilege</h3>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700619 <form>
620 <table>
621 <tr><td>User:</td><td><input type="text" name="user" value="<%= user %>"></td></tr>
622 <tr><td>Slice:</td><td><input type="text" name="slice" value="<%= slice %>"></td></tr>
623 <tr><td>Role:</td><td><input type="text" name="role" value="<%= role %>"></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800624 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700625 </table>
626 </form>
627</script>
628
629<!-- Sliver -->
630
631<script type="text/template" id="xosAdmin-sliver-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800632 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800633 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700634 <table class="test-table">
635 <thead><tr>
636 <th>id</th>
637 <th>name</th>
638 <th>instance_id</th>
639 <th>instance_name</th>
640 <th>image</th>
641 <th>creator</th>
642 <th>slice</th>
643 <th>node</th>
644 <th>deploymentNetwork</th>
645 <th>flavor</th>
646 <th>userData</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800647 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700648 </tr></thead>
649 <tbody></tbody>
650 </table>
651</script>
652
653
654<script type="text/template" id="xosAdmin-sliver-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800655 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
656 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: name}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700657 <td><%= instance_id %></td>
658 <td><%= instance_name %></td>
659 <td><%= idToName(image,"images","name") %></td>
660 <td><%= idToName(creator,"users","name") %></td>
661 <td><%= idToName(slice,"slices","name") %></td>
662 <td><%= idToName(node,"nodes","name") %></td>
663 <td><%= idToName(deploymentNetwork,"deployments","name") %></td>
664 <td><%= flavor %></td>
665 <td><%= userData %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800666 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700667</script>
668
669<script type="text/template" id="xosAdmin-sliver-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800670 <h3 class="xos-detail-title">Detail View: Sliver</h3>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700671 <form>
672 <table>
673 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
674 <tr><td>instance_id:</td><td><input type="text" name="instance_id" value="<%= instance_id %>"></td></tr>
675 <tr><td>instance_name:</td><td><input type="text" name="instance_name" value="<%= instance_name %>"></td></tr>
Scott Bakerd5cdaf02014-11-02 22:28:59 -0800676 <tr><td>Image:</td><td><%= idToSelect("image",image,"images","name") %></td></tr>
677 <tr><td>Creator:</td><td><%= idToSelect("creator",creator,"users","username") %></td></tr>
Scott Bakered12d512014-11-04 23:50:45 -0800678 <tr><td>Slice:</td><td><%= idToSelect("slice",slice,"slices","name") %></td></tr>
679 <tr><td>Deployment:</td><td><%= idToSelect("deploymentNetwork",deploymentNetwork,"deployments","name") %></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800680 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700681 </table>
682 </form>
683</script>
684
685<!-- User -->
686
687<script type="text/template" id="xosAdmin-user-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800688 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800689 <%= xosInlineListButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700690 <table class="test-table">
691 <thead><tr>
692 <th>id</th>
693 <th>username</th>
694 <th>firstname</th>
695 <th>lastname</th>
696 <th>phone</th>
697 <th>user_url</th>
698 <th>site</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800699 <th>delete</th>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700700 </tr></thead>
701 <tbody></tbody>
702 </table>
703</script>
704
705
706<script type="text/template" id="xosAdmin-user-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800707 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
708 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: username}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700709 <td><%= firstname %></td>
710 <td><%= lastname %></td>
711 <td><%= phone %></td>
712 <td><%= user_url %></td>
Scott Baker84e01fe2014-10-31 00:18:24 -0700713 <td><%= idToName(site,"sites","name") %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800714 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700715</script>
716
717<script type="text/template" id="xosAdmin-user-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800718 <h3 class="xos-detail-title">Detail View: User</h3>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700719 <form>
720 <table>
721 <tr><td>User Name:</td><td><input type="text" name="username" value="<%= username %>"></td></tr>
722 <tr><td>First Name:</td><td><input type="text" name="firstname" value="<%= firstname %>"></td></tr>
723 <tr><td>Last Name:</td><td><input type="text" name="lastname" value="<%= lastname %>"></td></tr>
724 <tr><td>Phone:</td><td><input type="text" name="phone" value="<%= phone %>"></td></tr>
725 <tr><td>Url:</td><td><input type="text" name="user_url" value="<%= user_url %>"></td></tr>
Scott Bakerd5cdaf02014-11-02 22:28:59 -0800726 <tr><td>Site:</td><td><%= idToSelect("site",site,"sites","name") %></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800727 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker7e0e6b92014-10-30 16:10:16 -0700728 </table>
729 </form>
730</script>
731
Scott Baker84e01fe2014-10-31 00:18:24 -0700732<!-- UserDeployments -->
733
734<script type="text/template" id="xosAdmin-userDeployment-list-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800735 <h3 class="xos-list-title"><%= title %></h3>
Scott Baker47798362014-11-12 01:15:52 -0800736 <%= xosInlineListButtonsTemplate() %>
Scott Baker84e01fe2014-10-31 00:18:24 -0700737 <table class="test-table">
738 <thead><tr>
739 <th>id</th>
740 <th>user</th>
741 <th>deployment</th>
742 <th>kuser_id</th>
Scott Baker3f9fa002014-12-02 18:04:50 -0800743 <th>delete</th>
Scott Baker84e01fe2014-10-31 00:18:24 -0700744 </tr></thead>
745 <tbody></tbody>
746 </table>
747</script>
748
Scott Baker84e01fe2014-10-31 00:18:24 -0700749<script type="text/template" id="xosAdmin-userDeployment-listitem-template">
Scott Bakerb1e63332014-12-02 10:49:04 -0800750 <td> <%= xosDetailLinkTemplate({collectionName: collectionName, id: id, text: id}) %></td>
Scott Baker84e01fe2014-10-31 00:18:24 -0700751 <td><%= idToName(user,"users","username") %></td>
752 <td><%= idToName(deployment,"deployments","name") %></td>
753 <td><%= kuser_id %></td>
Scott Baker3f9fa002014-12-02 18:04:50 -0800754 <td><%= xosDeleteButtonTemplate({modelName: modelName, id: id}) %></td>
Scott Baker84e01fe2014-10-31 00:18:24 -0700755</script>
756
757<script type="text/template" id="xosAdmin-userDeployment-detail-template">
Scott Baker76d7b622014-11-04 23:20:48 -0800758 <h3 class="xos-detail-title">Detail View: UserDeployment</h3>
Scott Baker84e01fe2014-10-31 00:18:24 -0700759 <form>
760 <table>
761 <tr><td>User:</td><td><input type="text" name="user" value="<%= user %>"></td></tr>
762 <tr><td>Deployment:</td><td><input type="text" name="deployment" value="<%= deployment %>"></td></tr>
763 <tr><td>kuser_id:</td><td><input type="text" name="kuser_id" value="<%= kuser_id %>"></td></tr>
Scott Baker09ed3e02014-11-07 13:01:43 -0800764 <%= xosInlineDetailButtonsTemplate() %>
Scott Baker84e01fe2014-10-31 00:18:24 -0700765 </table>
766 </form>
767</script>
Scott Baker09ed3e02014-11-07 13:01:43 -0800768
769<script>
770xosInlineDetailButtonsTemplate = _.template($("#xos-inline-detail-buttons-template").html());
Scott Bakerc9d0dcb2014-11-07 16:40:30 -0800771xosInlineListButtonsTemplate = _.template($("#xos-inline-list-buttons-template").html());
Scott Bakerb1e63332014-12-02 10:49:04 -0800772xosDeleteButtonTemplate = _.template($("#xos-delete-button-template").html());
773xosDetailLinkTemplate = _.template($("#xos-detail-link-template").html());
Scott Baker09ed3e02014-11-07 13:01:43 -0800774</script>