wip interface
This commit is contained in:
parent
2a64795e59
commit
f4fe396b04
6 changed files with 109 additions and 78 deletions
|
|
@ -1,10 +1,10 @@
|
|||
<ul>
|
||||
<li ng-repeat="room in rooms">
|
||||
<li ng-repeat="(rk, room) in rooms">
|
||||
<span ng-if="!room.edit" ng-bind="room.label"></span>
|
||||
<button type="button" class="btn btn-sm btn-primary" ng-click="editRoom()" ng-if="!room.edit">
|
||||
<span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
|
||||
</button>
|
||||
<button type="button" class="btn btn-sm btn-danger" ng-click="delRoom()" ng-if="!room.edit">
|
||||
<button type="button" class="btn btn-sm btn-danger" ng-click="delRoom(rk)" ng-if="!room.edit">
|
||||
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
|
||||
</button>
|
||||
<form ng-if="room.edit" ng-submit="saveRoom()">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue