[Timer] Updated Timer UI and fixed tests
Added peeking stop button to view, added legacy and first run support, added new and fixed old tests
This commit is contained in:
@@ -22,8 +22,12 @@
|
||||
<div class="l-time-display l-digital l-timer s-timer" ng-controller="TimerController as timer">
|
||||
<div class="l-elem-wrapper l-flex-row">
|
||||
<a ng-click="timer.clickButton()"
|
||||
title="{{timer.buttonText()}}"
|
||||
class="flex-elem s-icon-button {{timer.buttonCssClass()}}"></a>
|
||||
title="{{timer.buttonText()}}"
|
||||
class="flex-elem control s-icon-button {{timer.buttonCssClass()}}"></a>
|
||||
<a ng-click="timer.clickStopButton()"
|
||||
title="{{timer.stopButtonText()}}"
|
||||
class="{{!timer.stopButtonCssClass() || 'flex-elem control s-icon-button'}} {{timer.stopButtonCssClass()}}"></a>
|
||||
<span class="flex-elem l-value {{timer.stateClass()}}"></span>
|
||||
<span class="flex-elem l-value {{timer.signClass()}}">
|
||||
<span class="value"
|
||||
ng-class="{ active:timer.text() }">{{timer.text() || "--:--:--"}}
|
||||
|
||||
Reference in New Issue
Block a user