From: David ‘Bombe’ Roden Date: Thu, 21 Oct 2010 11:07:38 +0000 (+0200) Subject: Put Sone loading into its own include file. X-Git-Tag: 0.1-RC1~123 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a591b90dd311bf642e286a5b7b2d9402d3e495aa;p=Sone.git Put Sone loading into its own include file. --- diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index bdb95f4..8f26721 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -162,7 +162,9 @@ View.Post.Reply.DeleteLink=Delete WebInterface.DefaultText.StatusUpdate=What’s on your mind? WebInterface.DefaultText.CreateSoneName=The name of your Sone WebInterface.DefaultText.CreateSoneDocumentName=The document name of your Sone (e.g. the “foo” in USK@…/foo/0) -WebInterface.DefaultText.CreateSoneInsertURI=The Insert Key of your Sone WebInterface.DefaultText.CreateSoneRequestURI=The Request Key of your Sone +WebInterface.DefaultText.CreateSoneInsertURI=The Insert Key of your Sone +WebInterface.DefaultText.LoadSoneRequestURI=The Request Key of the Sone +WebInterface.DefaultText.LoadSoneInsertURI=The Insert Key of the Sone WebInterface.DefaultText.Reply=Write a Reply… WebInterface.DefaultText.SoneRequestURI=Sone Request Key diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 3d0ac5c..1d426ed 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -320,11 +320,7 @@ textarea { border-top: none; } -#sone #add-sone textarea { - height: 1.5em; -} - -#sone #create-sone textarea { +#sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea { height: 1.5em; } diff --git a/src/main/resources/templates/include/loadSone.html b/src/main/resources/templates/include/loadSone.html new file mode 100644 index 0000000..b90475a --- /dev/null +++ b/src/main/resources/templates/include/loadSone.html @@ -0,0 +1,25 @@ + + +
+ + +
+ + +
+
+ + +
+
+ +
+
diff --git a/src/main/resources/templates/login.html b/src/main/resources/templates/login.html index f44cbf2..ff858be 100644 --- a/src/main/resources/templates/login.html +++ b/src/main/resources/templates/login.html @@ -13,23 +13,10 @@ <%/if> +

<%= Page.Login.LoadSone.Title|l10n|html>

<%= Page.Login.LoadSone.Description|l10n|html>
-
- - -
- - -
-
- - -
-
- -
-
+ <%include include/loadSone.html>

<%= Page.Login.CreateSone.Title|l10n|html>

<%= Page.Login.CreateSone.Description|l10n|html>