Switch chart button to an icon

This commit is contained in:
Joseph Schorr 2013-12-02 16:44:50 -05:00
parent 32efd9d635
commit 71f196e9c2
2 changed files with 16 additions and 4 deletions

View file

@ -6,10 +6,8 @@
<div class="container header">
<b>Usage logs for the last seven days</b>
<span class="right">
<button class="btn btn-default btn-toggle" ng-class="chartVisible ? 'active' : ''" ng-click="toggleChart()">
Show Chart
<i class="fa" ng-class="chartVisible ? 'fa-toggle-down' : 'fa-toggle-right'" style="margin-left: 10px"></i>
</button>
<i class="fa fa-bar-chart-o toggle-icon" ng-class="chartVisible ? 'active' : ''"
ng-click="toggleChart()" title="Toggle Chart" bs-tooltip="tooltip.title"></i>
</span>
</div>