blob: b1c50746a71c1042ab264021ba9f3450b8df24d1 [file] [log] [blame]
Scott Bakerfdaee922014-11-03 09:43:23 -08001<!-- Error and Success templates -->
2
3<script type="text/template" id="test-error-template">
4 <button id="close-error-box">Close Error Message</button>
5 <h3>An error has occurred.</h3>
6 <table class="test-error-table">
7 <tr><td>Code:</td><td><%= status %></td></tr>
8 <tr><td>Message:</td><td><%= statusText %></td></tr>
9 </table>
10</script>
11
12<script type="text/template" id="test-success-template">
13 <button id="close-success-box">Close Success Message</button>
14 <h3>Success!</h3>
15 <table class="test-success-table">
16 <tr><td>Code:</td><td><%= status %></td></tr>
17 <tr><td>Message:</td><td><%= statusText %></td></tr>
18 </table>
19</script>
20
Scott Bakerfc61b012014-10-30 16:10:16 -070021<!-- Deployment -->
22
23<script type="text/template" id="xosAdmin-deployment-list-template">
24 <h3><%= title %></h3>
25 <table class="test-table">
26 <thead><tr>
27 <th>id</th>
28 <th>name</th>
29 <th>backend</th>
30 <th>admin_tenant</th>
31 <th># sites</th>
32 </tr></thead>
33 <tbody></tbody>
34 </table>
35</script>
36
37
38<script type="text/template" id="xosAdmin-deployment-listitem-template">
39 <td class="objectLink"><%= id %></td>
40 <td class="objectLink"><%= name %></td>
41 <td><%= backend_type %></td>
42 <td><%= admin_tenant %></td>
43 <td><%= sites.length %></td>
44</script>
45
46<script type="text/template" id="xosAdmin-deployment-detail-template">
47 <h3>Detail View: Deployment</h3>
48 <form>
49 <table>
50 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
51 <tr><td>Backend:</td><td><input type="text" name="backend_type" value="<%= backend_type %>"></td></tr>
52 <tr><td>Admin Tenant:</td><td><input type="text" name="admin_tenant" value="<%= admin_tenant %>"></td></tr>
53 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
54 </table>
55 </form>
56</script>
57
58<!-- Image -->
59
60<script type="text/template" id="xosAdmin-image-list-template">
61 <h3><%= title %></h3>
62 <table class="test-table">
63 <thead><tr>
64 <th>id</th>
65 <th>name</th>
66 <th>disk_format</th>
67 <th>container_format</th>
68 <th>path</th>
69 </tr></thead>
70 <tbody></tbody>
71 </table>
72</script>
73
74<script type="text/template" id="xosAdmin-image-listitem-template">
75 <td class="objectLink"><%= id %></td>
76 <td class="objectLink"><%= name %></td>
77 <td><%= disk_format %></td>
78 <td><%= container_format %></td>
79 <td><%= path %></td>
80</script>
81
82<script type="text/template" id="xosAdmin-image-detail-template">
83 <h3>Detail View: Image</h3>
84 <form>
85 <table>
86 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
87 <tr><td>Disk Format:</td><td><input type="text" name="backend_type" value="<%= disk_format %>"></td></tr>
88 <tr><td>Container Format:</td><td><input type="text" name="admin_tenant" value="<%= container_format %>"></td></tr>
89 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
90 </table>
91 </form>
92</script>
93
94<!-- NetworkTemplate -->
95
96<script type="text/template" id="xosAdmin-networkTemplate-list-template">
97 <h3><%= title %></h3>
98 <table class="test-table">
99 <thead><tr>
100 <th>id</th>
101 <th>name</th>
102 <th>description</th>
103 <th>visibility</th>
104 <th>translation</th>
105 <th>sharedNetworkName</th>
106 <th>sharedNetworkId</th>
107 </tr></thead>
108 <tbody></tbody>
109 </table>
110</script>
111
112
113<script type="text/template" id="xosAdmin-networkTemplate-listitem-template">
114 <td class="objectLink"><%= id %></td>
115 <td class="objectLink"><%= name %></td>
116 <td><%= description %></td>
117 <td><%= visibility %></td>
118 <td><%= translation %></td>
119 <td><%= sharedNetworkName %></td>
120 <td><%= sharedNetworkId %></td>
121</script>
122
123<script type="text/template" id="xosAdmin-networkTemplate-detail-template">
124 <h3>Detail View: NetworkTemplate</h3>
125 <form>
126 <table>
127 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
128 <tr><td>description:</td><td><input type="text" name="description" value="<%= description %>"></td></tr>
129 <tr><td>Visibility:</td><td><input type="text" name="visibility" value="<%= visibility %>"></td></tr>
130 <tr><td>Translation:</td><td><input type="text" name="translation" value="<%= translation %>"></td></tr>
131 <tr><td>Shared Network Name:</td><td><input type="text" name="sharedNetworkName" value="<%= sharedNetworkName %>"></td></tr>
132 <tr><td>Shared Network Id:</td><td><input type="text" name="sharedNetworkId" value="<%= sharedNetworkId %>"></td></tr>
133 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
134 </table>
135 </form>
136</script>
137
138<!-- Network -->
139
140<script type="text/template" id="xosAdmin-network-list-template">
141 <h3><%= title %></h3>
142 <table class="test-table">
143 <thead><tr>
144 <th>id</th>
145 <th>name</th>
146 <th>template</th>
147 <th>ports</th>
148 <th>labels</th>
149 <th>owner</th>
150 </tr></thead>
151 <tbody></tbody>
152 </table>
153</script>
154
155<script type="text/template" id="xosAdmin-network-listitem-template">
156 <td class="objectLink"><%= id %></td>
157 <td class="objectLink"><%= name %></td>
158 <td><%= idToName(template,"networkTemplates","name") %></td>
159 <td><%= ports %></td>
160 <td><%= labels %></td>
161 <td><%= idToName(owner,"slices","name") %></td>
162</script>
163
164<script type="text/template" id="xosAdmin-network-detail-template">
165 <h3>Detail View: Network</h3>
166 <form>
167 <table>
168 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
Scott Baker9b3cf842014-11-02 22:28:59 -0800169 <tr><td>Template:</td><td><%= idToSelect("template",template,"networkTemplates","name") %></td></tr>
Scott Bakerfc61b012014-10-30 16:10:16 -0700170 <tr><td>Ports:</td><td><input type="text" name="ports" value="<%= ports %>"></td></tr>
171 <tr><td>Labels:</td><td><input type="text" name="labels" value="<%= labels %>"></td></tr>
Scott Baker9b3cf842014-11-02 22:28:59 -0800172 <tr><td>Owner:</td><td><%= idToSelect("owner",owner,"slices","name") %></td></tr>
Scott Bakerfc61b012014-10-30 16:10:16 -0700173 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
174 </table>
175 </form>
176</script>
177
178<!-- NetworkSliver -->
179
180<script type="text/template" id="xosAdmin-networkSliver-list-template">
181 <h3><%= title %></h3>
182 <table class="test-table">
183 <thead><tr>
184 <th>id</th>
185 <th>network</th>
186 <th>sliver</th>
187 <th>ip</th>
188 <th>port_id</th>
189 </tr></thead>
190 <tbody></tbody>
191 </table>
192</script>
193
194<script type="text/template" id="xosAdmin-networkSliver-listitem-template">
195 <td class="objectLink"><%= id %></td>
196 <td><%= idToName(network,"networks","name") %></td>
197 <td><%= idToName(sliver,"slivers","name") %></td>
198 <td><%= ip %></td>
199 <td><%= port_id %></td>
200</script>
201
202<script type="text/template" id="xosAdmin-networkSliver-detail-template">
203 <h3>Detail View: Network</h3>
204 <form>
205 <table>
206 <tr><td>Network:</td><td><input type="text" name="network" value="<%= network %>"></td></tr>
207 <tr><td>Sliver:</td><td><input type="text" name="sliver" value="<%= sliver %>"></td></tr>
208 <tr><td>Ip:</td><td><input type="text" name="ip" value="<%= ip %>"></td></tr>
209 <tr><td>Port_id:</td><td><input type="text" name="port_id" value="<%= port_id %>"></td></tr>
210 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
211 </table>
212 </form>
213</script>
214
Scott Baker586878e2014-10-31 16:43:07 -0700215<!-- NetworkDeployment -->
216
217<script type="text/template" id="xosAdmin-networkDeployment-list-template">
218 <h3><%= title %></h3>
219 <table class="test-table">
220 <thead><tr>
221 <th>id</th>
222 <th>network</th>
223 <th>deployment</th>
224 <th>net_id</th>
225 </tr></thead>
226 <tbody></tbody>
227 </table>
228</script>
229
230<script type="text/template" id="xosAdmin-networkDeployment-listitem-template">
231 <td class="objectLink"><%= id %></td>
232 <td><%= idToName(network,"networks","name") %></td>
233 <td><%= idToName(deployment,"deployments","name") %></td>
234 <td><%= net_id %></td>
235</script>
236
237<script type="text/template" id="xosAdmin-networkDeployment-detail-template">
238 <h3>Detail View: Network</h3>
239 <form>
240 <table>
241 <tr><td>Network:</td><td><input type="text" name="network" value="<%= network %>"></td></tr>
242 <tr><td>Sliver:</td><td><input type="text" name="deployment" value="<%= deployment %>"></td></tr>
243 <tr><td>Ip:</td><td><input type="text" name="net_id" value="<%= net_id %>"></td></tr>
244 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
245 </table>
246 </form>
247</script>
248
Scott Bakerfc61b012014-10-30 16:10:16 -0700249<!-- Node -->
250
251<script type="text/template" id="xosAdmin-node-list-template">
252 <h3><%= title %></h3>
253 <table class="test-table">
254 <thead><tr>
255 <th>id</th>
256 <th>name</th>
257 <th>site</th>
258 <th>deployment</th>
259 </tr></thead>
260 <tbody></tbody>
261 </table>
262</script>
263
264
265<script type="text/template" id="xosAdmin-node-listitem-template">
266 <td class="objectLink"><%= id %></td>
267 <td class="objectLink"><%= name %></td>
268 <td><%= idToName(site,"sites","name") %></td>
269 <td><%= idToName(deployment,"deployments","name") %></td>
270</script>
271
272<script type="text/template" id="xosAdmin-node-detail-template">
273 <h3>Detail View: Node</h3>
274 <form>
275 <table>
276 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
Scott Baker9b3cf842014-11-02 22:28:59 -0800277 <tr><td>Site:</td><td><%= idToSelect("site",site,"sites","name") %></td></tr>
278 <tr><td>Deployment:</td><td><%= idToSelect("deployment",deployment,"deployments","name") %></td></tr>
Scott Bakerfc61b012014-10-30 16:10:16 -0700279 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
280 </table>
281 </form>
282</script>
283
284<!-- SliceRole -->
285
286<script type="text/template" id="xosAdmin-sliceRole-list-template">
287 <h3><%= title %></h3>
288 <table class="test-table">
289 <thead><tr>
290 <th>id</th>
291 <th>role</th>
292 </tr></thead>
293 <tbody></tbody>
294 </table>
295</script>
296
297
298<script type="text/template" id="xosAdmin-sliceRole-listitem-template">
299 <td class="objectLink"><%= id %></td>
300 <td><%= role %></td>
301</script>
302
303<script type="text/template" id="xosAdmin-sliceRole-detail-template">
304 <h3>Detail View: Service</h3>
305 <form>
306 <table>
307 <tr><td>Role:</td><td><input type="text" name="role" value="<%= role %>"></td></tr>
308 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
309 </table>
310 </form>
311</script>
312
313<!-- Service -->
314
315<script type="text/template" id="xosAdmin-service-list-template">
316 <h3><%= title %></h3>
317 <table class="test-table">
318 <thead><tr>
319 <th>id</th>
320 <th>name</th>
321 <th>description</th>
322 <th>enabled</th>
323 <th>versionNumber</th>
324 <th>published</th>
325 </tr></thead>
326 <tbody></tbody>
327 </table>
328</script>
329
330
331<script type="text/template" id="xosAdmin-service-listitem-template">
332 <td class="objectLink"><%= id %></td>
333 <td class="objectLink"><%= name %></td>
334 <td><%= description %></td>
335 <td><%= enabled %></td>
336 <td><%= versionNumber %></td>
337 <td><%= published %></td>
338</script>
339
340<script type="text/template" id="xosAdmin-service-detail-template">
341 <h3>Detail View: Service</h3>
342 <form>
343 <table>
344 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
345 <tr><td>description:</td><td><input type="text" name="description" value="<%= description %>"></td></tr>
346 <tr><td>Version Number:</td><td><input type="text" name="versionNumber" value="<%= versionNumber %>"></td></tr>
347 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
348 </table>
349 </form>
350</script>
351
352<!-- Site -->
353
354<script type="text/template" id="xosAdmin-site-list-template">
355 <h3><%= title %></h3>
356 <table class="test-table">
357 <thead><tr>
358 <th>id</th>
359 <th>name</th>
360 <th>url</th>
361 <th>enabled</th>
362 <th>login_base</th>
363 <th>is_public</th>
364 <th>abbreviated_name</th>
365 </tr></thead>
366 <tbody></tbody>
367 </table>
368</script>
369
370<script type="text/template" id="xosAdmin-site-listitem-template">
371 <td class="objectLink"><%= id %></td>
372 <td class="objectLink"><%= name %></td>
373 <td><%= site_url %></td>
374 <td><%= enabled %></td>
375 <td><%= login_base %></td>
376 <td><%= is_public %></td>
377 <td><%= abbreviated_name %></td>
378</script>
379
380<script type="text/template" id="xosAdmin-site-detail-template">
381 <h3>Detail View: Site</h3>
382 <form>
383 <table>
384 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
385 <tr><td>url:</td><td><input type="text" name="site_url" value="<%= site_url %>"></td></tr>
386 <tr><td>login_base:</td><td><input type="text" name="login_base" value="<%= login_base %>"></td></tr>
387 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
388 </table>
389 </form>
390</script>
391
392<!-- Slice -->
393
394<script type="text/template" id="xosAdmin-slice-list-template">
395 <h3><%= title %></h3>
396 <table class="test-table">
397 <thead><tr>
398 <th>id</th>
399 <th>name</th>
400 <th>enabled</th>
401 <th>omf_friendly</th>
402 <th>description</th>
403 <th>slice_url</th>
404 <th>site</th>
405 <th>max_slivers</th>
406 <th>service</th>
407 </tr></thead>
408 <tbody></tbody>
409 </table>
410</script>
411
412<script type="text/template" id="xosAdmin-slice-listitem-template">
413 <td class="objectLink"><%= id %></td>
414 <td class="objectLink"><%= name %></td>
415 <td><%= enabled %></td>
416 <td><%= omf_friendly %></td>
417 <td><%= description %></td>
418 <td><%= slice_url %></td>
419 <td><%= idToName(site,"sites","name") %></td>
420 <td><%= max_slivers %></td>
421 <td><%= idToName(service,"services","name") %></td>
422</script>
423
424<script type="text/template" id="xosAdmin-slice-detail-template">
425 <h3>Detail View: Slice</h3>
426 <form>
427 <table>
428 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
429 <tr><td>Enabled:</td><td><input type="checkbox" name="enabled" <% if (enabled) print("checked"); %>></td></tr>
430 <tr><td>Description:</td><td><input type="text" name="description" value="<%= description %>"></td></tr>
431 <tr><td>Url:</td><td><input type="text" name="slice_url" value="<%= slice_url %>"></td></tr>
432 <tr><td>Max Slivers:</td><td><input type="text" name="max_slivers" value="<%= max_slivers %>"></td></tr>
433 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
434 </table>
435 </form>
436</script>
437
Scott Baker9b3cf842014-11-02 22:28:59 -0800438<!-- SliceDeployment -->
Scott Bakerfc61b012014-10-30 16:10:16 -0700439
440<script type="text/template" id="xosAdmin-sliceDeployment-list-template">
441 <h3><%= title %></h3>
442 <table class="test-table">
443 <thead><tr>
444 <th>id</th>
445 <th>slice</th>
446 <th>deployment</th>
447 <th>tenant_id</th>
448 </tr></thead>
449 <tbody></tbody>
450 </table>
451</script>
452
453<script type="text/template" id="xosAdmin-sliceDeployment-listitem-template">
454 <td class="objectLink"><%= id %></td>
455 <td><%= idToName(slice,"slices","name") %></td>
456 <td><%= idToName(deployment,"deployments","name") %></td>
457 <td><%= tenant_id %></td>
458</script>
459
460<script type="text/template" id="xosAdmin-sliceDeployment-detail-template">
461 <h3>Detail View: Slice Deployment</h3>
462 <form>
463 <table>
464 <tr><td>Slice:</td><td><input type="text" name="slice" value="<%= slice %>"></td></tr>
465 <tr><td>Deployment:</td><td><input type="text" name="deployment" value="<%= deployment %>"></td></tr>
466 <tr><td>Tenant Id:</td><td><input type="text" name="tenant_id" value="<%= tenant_id %>"></td></tr>
467 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
468 </table>
469 </form>
470</script>
471
472<!-- SlicePrivilege -->
473
474<script type="text/template" id="xosAdmin-slicePrivilege-list-template">
475 <h3><%= title %></h3>
476 <table class="test-table">
477 <thead><tr>
478 <th>id</th>
479 <th>user</th>
480 <th>slice</th>
481 <th>role</th>
482 </tr></thead>
483 <tbody></tbody>
484 </table>
485</script>
486
487<script type="text/template" id="xosAdmin-slicePrivilege-listitem-template">
488 <td class="objectLink"><%= id %></td>
489 <td><%= idToName(user,"users","username") %></td>
490 <td><%= idToName(slice,"slices","name") %></td>
491 <td><%= idToName(role,"sliceRoles","role") %></td>
492</script>
493
494<script type="text/template" id="xosAdmin-slicePrivilege-detail-template">
495 <h3>Detail View: Slice Privilege</h3>
496 <form>
497 <table>
498 <tr><td>User:</td><td><input type="text" name="user" value="<%= user %>"></td></tr>
499 <tr><td>Slice:</td><td><input type="text" name="slice" value="<%= slice %>"></td></tr>
500 <tr><td>Role:</td><td><input type="text" name="role" value="<%= role %>"></td></tr>
501 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
502 </table>
503 </form>
504</script>
505
506<!-- Sliver -->
507
508<script type="text/template" id="xosAdmin-sliver-list-template">
509 <h3><%= title %></h3>
510 <table class="test-table">
511 <thead><tr>
512 <th>id</th>
513 <th>name</th>
514 <th>instance_id</th>
515 <th>instance_name</th>
516 <th>image</th>
517 <th>creator</th>
518 <th>slice</th>
519 <th>node</th>
520 <th>deploymentNetwork</th>
521 <th>flavor</th>
522 <th>userData</th>
523 </tr></thead>
524 <tbody></tbody>
525 </table>
526</script>
527
528
529<script type="text/template" id="xosAdmin-sliver-listitem-template">
530 <td class="objectLink"><%= id %></td>
531 <td class="objectLink"><%= name %></td>
532 <td><%= instance_id %></td>
533 <td><%= instance_name %></td>
534 <td><%= idToName(image,"images","name") %></td>
535 <td><%= idToName(creator,"users","name") %></td>
536 <td><%= idToName(slice,"slices","name") %></td>
537 <td><%= idToName(node,"nodes","name") %></td>
538 <td><%= idToName(deploymentNetwork,"deployments","name") %></td>
539 <td><%= flavor %></td>
540 <td><%= userData %></td>
541</script>
542
543<script type="text/template" id="xosAdmin-sliver-detail-template">
544 <h3>Detail View: Sliver</h3>
545 <form>
546 <table>
547 <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
548 <tr><td>instance_id:</td><td><input type="text" name="instance_id" value="<%= instance_id %>"></td></tr>
549 <tr><td>instance_name:</td><td><input type="text" name="instance_name" value="<%= instance_name %>"></td></tr>
Scott Baker9b3cf842014-11-02 22:28:59 -0800550 <tr><td>Image:</td><td><%= idToSelect("image",image,"images","name") %></td></tr>
551 <tr><td>Creator:</td><td><%= idToSelect("creator",creator,"users","username") %></td></tr>
552 <tr><td>Slice:</td><td><%= idToSelect("deploymentNetwork",deploymentNetwork,"deployments","name") %></td></tr>
Scott Bakerfc61b012014-10-30 16:10:16 -0700553 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
554 </table>
555 </form>
556</script>
557
558<!-- User -->
559
560<script type="text/template" id="xosAdmin-user-list-template">
561 <h3><%= title %></h3>
562 <table class="test-table">
563 <thead><tr>
564 <th>id</th>
565 <th>username</th>
566 <th>firstname</th>
567 <th>lastname</th>
568 <th>phone</th>
569 <th>user_url</th>
570 <th>site</th>
571 </tr></thead>
572 <tbody></tbody>
573 </table>
574</script>
575
576
577<script type="text/template" id="xosAdmin-user-listitem-template">
578 <td class="objectLink"><%= id %></td>
579 <td class="objectLink"><%= username %></td>
580 <td><%= firstname %></td>
581 <td><%= lastname %></td>
582 <td><%= phone %></td>
583 <td><%= user_url %></td>
Scott Baker10badd32014-10-31 00:18:24 -0700584 <td><%= idToName(site,"sites","name") %></td>
Scott Bakerfc61b012014-10-30 16:10:16 -0700585</script>
586
587<script type="text/template" id="xosAdmin-user-detail-template">
588 <h3>Detail View: User</h3>
589 <form>
590 <table>
591 <tr><td>User Name:</td><td><input type="text" name="username" value="<%= username %>"></td></tr>
592 <tr><td>First Name:</td><td><input type="text" name="firstname" value="<%= firstname %>"></td></tr>
593 <tr><td>Last Name:</td><td><input type="text" name="lastname" value="<%= lastname %>"></td></tr>
594 <tr><td>Phone:</td><td><input type="text" name="phone" value="<%= phone %>"></td></tr>
595 <tr><td>Url:</td><td><input type="text" name="user_url" value="<%= user_url %>"></td></tr>
Scott Baker9b3cf842014-11-02 22:28:59 -0800596 <tr><td>Site:</td><td><%= idToSelect("site",site,"sites","name") %></td></tr>
Scott Bakerfc61b012014-10-30 16:10:16 -0700597 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
598 </table>
599 </form>
600</script>
601
Scott Baker10badd32014-10-31 00:18:24 -0700602<!-- UserDeployments -->
603
604<script type="text/template" id="xosAdmin-userDeployment-list-template">
605 <h3><%= title %></h3>
606 <table class="test-table">
607 <thead><tr>
608 <th>id</th>
609 <th>user</th>
610 <th>deployment</th>
611 <th>kuser_id</th>
612 </tr></thead>
613 <tbody></tbody>
614 </table>
615</script>
616
617
618<script type="text/template" id="xosAdmin-userDeployment-listitem-template">
619 <td class="objectLink"><%= id %></td>
620 <td><%= idToName(user,"users","username") %></td>
621 <td><%= idToName(deployment,"deployments","name") %></td>
622 <td><%= kuser_id %></td>
623</script>
624
625<script type="text/template" id="xosAdmin-userDeployment-detail-template">
626 <h3>Detail View: User</h3>
627 <form>
628 <table>
629 <tr><td>User:</td><td><input type="text" name="user" value="<%= user %>"></td></tr>
630 <tr><td>Deployment:</td><td><input type="text" name="deployment" value="<%= deployment %>"></td></tr>
631 <tr><td>kuser_id:</td><td><input type="text" name="kuser_id" value="<%= kuser_id %>"></td></tr>
632 <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
633 </table>
634 </form>
635</script>