better protected/unprotected note indicator, fixes #110

This commit is contained in:
azivner
2018-06-02 11:47:16 -04:00
parent 31b76b23ce
commit 083cccea28
6 changed files with 28 additions and 18 deletions

View File

@@ -105,15 +105,18 @@
<span id="note-id-display" title="Note ID"></span>
<a title="Protect the note so that password will be required to view the note"
class="icon-action"
id="protect-button"
style="display: none; background: url('images/icons/lock.png')"></a>
<div>
<span style="font-size: smaller">Protected:</span>
<a title="Unprotect note so that password will not be required to access this note in the future"
class="icon-action"
id="unprotect-button"
style="display: none; background: url('images/icons/unlock.png')"></a>
<div class="btn-group btn-group-xs">
<button type="button" class="btn" id="protect-button" title="Protected note can be viewed and edited only after entering password">
<img src="images/icons/shield.png"/>
</button>
<button type="button" class="btn" id="unprotect-button" title="Not protected note can be viewed without entering password">
<img src="images/icons/shield-off.png"/>
</button>
</div>
</div>
&nbsp; &nbsp;