Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(cart): icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Stern committed Mar 19, 2015
1 parent daa9d04 commit 584fe14
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/scripts/cart/templates/cart.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ <h3 class="panel-title pull-left" data-translate>Cart Items</h3>
<thead>
<tr>
<th scope="col">
<button data-ng-if="cc.all()" type="button" class="btn btn-default" data-ng-click="cc.deselectAll()">
<i class="fa fa-check-circle-o"></i>
<button data-ng-if="cc.all()" type="button" class="btn btn-success" data-ng-click="cc.deselectAll()">
<i class="fa fa-check-circle"></i>
</button>
<button data-ng-if="!cc.all()" type="button" class="btn btn-default" data-ng-click="cc.selectAll()">
<button data-ng-if="!cc.all()" type="button" class="btn btn-primary" data-ng-click="cc.selectAll()">
<i class="fa fa-circle-o"></i>
</button>
</th>
Expand All @@ -117,10 +117,11 @@ <h3 class="panel-title pull-left" data-translate>Cart Items</h3>
<tbody>
<tr data-ng-repeat="file in cc.displayedFiles track by $index | orderBy:date_added_to_cart">
<td>
<button type="button" class="btn btn-default"
<button type="button" class="btn"
data-ng-class="file.selected ? 'btn-success' : 'btn-default'"
data-ng-click="file.selected = !file.selected">
<i class="fa"
data-ng-class="file.selected ? 'fa-check' : 'fa-circle-o'"></i>
data-ng-class="file.selected ? 'fa-check-circle' : 'fa-circle-o'"></i>
</button>

</td>
Expand Down

0 comments on commit 584fe14

Please sign in to comment.