noteBtn.html 1.0 KB

123456789101112131415161718192021222324252627
  1. <div class="btn-group-vertical note-btn-group" dropdown is-open="isopen">
  2. <button type="button"
  3. class="btn btn-default note-btn"
  4. title="{{ 'note' | lang:'ui' }}"
  5. ng-class="{'active': isopen}"
  6. ng-click="addNote()"
  7. ng-disabled="minder.queryCommandState('note') === -1"></button>
  8. <button type="button"
  9. class="btn btn-default note-btn-caption dropdown-toggle"
  10. ng-disabled="minder.queryCommandState('note') === -1"
  11. title="{{ 'note' | lang:'ui' }}"
  12. dropdown-toggle>
  13. <span class="caption">{{ 'note' | lang:'ui' }}</span>
  14. <span class="caret"></span>
  15. <span class="sr-only">{{ 'note' | lang:'ui' }}</span>
  16. </button>
  17. <ul class="dropdown-menu" role="menu">
  18. <li>
  19. <a href
  20. ng-click="addNote()">{{ 'insertnote' | lang:'ui' }}</a>
  21. </li>
  22. <li>
  23. <a href
  24. ng-click="minder.execCommand('note', null)">{{ 'removenote' | lang:'ui' }}</a>
  25. </li>
  26. </ul>
  27. </div>