add switch to manually enter/leave protected session, fixes #107

This commit is contained in:
azivner
2018-05-31 20:00:39 -04:00
parent 8bf4633cd0
commit 5dde2752d2
4 changed files with 43 additions and 4 deletions

View File

@@ -23,10 +23,18 @@
style="background: url('/images/icons/forward.png')"></a>
</div>
<div style="flex-grow: 100;">
<div style="flex-grow: 100; display: flex;">
<button class="btn btn-xs" id="jump-to-note-button" title="CTRL+J">Jump to note</button>
<button class="btn btn-xs" id="recent-notes-button" title="CTRL+E">Recent notes</button>
<button class="btn btn-xs" id="recent-changes-button">Recent changes</button>
<div>
<span style="font-size: smaller">Protected session:</span>
<div class="btn-group btn-group-xs">
<button type="button" class="btn" id="protected-session-on">On</button>
<button type="button" class="btn active" id="protected-session-off">Off</button>
</div>
</div>
</div>
<div id="plugin-buttons">