Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

sidebar.html 1.3KB

12345678910111213141516171819202122232425262728
  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">Groupes</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">
  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()">
  21. <md-button class="md-primary md-hue-1 md-group-button col-xs-12"
  22. ng-href="{{DataShareBusiness.getGroupUrl(group)}}">
  23. {{ group.Name }}
  24. </md-button>
  25. </li>
  26. </ul>
  27. </md-content>
  28. </md-sidenav>