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.

sidebar.html 1.4KB

1234567891011121314151617181920212223242526272829
  1. <md-sidenav class="md-sidenav-left md-whiteframe-z2 md-sidebar" md-component-id="left" md-is-locked-open="$mdMedia('gt-md')">
  2. <md-toolbar class="md-theme-indigo">
  3. <h1 class="md-toolbar-tools">Chronos</h1>
  4. </md-toolbar>
  5. <md-content layout-padding ng-controller="SideBarController">
  6. <!--<md-button ng-click="close()" class="md-primary" hide-gt-md>
  7. Close Sidenav Left
  8. </md-button>
  9. <p hide-md show-gt-md>
  10. This sidenav is locked open on your device. To go back to the default behavior,
  11. narrow your display.
  12. </p>-->
  13. <ul class="col-sm-12" lu-busy="sidebar">
  14. <li ng-show="DataShareBusiness.CurrentGroups.length != 0" class="col-xs-12">
  15. <md-button class="md-primary md-hue-1 md-group-button col-xs-12"
  16. ng-href="{{DataShareBusiness.getGroupUrl(DataShareBusiness.getCurrentGroup().Parent)}}">
  17. ..
  18. </md-button>
  19. </li>
  20. <li ng-repeat="group in getCurrentGroups()" class="col-xs-12">
  21. <md-button class="md-primary md-hue-1 md-group-button col-xs-12"
  22. ng-class="{'md-focused': DataShareBusiness.getCurrentGroup().Id == group.Id}"
  23. ng-href="{{DataShareBusiness.getGroupUrl(group)}}">
  24. {{ group.Name }}
  25. </md-button>
  26. </li>
  27. </ul>
  28. </md-content>
  29. </md-sidenav>