strong-arc
Version:
A visual suite for the StrongLoop API Platform
14 lines (13 loc) • 493 B
HTML
<div>
<ul>
<li ng-repeat="chart in chartData" class="metrics-chart-nav-item">
<span class="chart-name">{{ chart.displayName }}</span>
<ul>
<li ng-repeat="metric in chart.metrics" ng-class="{true:'', false:'is-disabled'}[metric.active]">
<button class="btn-command" ng-click="toggleChartMetric(metric)">{{ metric.name }}</button>
<span style="{{ getChartControlItemColor(metric) }}"> </span>
</li>
</ul>
</li>
</ul>
</div>