summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-10-03 20:04:51 +0200
committerfranck cuny <franck@lumberjaph.net>2010-10-03 20:04:51 +0200
commit4d5d84374ef8ce124ce8a6def8e5a0a6ac2fed2e (patch)
tree3ea7ef351a1b733ad775f484cde6bcb3edf70f26
parenttimestamp (diff)
downloadjitterbug-4d5d84374ef8ce124ce8a6def8e5a0a6ac2fed2e.tar.gz
update css; hide previous days
-rw-r--r--public/css/style.css19
-rw-r--r--views/project/index.tt6
2 files changed, 11 insertions, 14 deletions
diff --git a/public/css/style.css b/public/css/style.css
index a215c98..89a35d5 100644
--- a/public/css/style.css
+++ b/public/css/style.css
@@ -4,9 +4,7 @@ font:13px helvetica,arial,freesans,clean,sans-serif;
margin: 0;
margin-bottom: 25px;
padding: 0;
-background-color: #ddd;
-background-image: url("/images/perldancer-bg.jpg");
-background-repeat: no-repeat;
+background-color:#eaeaea;
background-position: top left;
color: #333;
}
@@ -16,16 +14,11 @@ font-size: 28px;
color: #000;
}
-a {color: #03c}
-a:hover {
-background-color: #03c;
-color: white;
-text-decoration: none;
-}
-
+a{color:#4183c4;text-decoration:none;}
+a:hover{text-decoration:underline;}
#page {
-background-color: #ddd;
+background-color:#eaeaea;
width: 80%;
margin: auto;
margin-left: auto;
@@ -34,9 +27,9 @@ margin-right: auto;
}
#content {
+ margin-top: 30px;
background-color: white;
-border: 3px solid #aaa;
-border-top: none;
+border: 3px solid #000;
padding: 25px;
width: 90%;
}
diff --git a/views/project/index.tt b/views/project/index.tt
index 5665686..884f58d 100644
--- a/views/project/index.tt
+++ b/views/project/index.tt
@@ -6,7 +6,11 @@
:for $days -> $day {
<h3 class="builds-day" id="builds-day-<: $day :>"><: $day :></h3>
- <div class="commits" id="commits-day-<: $day :>">
+ : if $~day == 0 {
+ <div class="commits" id="commits-day-<: $day :>">
+ : }else{
+ <div class="commits" id="commits-day-<: $day :>" style="display:none">
+ :}
:for $commits[$day] -> $commit {
<div class="commit" id="<: $commit.id :>">
<div class="description">