import/export
This commit is contained in:
@@ -23,11 +23,11 @@
|
||||
%li
|
||||
%a.text{"ng-click" => "ctrl.selectedMenuItem(); ctrl.toggleMarkdown()"} Toggle Markdown Preview
|
||||
.shortcut Cmd + M
|
||||
%li{"ng-if" => "!ctrl.note.presentation"}
|
||||
%li{"ng-if" => "!ctrl.note.isPublic()"}
|
||||
%a.text{"ng-click" => "ctrl.selectedMenuItem(); ctrl.shareNote()"} Share
|
||||
%li{"ng-if" => "ctrl.note.presentation"}
|
||||
%li{"ng-if" => "ctrl.note.isPublic()"}
|
||||
%a.text{"ng-click" => "ctrl.selectedMenuItem(); ctrl.editUrlPressed()"} Edit URL
|
||||
%li{"ng-if" => "ctrl.note.presentation"}
|
||||
%li{"ng-if" => "ctrl.note.isPublic()"}
|
||||
%a.text{"ng-click" => "ctrl.selectedMenuItem(); ctrl.unshareNote()"} Unshare
|
||||
%li
|
||||
%a.text{"ng-click" => "ctrl.deleteNote()"} Delete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.section.notes
|
||||
.content
|
||||
.section-title-bar.notes-title-bar
|
||||
.title {{ctrl.tag.name}} notes
|
||||
.title {{ctrl.tag.content.title}} notes
|
||||
.add-button{"ng-click" => "ctrl.createNewNote()"} +
|
||||
%br
|
||||
.filter-section
|
||||
@@ -14,14 +14,14 @@
|
||||
%span.caret
|
||||
%span.sr-only
|
||||
%ul.dropdown-menu.dropdown-menu-left.nt-dropdown-menu.dark{"ng-if" => "ctrl.showMenu"}
|
||||
%li{"ng-if" => "!ctrl.tag.presentation"}
|
||||
%li{"ng-if" => "!ctrl.tag.isPublic()"}
|
||||
%a.text{"ng-click" => "ctrl.selectedMenuItem(); ctrl.selectedTagShare($event)"} Share Tag
|
||||
%li{"ng-if" => "ctrl.tag.presentation"}
|
||||
%li{"ng-if" => "ctrl.tag.isPublic()"}
|
||||
%a.text{"ng-click" => "ctrl.selectedMenuItem(); ctrl.selectedTagUnshare()"} Unshare Tag
|
||||
%li{"ng-if" => "!ctrl.tag.all"}
|
||||
%a.text{"ng-click" => "ctrl.selectedMenuItem(); ctrl.selectedTagDelete()"} Delete Tag
|
||||
.menu-right-container
|
||||
.public-link{"ng-if" => "ctrl.tag.presentation"}
|
||||
.public-link{"ng-if" => "ctrl.tag.isPublic()"}
|
||||
%a.url{"ng-if" => "!ctrl.editingUrl", "href" => "{{ctrl.tag.presentationURL()}}", "target" => "_blank"}
|
||||
%span.icon-rss.icon
|
||||
{{ctrl.tag.presentationURL()}}
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
{{ctrl.test}}
|
||||
.tag{"ng-if" => "ctrl.allTag", "ng-click" => "ctrl.selectTag(ctrl.allTag)", "ng-class" => "{'selected' : ctrl.selectedTag == ctrl.allTag}",
|
||||
"droppable" => true, "drop" => "ctrl.handleDrop", "tag" => "ctrl.allTag"}
|
||||
%input.title{"ng-disabled" => "true", "ng-model" => "ctrl.allTag.content.name"}
|
||||
%input.title{"ng-disabled" => "true", "ng-model" => "ctrl.allTag.content.title"}
|
||||
.count {{ctrl.noteCount(ctrl.allTag)}}
|
||||
|
||||
.tag{"ng-repeat" => "tag in ctrl.tags", "ng-click" => "ctrl.selectTag(tag)", "ng-class" => "{'selected' : ctrl.selectedTag == tag}",
|
||||
"droppable" => true, "drop" => "ctrl.handleDrop", "tag" => "tag"}
|
||||
.icon.icon-rss{"ng-if" => "tag.presentation"}
|
||||
%input.title{"ng-disabled" => "tag != ctrl.selectedTag", "ng-model" => "tag.content.name",
|
||||
.icon.icon-rss{"ng-if" => "tag.isPublic()"}
|
||||
%input.title{"ng-disabled" => "tag != ctrl.selectedTag", "ng-model" => "tag.content.title",
|
||||
"ng-keyup" => "$event.keyCode == 13 && ctrl.saveTag($event, tag)", "mb-autofocus" => "true", "should-focus" => "ctrl.newTag",
|
||||
"ng-change" => "ctrl.tagTitleDidChange(tag)", "ng-focus" => "ctrl.onTagTitleFocus(tag)"}
|
||||
.count {{ctrl.noteCount(tag)}}
|
||||
|
||||
Reference in New Issue
Block a user