about summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-09-25 20:08:32 +0200
committerfranck cuny <franck@lumberjaph.net>2010-09-25 20:08:32 +0200
commita359d74279322e22cc49f1639dc38dd3f268561f (patch)
treecc1be48f36646f7d17560688d23c9f0cdc316823
parentmore css cleanup (diff)
downloadjitterbug-a359d74279322e22cc49f1639dc38dd3f268561f.tar.gz
toggle tests's result
-rw-r--r--public/css/style.css2
-rw-r--r--views/layouts/main.tt2
-rw-r--r--views/project/index.tt2
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("<pre>" + data.content + "<pre>");
+            $("#result-" + id).html("<pre>" + data.content + "<pre>").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&nbsp;&nbsp;<a href="<: $build.url :>"><: $build.commit :></a><br />
         </div>
     </div>
-    <div class="display_test_result" id="result-<: $build.commit :>">
+    <div class="display_test_result" style="display: none" id="result-<: $build.commit :>">
     </div>
 :}
 </div>