You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233
  1. <body>
  2. <!-- Navigation -->
  3. <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation" ng-controller="NavBarController">
  4. <div class="container">
  5. <!-- Brand and toggle get grouped for better mobile display -->
  6. <div class="navbar-header">
  7. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  8. <span class="sr-only">Toggle navigation</span>
  9. <span class="icon-bar"></span>
  10. <span class="icon-bar"></span>
  11. <span class="icon-bar"></span>
  12. </button>
  13. <a class="navbar-brand" ui-sref="home">Administration</a>
  14. </div>
  15. <!-- Collect the nav links, forms, and other content for toggling -->
  16. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  17. <ul class="nav navbar-nav navbar-left">
  18. <li><a href="/luticate" ng-show="canSeeLuticate()">Luticate</a></li>
  19. <li><a ui-sref="hosts" lu-show-permission="CAMOTION_HOST_GET">Hosts</a></li>
  20. <li><a ui-sref="cameras" lu-show-permission="CAMOTION_CAMERA_GET,CAMOTION_HOST_GET">Cameras</a></li>
  21. <li><a ui-sref="sensors" lu-show-permission="CAMOTION_SENSOR_GET,CAMOTION_HOST_GET">Sensors</a></li>
  22. </ul>
  23. <ul class="nav navbar-nav navbar-right">
  24. <ul class="nav navbar-nav navbar-right">
  25. <li ng-show="isLogged()"><a ui-sref="home">{{ getUsername() }}</a></li>
  26. <li ng-show="isLogged()"><a href="" ng-click="logout()">Logout</a></li>
  27. </ul>
  28. </ul>
  29. </div>
  30. <!-- /.navbar-collapse -->
  31. </div>
  32. <!-- /.container -->
  33. </nav>