Skip to content

Commit 3f69e70

Browse files
committed
initial UI work for policies
1 parent 348f0c9 commit 3f69e70

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/pico-engine/public/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,15 +241,17 @@ <h2>Children</h2>
241241
<script id="channels-template" type="text/x-handlebars-template">
242242
Channels
243243
<table class="channel-table">
244-
<tr><th>id</th><th>name</th><th>type</th><th>&nbsp;</th></tr>
244+
<tr><th>id</th><th>&nbsp;</th><th>name</th><th>type</th><th>policy</th></tr>
245245
{{#each channel}}
246246
<tr>
247-
<td>{{id}}</td><td>{{name}}</td><td>{{type}}</td>
247+
<td>{{id}}</td>
248248
<td>
249249
{{#if canDel}}
250250
<a class="js-ajax-link" href="/api/pico/{{../id}}/rm-channel/{{id}}">del</a>
251251
{{/if}}
252252
</td>
253+
<td>{{name}}</td><td>{{type}}</td>
254+
<td>{{policy_id}}</td>
253255
</tr>
254256
{{/each}}
255257
</table>

0 commit comments

Comments
 (0)