48 lines
No EOL
1.5 KiB
HTML
48 lines
No EOL
1.5 KiB
HTML
<md-content flex>
|
|
<md-toolbar class="md-table-toolbar md-default" ng-show="!selected.length">
|
|
<div class="md-toolbar-tools">
|
|
<span>Pool Config</span>
|
|
<span flex></span>
|
|
<!-- <md-button class="md-icon-button" ng-click="loadStuff()">
|
|
<md-icon>add</md-icon>
|
|
</md-button> -->
|
|
|
|
</div>
|
|
</md-toolbar>
|
|
|
|
<md-toolbar class="md-table-toolbar alternate" ng-show="selected.length">
|
|
<div class="md-toolbar-tools">
|
|
<span>{{selected.length}} {{selected.length > 1 ? 'items' : 'item'}} selected</span>
|
|
<span flex></span>
|
|
|
|
</div>
|
|
</md-toolbar>
|
|
<md-table-container>
|
|
<table md-table data-ng-model="selected" md-progress="promise" md-row-select>
|
|
<thead md-head>
|
|
<tr md-row>
|
|
<th></th>
|
|
<th md-column><h2 class="md-subhead">ID</h2></th>
|
|
<th md-column><h2 class="md-subhead">Item</h2></th>
|
|
<th md-column><h2 class="md-subhead">Value</h2></th>
|
|
<th md-column><h2 class="md-subhead">Type</h2></th>
|
|
<th md-column><h2 class="md-subhead">Module</h2></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody md-body>
|
|
<tr md-row ng-repeat="config in pool_configs">
|
|
<td md-cell>
|
|
<md-button class="md-icon-button" ng-click="editConfig($event, config)">
|
|
<md-icon>mode_edit</md-icon>
|
|
</md-button>
|
|
</td>
|
|
<td md-cell>{{config.id}}</td>
|
|
<td md-cell>{{config.item}}</td>
|
|
<td md-cell>{{config.value}}</td>
|
|
<td md-cell>{{config.type}}</td>
|
|
<td md-cell>{{config.module}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</md-table-container>
|
|
</md-content> |