From: David ‘Bombe’ Roden Date: Mon, 18 Oct 2010 06:52:12 +0000 (+0200) Subject: Make reply input fields have a default text. X-Git-Tag: 0.1-RC1~254 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=aa5b592e1ced0ca496918699742fa0660b9297d1;p=Sone.git Make reply input fields have a default text. --- diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index a0d5875..0947c72 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -118,6 +118,6 @@ font-weight: bold; } -#sone input.createpost.default { +#sone input.createpost.default, input.create-reply.default { color: #888; } \ No newline at end of file diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 292eddd..00ee653 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -24,7 +24,7 @@
- +
diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 3a5bb70..579281b 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -4,6 +4,7 @@ /* register input field/textarea swap. */ $(document).ready(function() { registerInputTextareaSwap("#sone input.createpost", "What are you doing?"); + registerInputTextareaSwap("#sone input.create-reply", "Write a Reply…"); });