From: David ‘Bombe’ Roden Date: Tue, 19 Oct 2010 20:01:34 +0000 (+0200) Subject: Show keys on “edit profile” page. X-Git-Tag: 0.1-RC1~178 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=062ea263021e1b9d0cab581af87ebb7ac9947910 Show keys on “edit profile” page. --- diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index a6d106f..4012134 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -77,6 +77,12 @@ Page.EditProfile.Label.MiddleName=Middle name(s): Page.EditProfile.Label.LastName=Last name: Page.EditProfile.Page.Status.Changed=Your changes have been saved and will be inserted shortly. Page.EditProfile.Button.Save=Save Profile +Page.EditProfile.Keys.Title=Sone Keys +Page.EditProfile.Keys.Description.RequestKey=These keys define your Sone. The request key can be (and even should be) distributed to as many people as possible. When they add this key to their Sone it will enable them to read your posts, too. +Page.EditProfile.Keys.Description.InsertKey=The insert key you have to keep to yourself. Don’t give this out, under no circumstances, to nobody! You need this key to insert your Sone into Freenet. +Page.EditProfile.Keys.Description.Summary=So these two keys are essentially your Sone. Entering these two keys in the “create Sone” form also enables you to re-create your Sone at any later time. +Page.EditProfile.Label.RequestKey=Request key: +Page.EditProfile.Label.InsertKey=Insert key; Page.EditProfile.Backup.Title=Backup Page.EditProfile.Backup.Description=Various unforeseen events can make it necessary to install a clean version of Sone. With a profile backup you can restore your Sone at a later point from any installation of Sone and by downloading all your posts and replies from Freenet again. Page.EditProfile.Backup.Button.DownloadBackup=Download Backup diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index ab45d45..ea2e782 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -254,3 +254,8 @@ #sone input.status-input.default, input.reply-input.default { color: #888; } + +#sone input[type=text].key { + width: 130ex;; + font-size: 75%; +} diff --git a/src/main/resources/templates/editProfile.html b/src/main/resources/templates/editProfile.html index af92665..1408e62 100644 --- a/src/main/resources/templates/editProfile.html +++ b/src/main/resources/templates/editProfile.html @@ -32,7 +32,22 @@ - + +

<%= Page.EditProfile.Keys.Title|l10n|html>

+ +
<%= Page.EditProfile.Keys.Description.RequestKey|l10n|html>
+
<%= Page.EditProfile.Keys.Description.InsertKey|l10n|html>
+
<%= Page.EditProfile.Keys.Description.Summary|l10n|html>
+ +
+ + +
+
+ + +
+

<%= Page.EditProfile.Backup.Title|l10n|html>

<%= Page.EditProfile.Backup.Description|l10n|html>