+<!-- SlicDeployment -->
+
+<script type="text/template" id="test-sliceDeployment-list-template">
+ <h3><%= title %></h3>
+ <table class="test-table">
+ <thead><tr>
+ <th>id</th>
+ <th>slice</th>
+ <th>deployment</th>
+ <th>tenant_id</th>
+ </tr></thead>
+ <tbody></tbody>
+ </table>
+</script>
+
+<script type="text/template" id="test-sliceDeployment-listitem-template">
+ <td class="objectLink"><%= id %></td>
+ <td><%= idToName(slice,"slices","name") %></td>
+ <td><%= idToName(deployment,"deployments","name") %></td>
+ <td><%= tenant_id %></td>
+</script>
+
+<script type="text/template" id="test-sliceDeployment-detail-template">
+ <h3>Detail View: Slice Deployment</h3>
+ <form>\r
+ <table>\r
+ <tr><td>Slice:</td><td><input type="text" name="slice" value="<%= slice %>"></td></tr>\r
+ <tr><td>Deployment:</td><td><input type="text" name="deployment" value="<%= deployment %>"></td></tr>\r
+ <tr><td>Tenant Id:</td><td><input type="text" name="tenant_id" value="<%= tenant_id %>"></td></tr>\r
+ <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>\r
+ </table>\r
+ </form>\r
+</script>
+
+<!-- SlicePrivilege -->
+
+<script type="text/template" id="test-slicePrivilege-list-template">
+ <h3><%= title %></h3>
+ <table class="test-table">
+ <thead><tr>
+ <th>id</th>
+ <th>user</th>
+ <th>slice</th>
+ <th>role</th>
+ </tr></thead>
+ <tbody></tbody>
+ </table>
+</script>
+
+<script type="text/template" id="test-slicePrivilege-listitem-template">
+ <td class="objectLink"><%= id %></td>
+ <td><%= idToName(user,"users","username") %></td>
+ <td><%= idToName(slice,"slices","name") %></td>
+ <td><%= idToName(role,"sliceRoles","role") %></td>
+</script>
+
+<script type="text/template" id="test-slicePrivilege-detail-template">
+ <h3>Detail View: Slice Privilege</h3>
+ <form>\r
+ <table>\r
+ <tr><td>User:</td><td><input type="text" name="user" value="<%= user %>"></td></tr>\r
+ <tr><td>Slice:</td><td><input type="text" name="slice" value="<%= slice %>"></td></tr>\r
+ <tr><td>Role:</td><td><input type="text" name="role" value="<%= role %>"></td></tr>\r
+ <tr><td colspan=2><button class="btn js-submit">Save</button></td></tr>\r
+ </table>\r
+ </form>\r
+</script>
+