Scott Baker | fc61b01 | 2014-10-30 16:10:16 -0700 | [diff] [blame] | 1 | <!-- 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 | |
Scott Baker | 586878e | 2014-10-31 16:43:07 -0700 | [diff] [blame] | 195 | <!-- NetworkDeployment --> |
| 196 | |
| 197 | <script type="text/template" id="xosAdmin-networkDeployment-list-template"> |
| 198 | <h3><%= title %></h3> |
| 199 | <table class="test-table"> |
| 200 | <thead><tr> |
| 201 | <th>id</th> |
| 202 | <th>network</th> |
| 203 | <th>deployment</th> |
| 204 | <th>net_id</th> |
| 205 | </tr></thead> |
| 206 | <tbody></tbody> |
| 207 | </table> |
| 208 | </script> |
| 209 | |
| 210 | <script type="text/template" id="xosAdmin-networkDeployment-listitem-template"> |
| 211 | <td class="objectLink"><%= id %></td> |
| 212 | <td><%= idToName(network,"networks","name") %></td> |
| 213 | <td><%= idToName(deployment,"deployments","name") %></td> |
| 214 | <td><%= net_id %></td> |
| 215 | </script> |
| 216 | |
| 217 | <script type="text/template" id="xosAdmin-networkDeployment-detail-template"> |
| 218 | <h3>Detail View: Network</h3> |
| 219 | <form>
|
| 220 | <table>
|
| 221 | <tr><td>Network:</td><td><input type="text" name="network" value="<%= network %>"></td></tr>
|
| 222 | <tr><td>Sliver:</td><td><input type="text" name="deployment" value="<%= deployment %>"></td></tr>
|
| 223 | <tr><td>Ip:</td><td><input type="text" name="net_id" value="<%= net_id %>"></td></tr>
|
| 224 | <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
|
| 225 | </table>
|
| 226 | </form>
|
| 227 | </script> |
| 228 | |
Scott Baker | fc61b01 | 2014-10-30 16:10:16 -0700 | [diff] [blame] | 229 | <!-- Node --> |
| 230 | |
| 231 | <script type="text/template" id="xosAdmin-node-list-template"> |
| 232 | <h3><%= title %></h3> |
| 233 | <table class="test-table"> |
| 234 | <thead><tr> |
| 235 | <th>id</th> |
| 236 | <th>name</th> |
| 237 | <th>site</th> |
| 238 | <th>deployment</th> |
| 239 | </tr></thead> |
| 240 | <tbody></tbody> |
| 241 | </table> |
| 242 | </script> |
| 243 | |
| 244 | |
| 245 | <script type="text/template" id="xosAdmin-node-listitem-template"> |
| 246 | <td class="objectLink"><%= id %></td> |
| 247 | <td class="objectLink"><%= name %></td> |
| 248 | <td><%= idToName(site,"sites","name") %></td> |
| 249 | <td><%= idToName(deployment,"deployments","name") %></td> |
| 250 | </script> |
| 251 | |
| 252 | <script type="text/template" id="xosAdmin-node-detail-template"> |
| 253 | <h3>Detail View: Node</h3> |
| 254 | <form>
|
| 255 | <table>
|
| 256 | <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
|
| 257 | <tr><td>Site:</td><td><input type="text" name="site" value="<%= site %>"></td></tr>
|
| 258 | <tr><td>Deployment:</td><td><input type="text" name="deployment" value="<%= deployment %>"></td></tr>
|
| 259 | <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
|
| 260 | </table>
|
| 261 | </form>
|
| 262 | </script> |
| 263 | |
| 264 | <!-- SliceRole --> |
| 265 | |
| 266 | <script type="text/template" id="xosAdmin-sliceRole-list-template"> |
| 267 | <h3><%= title %></h3> |
| 268 | <table class="test-table"> |
| 269 | <thead><tr> |
| 270 | <th>id</th> |
| 271 | <th>role</th> |
| 272 | </tr></thead> |
| 273 | <tbody></tbody> |
| 274 | </table> |
| 275 | </script> |
| 276 | |
| 277 | |
| 278 | <script type="text/template" id="xosAdmin-sliceRole-listitem-template"> |
| 279 | <td class="objectLink"><%= id %></td> |
| 280 | <td><%= role %></td> |
| 281 | </script> |
| 282 | |
| 283 | <script type="text/template" id="xosAdmin-sliceRole-detail-template"> |
| 284 | <h3>Detail View: Service</h3> |
| 285 | <form>
|
| 286 | <table>
|
| 287 | <tr><td>Role:</td><td><input type="text" name="role" value="<%= role %>"></td></tr>
|
| 288 | <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
|
| 289 | </table>
|
| 290 | </form>
|
| 291 | </script> |
| 292 | |
| 293 | <!-- Service --> |
| 294 | |
| 295 | <script type="text/template" id="xosAdmin-service-list-template"> |
| 296 | <h3><%= title %></h3> |
| 297 | <table class="test-table"> |
| 298 | <thead><tr> |
| 299 | <th>id</th> |
| 300 | <th>name</th> |
| 301 | <th>description</th> |
| 302 | <th>enabled</th> |
| 303 | <th>versionNumber</th> |
| 304 | <th>published</th> |
| 305 | </tr></thead> |
| 306 | <tbody></tbody> |
| 307 | </table> |
| 308 | </script> |
| 309 | |
| 310 | |
| 311 | <script type="text/template" id="xosAdmin-service-listitem-template"> |
| 312 | <td class="objectLink"><%= id %></td> |
| 313 | <td class="objectLink"><%= name %></td> |
| 314 | <td><%= description %></td> |
| 315 | <td><%= enabled %></td> |
| 316 | <td><%= versionNumber %></td> |
| 317 | <td><%= published %></td> |
| 318 | </script> |
| 319 | |
| 320 | <script type="text/template" id="xosAdmin-service-detail-template"> |
| 321 | <h3>Detail View: Service</h3> |
| 322 | <form>
|
| 323 | <table>
|
| 324 | <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
|
| 325 | <tr><td>description:</td><td><input type="text" name="description" value="<%= description %>"></td></tr>
|
| 326 | <tr><td>Version Number:</td><td><input type="text" name="versionNumber" value="<%= versionNumber %>"></td></tr>
|
| 327 | <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
|
| 328 | </table>
|
| 329 | </form>
|
| 330 | </script> |
| 331 | |
| 332 | <!-- Site --> |
| 333 | |
| 334 | <script type="text/template" id="xosAdmin-site-list-template"> |
| 335 | <h3><%= title %></h3> |
| 336 | <table class="test-table"> |
| 337 | <thead><tr> |
| 338 | <th>id</th> |
| 339 | <th>name</th> |
| 340 | <th>url</th> |
| 341 | <th>enabled</th> |
| 342 | <th>login_base</th> |
| 343 | <th>is_public</th> |
| 344 | <th>abbreviated_name</th> |
| 345 | </tr></thead> |
| 346 | <tbody></tbody> |
| 347 | </table> |
| 348 | </script> |
| 349 | |
| 350 | <script type="text/template" id="xosAdmin-site-listitem-template"> |
| 351 | <td class="objectLink"><%= id %></td> |
| 352 | <td class="objectLink"><%= name %></td> |
| 353 | <td><%= site_url %></td> |
| 354 | <td><%= enabled %></td> |
| 355 | <td><%= login_base %></td> |
| 356 | <td><%= is_public %></td> |
| 357 | <td><%= abbreviated_name %></td> |
| 358 | </script> |
| 359 | |
| 360 | <script type="text/template" id="xosAdmin-site-detail-template"> |
| 361 | <h3>Detail View: Site</h3> |
| 362 | <form>
|
| 363 | <table>
|
| 364 | <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
|
| 365 | <tr><td>url:</td><td><input type="text" name="site_url" value="<%= site_url %>"></td></tr>
|
| 366 | <tr><td>login_base:</td><td><input type="text" name="login_base" value="<%= login_base %>"></td></tr>
|
| 367 | <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
|
| 368 | </table>
|
| 369 | </form>
|
| 370 | </script> |
| 371 | |
| 372 | <!-- Slice --> |
| 373 | |
| 374 | <script type="text/template" id="xosAdmin-slice-list-template"> |
| 375 | <h3><%= title %></h3> |
| 376 | <table class="test-table"> |
| 377 | <thead><tr> |
| 378 | <th>id</th> |
| 379 | <th>name</th> |
| 380 | <th>enabled</th> |
| 381 | <th>omf_friendly</th> |
| 382 | <th>description</th> |
| 383 | <th>slice_url</th> |
| 384 | <th>site</th> |
| 385 | <th>max_slivers</th> |
| 386 | <th>service</th> |
| 387 | </tr></thead> |
| 388 | <tbody></tbody> |
| 389 | </table> |
| 390 | </script> |
| 391 | |
| 392 | <script type="text/template" id="xosAdmin-slice-listitem-template"> |
| 393 | <td class="objectLink"><%= id %></td> |
| 394 | <td class="objectLink"><%= name %></td> |
| 395 | <td><%= enabled %></td> |
| 396 | <td><%= omf_friendly %></td> |
| 397 | <td><%= description %></td> |
| 398 | <td><%= slice_url %></td> |
| 399 | <td><%= idToName(site,"sites","name") %></td> |
| 400 | <td><%= max_slivers %></td> |
| 401 | <td><%= idToName(service,"services","name") %></td> |
| 402 | </script> |
| 403 | |
| 404 | <script type="text/template" id="xosAdmin-slice-detail-template"> |
| 405 | <h3>Detail View: Slice</h3> |
| 406 | <form>
|
| 407 | <table>
|
| 408 | <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
|
| 409 | <tr><td>Enabled:</td><td><input type="checkbox" name="enabled" <% if (enabled) print("checked"); %>></td></tr>
|
| 410 | <tr><td>Description:</td><td><input type="text" name="description" value="<%= description %>"></td></tr>
|
| 411 | <tr><td>Url:</td><td><input type="text" name="slice_url" value="<%= slice_url %>"></td></tr>
|
| 412 | <tr><td>Max Slivers:</td><td><input type="text" name="max_slivers" value="<%= max_slivers %>"></td></tr>
|
| 413 | <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
|
| 414 | </table>
|
| 415 | </form>
|
| 416 | </script> |
| 417 | |
| 418 | <!-- SlicDeployment --> |
| 419 | |
| 420 | <script type="text/template" id="xosAdmin-sliceDeployment-list-template"> |
| 421 | <h3><%= title %></h3> |
| 422 | <table class="test-table"> |
| 423 | <thead><tr> |
| 424 | <th>id</th> |
| 425 | <th>slice</th> |
| 426 | <th>deployment</th> |
| 427 | <th>tenant_id</th> |
| 428 | </tr></thead> |
| 429 | <tbody></tbody> |
| 430 | </table> |
| 431 | </script> |
| 432 | |
| 433 | <script type="text/template" id="xosAdmin-sliceDeployment-listitem-template"> |
| 434 | <td class="objectLink"><%= id %></td> |
| 435 | <td><%= idToName(slice,"slices","name") %></td> |
| 436 | <td><%= idToName(deployment,"deployments","name") %></td> |
| 437 | <td><%= tenant_id %></td> |
| 438 | </script> |
| 439 | |
| 440 | <script type="text/template" id="xosAdmin-sliceDeployment-detail-template"> |
| 441 | <h3>Detail View: Slice Deployment</h3> |
| 442 | <form>
|
| 443 | <table>
|
| 444 | <tr><td>Slice:</td><td><input type="text" name="slice" value="<%= slice %>"></td></tr>
|
| 445 | <tr><td>Deployment:</td><td><input type="text" name="deployment" value="<%= deployment %>"></td></tr>
|
| 446 | <tr><td>Tenant Id:</td><td><input type="text" name="tenant_id" value="<%= tenant_id %>"></td></tr>
|
| 447 | <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
|
| 448 | </table>
|
| 449 | </form>
|
| 450 | </script> |
| 451 | |
| 452 | <!-- SlicePrivilege --> |
| 453 | |
| 454 | <script type="text/template" id="xosAdmin-slicePrivilege-list-template"> |
| 455 | <h3><%= title %></h3> |
| 456 | <table class="test-table"> |
| 457 | <thead><tr> |
| 458 | <th>id</th> |
| 459 | <th>user</th> |
| 460 | <th>slice</th> |
| 461 | <th>role</th> |
| 462 | </tr></thead> |
| 463 | <tbody></tbody> |
| 464 | </table> |
| 465 | </script> |
| 466 | |
| 467 | <script type="text/template" id="xosAdmin-slicePrivilege-listitem-template"> |
| 468 | <td class="objectLink"><%= id %></td> |
| 469 | <td><%= idToName(user,"users","username") %></td> |
| 470 | <td><%= idToName(slice,"slices","name") %></td> |
| 471 | <td><%= idToName(role,"sliceRoles","role") %></td> |
| 472 | </script> |
| 473 | |
| 474 | <script type="text/template" id="xosAdmin-slicePrivilege-detail-template"> |
| 475 | <h3>Detail View: Slice Privilege</h3> |
| 476 | <form>
|
| 477 | <table>
|
| 478 | <tr><td>User:</td><td><input type="text" name="user" value="<%= user %>"></td></tr>
|
| 479 | <tr><td>Slice:</td><td><input type="text" name="slice" value="<%= slice %>"></td></tr>
|
| 480 | <tr><td>Role:</td><td><input type="text" name="role" value="<%= role %>"></td></tr>
|
| 481 | <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
|
| 482 | </table>
|
| 483 | </form>
|
| 484 | </script> |
| 485 | |
| 486 | <!-- Sliver --> |
| 487 | |
| 488 | <script type="text/template" id="xosAdmin-sliver-list-template"> |
| 489 | <h3><%= title %></h3> |
| 490 | <table class="test-table"> |
| 491 | <thead><tr> |
| 492 | <th>id</th> |
| 493 | <th>name</th> |
| 494 | <th>instance_id</th> |
| 495 | <th>instance_name</th> |
| 496 | <th>image</th> |
| 497 | <th>creator</th> |
| 498 | <th>slice</th> |
| 499 | <th>node</th> |
| 500 | <th>deploymentNetwork</th> |
| 501 | <th>flavor</th> |
| 502 | <th>userData</th> |
| 503 | </tr></thead> |
| 504 | <tbody></tbody> |
| 505 | </table> |
| 506 | </script> |
| 507 | |
| 508 | |
| 509 | <script type="text/template" id="xosAdmin-sliver-listitem-template"> |
| 510 | <td class="objectLink"><%= id %></td> |
| 511 | <td class="objectLink"><%= name %></td> |
| 512 | <td><%= instance_id %></td> |
| 513 | <td><%= instance_name %></td> |
| 514 | <td><%= idToName(image,"images","name") %></td> |
| 515 | <td><%= idToName(creator,"users","name") %></td> |
| 516 | <td><%= idToName(slice,"slices","name") %></td> |
| 517 | <td><%= idToName(node,"nodes","name") %></td> |
| 518 | <td><%= idToName(deploymentNetwork,"deployments","name") %></td> |
| 519 | <td><%= flavor %></td> |
| 520 | <td><%= userData %></td> |
| 521 | </script> |
| 522 | |
| 523 | <script type="text/template" id="xosAdmin-sliver-detail-template"> |
| 524 | <h3>Detail View: Sliver</h3> |
| 525 | <form>
|
| 526 | <table>
|
| 527 | <tr><td>Name:</td><td><input type="text" name="name" value="<%= name %>"></td></tr>
|
| 528 | <tr><td>instance_id:</td><td><input type="text" name="instance_id" value="<%= instance_id %>"></td></tr>
|
| 529 | <tr><td>instance_name:</td><td><input type="text" name="instance_name" value="<%= instance_name %>"></td></tr>
|
| 530 | <tr><td>Image:</td><td><input type="text" name="image" value="<%= image %>"></td></tr>
|
| 531 | <tr><td>Creator:</td><td><input type="text" name="creator" value="<%= creator %>"></td></tr>
|
| 532 | <tr><td>Slice:</td><td><input type="text" name="slice" value="<%= slice %>"></td></tr>
|
| 533 | <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
|
| 534 | </table>
|
| 535 | </form>
|
| 536 | </script> |
| 537 | |
| 538 | <!-- User --> |
| 539 | |
| 540 | <script type="text/template" id="xosAdmin-user-list-template"> |
| 541 | <h3><%= title %></h3> |
| 542 | <table class="test-table"> |
| 543 | <thead><tr> |
| 544 | <th>id</th> |
| 545 | <th>username</th> |
| 546 | <th>firstname</th> |
| 547 | <th>lastname</th> |
| 548 | <th>phone</th> |
| 549 | <th>user_url</th> |
| 550 | <th>site</th> |
| 551 | </tr></thead> |
| 552 | <tbody></tbody> |
| 553 | </table> |
| 554 | </script> |
| 555 | |
| 556 | |
| 557 | <script type="text/template" id="xosAdmin-user-listitem-template"> |
| 558 | <td class="objectLink"><%= id %></td> |
| 559 | <td class="objectLink"><%= username %></td> |
| 560 | <td><%= firstname %></td> |
| 561 | <td><%= lastname %></td> |
| 562 | <td><%= phone %></td> |
| 563 | <td><%= user_url %></td> |
Scott Baker | 10badd3 | 2014-10-31 00:18:24 -0700 | [diff] [blame] | 564 | <td><%= idToName(site,"sites","name") %></td> |
Scott Baker | fc61b01 | 2014-10-30 16:10:16 -0700 | [diff] [blame] | 565 | </script> |
| 566 | |
| 567 | <script type="text/template" id="xosAdmin-user-detail-template"> |
| 568 | <h3>Detail View: User</h3> |
| 569 | <form>
|
| 570 | <table>
|
| 571 | <tr><td>User Name:</td><td><input type="text" name="username" value="<%= username %>"></td></tr>
|
| 572 | <tr><td>First Name:</td><td><input type="text" name="firstname" value="<%= firstname %>"></td></tr>
|
| 573 | <tr><td>Last Name:</td><td><input type="text" name="lastname" value="<%= lastname %>"></td></tr>
|
| 574 | <tr><td>Phone:</td><td><input type="text" name="phone" value="<%= phone %>"></td></tr>
|
| 575 | <tr><td>Url:</td><td><input type="text" name="user_url" value="<%= user_url %>"></td></tr>
|
| 576 | <tr><td>Site:</td><td><input type="text" name="site" value="<%= site %>"></td></tr>
|
| 577 | <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
|
| 578 | </table>
|
| 579 | </form>
|
| 580 | </script> |
| 581 | |
Scott Baker | 10badd3 | 2014-10-31 00:18:24 -0700 | [diff] [blame] | 582 | <!-- UserDeployments --> |
| 583 | |
| 584 | <script type="text/template" id="xosAdmin-userDeployment-list-template"> |
| 585 | <h3><%= title %></h3> |
| 586 | <table class="test-table"> |
| 587 | <thead><tr> |
| 588 | <th>id</th> |
| 589 | <th>user</th> |
| 590 | <th>deployment</th> |
| 591 | <th>kuser_id</th> |
| 592 | </tr></thead> |
| 593 | <tbody></tbody> |
| 594 | </table> |
| 595 | </script> |
| 596 | |
| 597 | |
| 598 | <script type="text/template" id="xosAdmin-userDeployment-listitem-template"> |
| 599 | <td class="objectLink"><%= id %></td> |
| 600 | <td><%= idToName(user,"users","username") %></td> |
| 601 | <td><%= idToName(deployment,"deployments","name") %></td> |
| 602 | <td><%= kuser_id %></td> |
| 603 | </script> |
| 604 | |
| 605 | <script type="text/template" id="xosAdmin-userDeployment-detail-template"> |
| 606 | <h3>Detail View: User</h3> |
| 607 | <form>
|
| 608 | <table>
|
| 609 | <tr><td>User:</td><td><input type="text" name="user" value="<%= user %>"></td></tr>
|
| 610 | <tr><td>Deployment:</td><td><input type="text" name="deployment" value="<%= deployment %>"></td></tr>
|
| 611 | <tr><td>kuser_id:</td><td><input type="text" name="kuser_id" value="<%= kuser_id %>"></td></tr>
|
| 612 | <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>
|
| 613 | </table>
|
| 614 | </form>
|
| 615 | </script> |