Use btn-group for projector controls. Added reset scaling.

This commit is contained in:
Emanuel Schuetze 2016-02-09 22:47:54 +01:00
parent b1dc73ec4d
commit b4cad89939

View File

@ -22,34 +22,45 @@
title="{{ 'Edit current slide' | translate}}"> title="{{ 'Edit current slide' | translate}}">
<i class="fa fa-pencil"></i> <i class="fa fa-pencil"></i>
</a> </a>
&nbsp;
<a ng-click="controlProjector('scale', 'down')" <!-- scale -->
class="btn btn-default btn-sm" <div class="btn-group">
title="{{ 'Smaller' | translate}}"> <a ng-click="controlProjector('scale', 'down')"
<i class="fa fa-search-minus"></i> class="btn btn-default btn-sm"
</a> title="{{ 'Smaller' | translate}}">
<a ng-click="controlProjector('scale', 'up')" <i class="fa fa-search-minus"></i>
class="btn btn-default btn-sm" </a>
title="{{ 'Bigger' | translate}}"> <a ng-click="controlProjector('scale', 'up')"
<i class="fa fa-search-plus"></i> class="btn btn-default btn-sm"
</a> title="{{ 'Bigger' | translate}}">
<i class="fa fa-search-plus"></i>
</a>
<a ng-click="controlProjector('scale', 'reset')"
class="btn btn-default btn-sm"
title="{{ 'Reset scaling' | translate}}">
<i class="fa fa-undo"></i>
</a>
</div>
<span ng-class="{ 'notNull': scaleLevel != 0 }">{{ scaleLevel }}</span> <span ng-class="{ 'notNull': scaleLevel != 0 }">{{ scaleLevel }}</span>
&nbsp;
<a ng-click="controlProjector('scroll', 'down')" <!-- scroll -->
class="btn btn-default btn-sm" <div class="btn-group">
title="{{ 'Scroll up' | translate}}"> <a ng-click="controlProjector('scroll', 'down')"
<i class="fa fa-arrow-up"></i> class="btn btn-default btn-sm"
</a> title="{{ 'Scroll up' | translate}}">
<a ng-click="controlProjector('scroll', 'up')" <i class="fa fa-arrow-up"></i>
class="btn btn-default btn-sm" </a>
title="{{ 'Scroll down' | translate}}"> <a ng-click="controlProjector('scroll', 'up')"
<i class="fa fa-arrow-down"></i> class="btn btn-default btn-sm"
</a> title="{{ 'Scroll down' | translate}}">
<a ng-click="controlProjector('scroll', 'reset')" <i class="fa fa-arrow-down"></i>
class="btn btn-default btn-sm" </a>
title="{{ 'Reset scrolling' | translate}}"> <a ng-click="controlProjector('scroll', 'reset')"
<i class="fa fa-undo"></i> class="btn btn-default btn-sm"
</a> title="{{ 'Reset scrolling' | translate}}">
<i class="fa fa-undo"></i>
</a>
</div>
<span ng-class="{ 'notNull': scrollLevel != 0 }">{{ scrollLevel }}</span> <span ng-class="{ 'notNull': scrollLevel != 0 }">{{ scrollLevel }}</span>
</div> </div>
</div> </div>