Set class="active" for active state in header
This commit is contained in:
parent
7ef16014c8
commit
f48ef4b81f
|
@ -13,13 +13,13 @@
|
||||||
|
|
||||||
<div class="collapse navbar-collapse" id="mainNav">
|
<div class="collapse navbar-collapse" id="mainNav">
|
||||||
<ul class="nav navbar-nav navbar-right">
|
<ul class="nav navbar-nav navbar-right">
|
||||||
<li><a ui-sref="monitor.list">Monitors</a></li>
|
<li ui-sref-active="active"><a ui-sref="monitor.list">Monitors</a></li>
|
||||||
<li><a ui-sref="events">Events</a></li>
|
<li ui-sref-active="active"><a ui-sref="events">Events</a></li>
|
||||||
<li><a href="?view=timeline">Timeline</a></li>
|
<li ui-sref-active="active"><a href="?view=timeline">Timeline</a></li>
|
||||||
<li><a ui-sref="options.system">Options</a></li>
|
<li ui-sref-active="active"><a ui-sref="options.system">Options</a></li>
|
||||||
<li><a href="?view=log">Logs</span></a></li>
|
<li ui-sref-active="active"><a href="?view=log">Logs</span></a></li>
|
||||||
<li><a href="?view=devices">Devices</a></li>
|
<li ui-sref-active="active"><a href="?view=devices">Devices</a></li>
|
||||||
<li><a href="?view=host">Host</a></li>
|
<li ui-sref-active="active"><a href="?view=host">Host</a></li>
|
||||||
<li>
|
<li>
|
||||||
<button type="button" class="btn navbar-btn" ng-class="isRunning ? 'btn-success' : 'btn-danger'" data-toggle="modal" data-target="#myModal">
|
<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>
|
<span class="glyphicon glyphicon-off"></span>
|
||||||
|
|
Loading…
Reference in New Issue