navigator.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <div class="nav-bar">
  2. <div class="nav-btn zoom-in"
  3. ng-click="minder.execCommand('zoomIn')"
  4. title="{{ 'zoom-in' | lang : 'ui' }}"
  5. ng-class="{ 'active' : getZoomRadio(zoom) == 0 }">
  6. <div class="icon"></div>
  7. </div>
  8. <div class="zoom-pan">
  9. <div class="origin"
  10. ng-style="{'transform': 'translate(0, ' + getHeight(100) + 'px)'}"
  11. ng-click="minder.execCommand('zoom', 100);"></div>
  12. <div class="indicator"
  13. ng-style="{
  14. 'transform': 'translate(0, ' + getHeight(zoom) + 'px)',
  15. 'transition': 'transform 200ms'
  16. }"></div>
  17. </div>
  18. <div class="nav-btn zoom-out"
  19. ng-click="minder.execCommand('zoomOut')"
  20. title="{{ 'zoom-out' | lang : 'ui' }}"
  21. ng-class="{ 'active' : getZoomRadio(zoom) == 1 }">
  22. <div class="icon"></div>
  23. </div>
  24. <div class="nav-btn hand"
  25. ng-click="minder.execCommand('hand')"
  26. title="{{ 'hand' | lang : 'ui' }}"
  27. ng-class="{ 'active' : minder.queryCommandState('hand') == 1 }">
  28. <div class="icon"></div>
  29. </div>
  30. <div class="nav-btn camera"
  31. ng-click="minder.execCommand('camera', minder.getRoot(), 600);"
  32. title="{{ 'camera' | lang : 'ui' }}">
  33. <div class="icon"></div>
  34. </div>
  35. <div class="nav-btn nav-trigger"
  36. ng-class="{'active' : isNavOpen}"
  37. ng-click="toggleNavOpen()"
  38. title="{{ 'navigator' | lang : 'ui' }}">
  39. <div class="icon"></div>
  40. </div>
  41. </div>
  42. <div class="nav-previewer" ng-show="isNavOpen"></div>