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