Switch chart button to an icon
This commit is contained in:
parent
32efd9d635
commit
71f196e9c2
2 changed files with 16 additions and 4 deletions
|
@ -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>
|
||||
|
||||
|
|
Reference in a new issue