front end improvements
This commit is contained in:
parent
da11548b76
commit
fddf4464b8
1 changed files with 2 additions and 4 deletions
|
@ -28,16 +28,14 @@
|
||||||
<h1>Autome</h1>
|
<h1>Autome</h1>
|
||||||
<table class="u-full-width">
|
<table class="u-full-width">
|
||||||
<thead>
|
<thead>
|
||||||
<th>Name</th>
|
<th>RC Switches</th>
|
||||||
<th>Function</th>
|
<th>Function</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="RC in RCs | orderBy:'switch_id'">
|
<tr ng-repeat="RC in RCs | orderBy:'switch_id'">
|
||||||
<td> {{RC.name}} </td>
|
<td> {{RC.name}} </td>
|
||||||
<td>
|
<td>
|
||||||
<form ng-submit="irTest()" style="margin-top:30px;">
|
<button ng-click="irTest(RC)" ng-class="{'true':'button-primary','false':'button'}[RC.state]" type="submit" >Toggle RC</button>
|
||||||
<button type="submit" class="button-primary">Toggle RC</button>
|
|
||||||
</form>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Reference in a new issue