From a359d74279322e22cc49f1639dc38dd3f268561f Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sat, 25 Sep 2010 20:08:32 +0200 Subject: toggle tests's result --- public/css/style.css | 2 +- views/layouts/main.tt | 2 +- views/project/index.tt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 0e7ce42..e3a6e97 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -233,5 +233,5 @@ font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",m .commit .name{clear:left;margin-top:.75em;line-height:1.5em} .commit .date{color:#888;line-height:1em;} .commit .builds span {font-size:110%;font-weight: bolder;} -.commit .builds span .PASS {color:red} +.commit .builds span .PASS{color:green} .commit .builds span .FAILED{color:red} diff --git a/views/layouts/main.tt b/views/layouts/main.tt index cf3f0e0..80f6b64 100644 --- a/views/layouts/main.tt +++ b/views/layouts/main.tt @@ -12,7 +12,7 @@ var id = $(this).parents('.commit').attr('id'); console.log("id => " + id); $.getJSON(url, null, function(data) { - $("#result-" + id).html("
" + data.content + "
");
+            $("#result-" + id).html("
" + data.content + "
").toggle();
           });
           return false;
       })})
diff --git a/views/project/index.tt b/views/project/index.tt
index 5ec18dc..c2970d6 100644
--- a/views/project/index.tt
+++ b/views/project/index.tt
@@ -25,7 +25,7 @@
             commit  <: $build.commit :>
-
+ :}
-- cgit v1.2.3