From 5028da39532ff1be0c15d43b9aa2f5733ad7a40a Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sat, 2 Feb 2013 12:06:59 +0000 Subject: [PATCH] Better wording and button colours for password UI --- core/modules/startup.js | 2 +- core/wiki/encryptionstatus.tid | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/modules/startup.js b/core/modules/startup.js index 3ebfbaf91..e1009d7ae 100644 --- a/core/modules/startup.js +++ b/core/modules/startup.js @@ -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) { diff --git a/core/wiki/encryptionstatus.tid b/core/wiki/encryptionstatus.tid index 8b4cf8822..24c30d506 100644 --- a/core/wiki/encryptionstatus.tid +++ b/core/wiki/encryptionstatus.tid @@ -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 message="tw-set-password">Change password +<$button message="tw-clear-password" class="btn btn-mini btn-danger">Clear password +<$button message="tw-set-password" class="btn btn-mini btn-warning">Change password <$reveal type="nomatch" state="$:/isEncrypted" text="yes"> This wiki is not encrypted. -<$button message="tw-set-password">Set password +<$button message="tw-set-password" class="btn btn-mini btn-warning">Set password \ No newline at end of file