From aa5b592e1ced0ca496918699742fa0660b9297d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 18 Oct 2010 08:52:12 +0200 Subject: [PATCH] Make reply input fields have a default text. --- src/main/resources/static/css/sone.css | 2 +- src/main/resources/templates/include/viewPost.html | 2 +- src/main/resources/templates/index.html | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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…"); }); -- 2.7.4