Set class="active" for active state in header

This commit is contained in:
Kyle Johnson 2015-02-26 13:05:10 -05:00
parent 7ef16014c8
commit f48ef4b81f
1 changed files with 7 additions and 7 deletions

View File

@ -13,13 +13,13 @@
<div class="collapse navbar-collapse" id="mainNav">
<ul class="nav navbar-nav navbar-right">
<li><a ui-sref="monitor.list">Monitors</a></li>
<li><a ui-sref="events">Events</a></li>
<li><a href="?view=timeline">Timeline</a></li>
<li><a ui-sref="options.system">Options</a></li>
<li><a href="?view=log">Logs</span></a></li>
<li><a href="?view=devices">Devices</a></li>
<li><a href="?view=host">Host</a></li>
<li ui-sref-active="active"><a ui-sref="monitor.list">Monitors</a></li>
<li ui-sref-active="active"><a ui-sref="events">Events</a></li>
<li ui-sref-active="active"><a href="?view=timeline">Timeline</a></li>
<li ui-sref-active="active"><a ui-sref="options.system">Options</a></li>
<li ui-sref-active="active"><a href="?view=log">Logs</span></a></li>
<li ui-sref-active="active"><a href="?view=devices">Devices</a></li>
<li ui-sref-active="active"><a href="?view=host">Host</a></li>
<li>
<button type="button" class="btn navbar-btn" ng-class="isRunning ? 'btn-success' : 'btn-danger'" data-toggle="modal" data-target="#myModal">
<span class="glyphicon glyphicon-off"></span>