This commit is contained in:
Gwenhael Le Moine 2014-10-01 15:11:52 +02:00
parent 06532026a9
commit 8059899823

View file

@ -1,17 +1,16 @@
<div layout="vertical">
<div layout="vertical" layout-padding>
<div class="date">
<h2>
From {{from_date | date:'longDate'}} <span data-ng-if="to_date">to {{to_date | date:'longDate'}}</span>
</h2>
<div layout="horizontal" layout-align="end">
<material-button class="material-button-raised material-button-colored" data-ng-click="reset_offset()">Now</material-button>
<material-button class="material-button-fab"
data-ng-click="before()"
<div layout="horizontal" layout-align="end" layout-padding>
<material-button data-ng-click="reset_offset()"
data-ng-class="{'disabled': period_offset == dates_salaries.length - 1}">Now</material-button>
<material-button data-ng-click="before()"
data-ng-class="{'disabled': period_offset == 0}">prev</span></material-button>
<material-button class="material-button-fab"
data-ng-click="after()"
<material-button data-ng-click="after()"
data-ng-class="{'disabled': period_offset == dates_salaries.length - 1}">next</material-button>
</div>
<h2 class="balance" data-ng-class="{'negative': balance.buckets[1].total - balance.buckets[0].total < 0, 'positive': balance.buckets[1].total - balance.buckets[0].total > 0}">