mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Better wording and button colours for password UI
This commit is contained in:
parent
47b42ac149
commit
5028da3953
@ -85,7 +85,7 @@ exports.startup = function() {
|
||||
// Install the crypto event handler
|
||||
document.addEventListener("tw-set-password",function(event) {
|
||||
$tw.passwordPrompt.createPrompt({
|
||||
serviceName: "Set new password for this TiddlyWiki",
|
||||
serviceName: "Set a new password for this TiddlyWiki",
|
||||
noUserName: true,
|
||||
submitText: "Set password",
|
||||
callback: function(data) {
|
||||
|
@ -2,10 +2,10 @@ title: $:/snippets/encryptionstatus
|
||||
|
||||
<$reveal type="match" state="$:/isEncrypted" text="yes">
|
||||
This wiki is encrypted.
|
||||
<$button message="tw-clear-password">Clear password</$button>
|
||||
<$button message="tw-set-password">Change password</$button>
|
||||
<$button message="tw-clear-password" class="btn btn-mini btn-danger">Clear password</$button>
|
||||
<$button message="tw-set-password" class="btn btn-mini btn-warning">Change password</$button>
|
||||
</$reveal>
|
||||
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
|
||||
This wiki is not encrypted.
|
||||
<$button message="tw-set-password">Set password</$button>
|
||||
<$button message="tw-set-password" class="btn btn-mini btn-warning">Set password</$button>
|
||||
</$reveal>
|
Loading…
Reference in New Issue
Block a user