mirror of
https://github.com/zadam/trilium.git
synced 2025-03-11 14:33:29 +08:00
hide logout button in electron since it doesn't do anything
This commit is contained in:
parent
bf3f26fde8
commit
19ffa14f10
2 changed files with 6 additions and 4 deletions
|
@ -164,4 +164,6 @@ window.onerror = function (msg, url, lineNo, columnNo, error) {
|
|||
messaging.logError(message);
|
||||
|
||||
return false;
|
||||
};
|
||||
};
|
||||
|
||||
$("#logout-button").toggle(!isElectron());
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<button class="btn btn-xs" onclick="settings.showDialog();">Settings</button>
|
||||
|
||||
<form action="logout" method="POST" style="display: inline;">
|
||||
<form action="logout" id="logout-button" method="POST" style="display: inline;">
|
||||
<input type="submit" class="btn btn-xs" value="Logout">
|
||||
</form>
|
||||
</div>
|
||||
|
@ -172,11 +172,11 @@
|
|||
<div id="protected-session-password-dialog" title="Protected session" style="display: none;">
|
||||
<form id="protected-session-password-form">
|
||||
<div class="form-group">
|
||||
<label for="protected-session-password">To proceed with requested action you need to enter protected session by entering password:</label>
|
||||
<label for="protected-session-password">To proceed with requested action you need to start protected session by entering password:</label>
|
||||
<input id="protected-session-password" class="form-control" type="password">
|
||||
</div>
|
||||
|
||||
<button class="btn btn-sm">Enter protected session <kbd>enter</kbd></button>
|
||||
<button class="btn btn-sm">Start protected session <kbd>enter</kbd></button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue