activate scene, only visual

parent 8f3ae2c9
......@@ -322,8 +322,8 @@
<div class="col-xs-2">
<div class="text-center">
<h4>{{ viewingScene.name }}<h4>
<a style="text-decoration:none" popover="Escena ya activada" popover-trigger="mouseenter"><span class="label label-success" ng-if="viewingScene.active"><i class="fa fa-star" aria-hidden="true"></i> Escena activa</span></a>
<a style="text-decoration:none" popover="Activar escena" popover-trigger="mouseenter"><span class="label label-default" ng-if="!viewingScene.active" ng-click="update_scene(viewingScene)"><i class="fa fa-star-o" aria-hidden="true"></i> Escena inactiva</span></a>
<a style="text-decoration:none" popover="Escena ya activada" popover-trigger="mouseenter" ng-if="viewingScene.active"><span class="label label-success"><i class="fa fa-star" aria-hidden="true"></i> Escena activa</span></a>
<a style="text-decoration:none" popover="Activar escena" popover-trigger="mouseenter" ng-if="!viewingScene.active" ng-click="viewingScene.active=true;update_scene(viewingScene)"><span class="label label-default"><i class="fa fa-star-o" aria-hidden="true"></i> Escena inactiva</span></a>
</div>
<hr>
......@@ -347,7 +347,7 @@
</ul>
</div>
<button type="button" class="btn btn-primary"><i class="fa fa-files-o" aria-hidden="true"></i></button>
<button type="button" class="btn btn-danger"><i class="fa fa-trash" aria-hidden="true"></i></button>
<button type="button" class="btn btn-danger" ng-click="delete_scene(viewingScene.id)"><i class="fa fa-trash" aria-hidden="true"></i></button>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment