@ -19,23 +19,24 @@
< div class = "note-menu" >
< nm -button v-on :click.native ="close" icon = "close" / >
< nm -button tip= "Close" bottom -tip = " true " v-on :click.native ="close" icon = "close" / >
< nm -button v-on :click.native ="toggleList('ol')" icon = "list ol" / >
< nm -button tip= "Numbered List" bottom -tip = " true " v-on :click.native ="toggleList('ol')" icon = "list ol" / >
< nm -button v-on :click.native ="toggleList('ul')" icon = "tasks" / >
< nm -button tip= "Task List" bottom -tip = " true " v-on :click.native ="toggleList('ul')" icon = "tasks" / >
< nm -button v-on :click.native ="toggleBold()" icon = "bold" / >
< nm -button tip= "Bold" bottom -tip = " true " v-on :click.native ="toggleBold()" icon = "bold" / >
< nm -button v-on :click.native ="toggleItalic()" icon = "quote left" / >
< nm -button tip= "Quote" bottom -tip = " true " v-on :click.native ="toggleItalic()" icon = "quote left" / >
< nm -button v-on :click.native ="modifyFont('1.4em')" icon = "text height" / >
< nm -button tip= "Title" bottom -tip = " true " v-on :click.native ="modifyFont('1.4em')" icon = "text height" / >
< nm -button v-on :click.native ="undoCustom()" icon = "undo " / >
< nm -button tip= "Indent" bottom -tip = " true " v -on :click.native ="editor.increaseQuoteLevel()" icon = "indent " / >
< nm -button v -if = " usersOnNote > 1 " icon=" green user circle " / >
< nm -button tip = "Outdent" bottom -tip = " true " v -on :click.native ="editor.decreaseQuoteLevel()" icon = "outdent" / >
< nm -button tip = "Users on Note" bottom -tip = " true " v -if = " usersOnNote > 1 " icon=" green user circle " / >
< nm -button icon = "ellipsis horizontal" v -on : click.native = " showNoteOptions = ! showNoteOptions " / >
< / div >
<!-- Squire box grows -- >
@ -92,25 +93,52 @@
<!-- bottom stats -- >
< div class = "ui basic segment" >
< div class = "ui grid" >
< div class = "sixteen wide column" >
< div class = "ui grid reduced-padding" >
< div class = "four wide column" >
<!-- Tags -- >
< button class = "ui compact basic fluid button shrinking" v -on : click = "showTagSlideMenu = !showTagSlideMenu; modified = true" >
< i class = "tags icon" > < / i > Tags
< / button >
< / div >
< div class = "four wide column" >
<!-- Archive Button -- >
< button class = "ui compact basic fluid button shrinking" v -on :click ="onToggleArchived" >
< span v-if ="archived == 1"><i class="green archive icon" > < / i > Archived < / span >
< span v-if ="archived != 1"><i class="archive icon" > < / i > Archive < / span >
< / button >
< / div >
< div class = "four wide column" > <!-- Pin button -- >
< button class = "ui compact basic fluid button shrinking" v -on :click ="onTogglePinned" >
< span v-if ="pinned == 1"><i class="green pin icon" > < / i > Pinned < / span >
< span v-if ="pinned != 1"><i class="pin icon" > < / i > Pin < / span >
< / button > < / div >
< div class = "four wide column" >
<!-- files button -- >
< button class = "ui compact basic fluid button shrinking" v -on :click ="openEditAttachment" >
< i class = "folder icon" > < / i > Files
< / button >
< / div >
<!-- < div class = "sixteen wide column" > < / div > -- >
< div class = "eight wide column" >
< div class = "ui basic button" v-if ="!isEncrypted" v-on:click="passwordEnterVisible = true" >
< button class = "ui basic compact button shrinking" v-if ="!isEncrypted" v-on:click="passwordEnterVisible = true" >
< i class = "shield alternate icon" > < / i >
Password Protect
< / div >
< div class = "ui icon basic button" v-if ="isEncrypted && isDecrypted" v-on :click ="disableEncryption" >
< / button >
< button class = "ui icon basic compact button shrinking " v-if ="isEncrypted && isDecrypted" v-on :click ="disableEncryption" >
< i class = "unlock icon" > < / i >
Remove Password
< / div >
< div class = "ui basic compact button" >
Status : { { statusText } }
< / div >
< div class = "ui basic compact button" : data -tooltip = " ` Created : $ { $ helpers.timeAgo ( created ) } ` " >
Last Change : { { $helpers . timeAgo ( updated ) } }
< / div >
< / button >
< / div >
< div class = "seven wide right aligned middle aligned column" >
< span : data -tooltip = " ` Created : $ { $ helpers.timeAgo ( created ) } ` " >
Edited : { { $helpers . timeAgo ( updated ) } }
< / span >
< / div >
< div class = "one wide column" > < / div >
< / div >
< / div >
@ -126,31 +154,13 @@
< div class = "all-settings" : class = "{ 'low-settings':!extraToolbarsVisible }" >
< div class = "note-menu shrink-icons-on-mobile" >
<!-- Pin Button -- >
< nm -button
v - on : click . native = "onToggleArchived"
: icon = "(archived == 1)?'green archive':'archive'"
: text = "(archived == 1)?'Archived':'Archive'"
tip = "Show in archive"
: showText = "true"
> < / n m - b u t t o n >
<!-- archive button -- >
< nm -button
v - on : click . native = "onTogglePinned"
: icon = "(pinned == 1)?'green pin':'pin'"
: text = "(pinned == 1)?'Pinned':'Pin'"
tip = "Pin to top of list"
: showText = "true"
> < / n m - b u t t o n >
<!-- colors button -- >
< nm -button
v - on : click . native = "showColorPicker"
icon = "paint brush"
text = "Color s "
tip = " Colors "
text = "Color"
tip = "Note Color"
> < / n m - b u t t o n >
<!-- add images panel -- >
@ -161,27 +171,18 @@
tip = "Images"
> < / n m - b u t t o n >
<!-- Tags -- >
< nm -button
v - on : click . native = "showTagSlideMenu = !showTagSlideMenu; modified = true"
icon = "tags"
text = "Tags"
tip = "Tags"
> < / n m - b u t t o n >
<!-- file upload button -- >
< file -upload -button
class = "nm-button"
: noteId = "noteid" / >
<!-- files button -- >
< nm -button
v - on : click . native = "openEditAttachment"
icon = "folder"
text = "Files"
tip = "Files on Note"
: showText = "true"
> < / n m - b u t t o n >
< nm -button v -on :click.native ="undoCustom()" icon = "undo" tip = "Undo" text = "Undo" / >
< nm -button
icon = "ellipsis horizontal"
text = "Options"
tip = "More Options"
v - on : click . native = "showNoteOptions = !showNoteOptions" / >
< / div >
< / div >
@ -238,12 +239,6 @@
Uncheck all Checked items
< / div >
< / div >
< div class = "eight wide column" >
< div class = "ui labeled icon fluid basic button" v -on :click ="undoCustom" >
< i class = "undo icon" > < / i >
Undo last change
< / div >
< / div >
< div class = "eight wide column" >
< div class = "ui labeled icon fluid basic button" v -on :click ="calculateMath" data -tooltip = " Calculates algebra before ' = ' " >
< i class = "calculator icon" > < / i >
@ -251,6 +246,7 @@
< / div >
< / div >
< div class = "sixteen wide column" v-if ="rawTextId > 0" >
< h2 > Share Note < / h2 >
< share -note -component
: note - id = "noteid"
: raw - text - id = "rawTextId"
@ -274,7 +270,7 @@
< h2 > < i class = "green lock alternate icon" > < / i > Password protect this Note < / h2 >
< p > Password protection will prevent anyone from reading the text of this note , unless they enter the correct password . < / p >
< p > < b > Only the note text is protected . Title , tags , and files are not encrypted and remain visible without a password . < / b > < / p >
< p > The password you select will only be used for this note . You can use the same password on multiple notes . The note will be encrypted using the password entered . A longer password is will be more secure . < / p >
< p > The password you select will only be used for this note . You can use the same password on multiple notes . The note will be encrypted using the password entered . A longer password will be more secure . < / p >
< h4 > < i class = "red icon exclamation triangle" > < / i > Warning . There is no way to recover a lost password . < / h4 >
< / div >