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,7 +22,9 @@
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;
<!-- scale -->
<div class="btn-group">
<a ng-click="controlProjector('scale', 'down')" <a ng-click="controlProjector('scale', 'down')"
class="btn btn-default btn-sm" class="btn btn-default btn-sm"
title="{{ 'Smaller' | translate}}"> title="{{ 'Smaller' | translate}}">
@ -33,8 +35,16 @@
title="{{ 'Bigger' | translate}}"> title="{{ 'Bigger' | translate}}">
<i class="fa fa-search-plus"></i> <i class="fa fa-search-plus"></i>
</a> </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;
<!-- scroll -->
<div class="btn-group">
<a ng-click="controlProjector('scroll', 'down')" <a ng-click="controlProjector('scroll', 'down')"
class="btn btn-default btn-sm" class="btn btn-default btn-sm"
title="{{ 'Scroll up' | translate}}"> title="{{ 'Scroll up' | translate}}">
@ -50,6 +60,7 @@
title="{{ 'Reset scrolling' | translate}}"> title="{{ 'Reset scrolling' | translate}}">
<i class="fa fa-undo"></i> <i class="fa fa-undo"></i>
</a> </a>
</div>
<span ng-class="{ 'notNull': scrollLevel != 0 }">{{ scrollLevel }}</span> <span ng-class="{ 'notNull': scrollLevel != 0 }">{{ scrollLevel }}</span>
</div> </div>
</div> </div>