12345678910111213141516171819202122232425262728293031323334 |
- <body>
-
- <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation" ng-controller="NavBarController">
- <div class="container">
-
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" ui-sref="home">Administration</a>
- </div>
-
- <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
- <ul class="nav navbar-nav navbar-left">
- <li><a href="/luticate" ng-show="canSeeLuticate()">Luticate</a></li>
- <li><a ui-sref="hosts" lu-show-permission="CAMOTION_HOST_GET">Hosts</a></li>
- <li><a ui-sref="cameras" lu-show-permission="CAMOTION_CAMERA_GET,CAMOTION_HOST_GET">Cameras</a></li>
- <li><a ui-sref="sensors" lu-show-permission="CAMOTION_SENSOR_GET,CAMOTION_HOST_GET">Sensors</a></li>
- <li><a ui-sref="commands" lu-show-permission="CAMOTION_COMMAND_GET,CAMOTION_HOST_GET">Commands</a></li>
- </ul>
- <ul class="nav navbar-nav navbar-right">
- <ul class="nav navbar-nav navbar-right">
- <li ng-show="isLogged()"><a ui-sref="home">{{ getUsername() }}</a></li>
- <li ng-show="isLogged()"><a href="" ng-click="logout()">Logout</a></li>
- </ul>
- </ul>
- </div>
-
- </div>
-
- </nav>
|