# HG changeset patch # User Steve Losh # Date 1256166568 14400 # Node ID c5932df8f4a87e0a87978dea684a82325d1da2c5 # Parent 43047ad3e2fa5a78da43a7b89a291a82f6be5f9f Add some sweet web2.0javaajaxgoogles effects. diff -r 43047ad3e2fa -r c5932df8f4a8 review/web_media/comments.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/review/web_media/comments.js Wed Oct 21 19:09:28 2009 -0400 @@ -0,0 +1,11 @@ +$(function() { + + $("form").hide(); + + $("p.comment-activate a").click(function() { + $(event.target).hide(); + $(event.target).closest("div").children("form").fadeIn("fast"); + return false; + }); + +}); \ No newline at end of file diff -r 43047ad3e2fa -r c5932df8f4a8 review/web_media/style.css --- a/review/web_media/style.css Wed Oct 21 18:49:25 2009 -0400 +++ b/review/web_media/style.css Wed Oct 21 19:09:28 2009 -0400 @@ -79,8 +79,11 @@ margin-top: 1.5em; white-space: pre; } -div#comment-review { +div#comment-review form { margin-bottom: 3em; + display: none; +} +div#comment-file form { } /* Diffs. */ diff -r 43047ad3e2fa -r c5932df8f4a8 review/web_templates/base.html --- a/review/web_templates/base.html Wed Oct 21 18:49:25 2009 -0400 +++ b/review/web_templates/base.html Wed Oct 21 19:09:28 2009 -0400 @@ -9,6 +9,7 @@ + diff -r 43047ad3e2fa -r c5932df8f4a8 review/web_templates/review.html --- a/review/web_templates/review.html Wed Oct 21 18:49:25 2009 -0400 +++ b/review/web_templates/review.html Wed Oct 21 19:09:28 2009 -0400 @@ -14,6 +14,7 @@
+

Add a comment on this changeset

@@ -41,6 +42,7 @@
+

Add a comment on this file