From 37dae747364370453e0d54d1b2a7aec289f71a4b Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sun, 13 Feb 2011 13:58:10 +0100 Subject: update templates to show informations about running tasks --- public/css/style.css | 1 + views/index.tt | 4 +++- views/task/index.tt | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/public/css/style.css b/public/css/style.css index 00defda..d22b898 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -234,6 +234,7 @@ font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",m .repo p.updated-at{margin:0;font-size:11px;color:#888;} .comming-builds{border:1px solid #d8d8d8;background-color:#f0f0f0} +.running-build{border:1px solid #d8d8d8;background-color:#f0f0f0} .commit .name{float:left; width: 100%;} .commit .name .date{color:#888;font-size:90%;} diff --git a/views/index.tt b/views/index.tt index d657f48..4e7eba2 100644 --- a/views/index.tt +++ b/views/index.tt @@ -4,10 +4,12 @@
: if $runnings { - The following projects are building: +
+ The following project is building: : for $runnings -> $running { <: $running.project :> : } +
: }
diff --git a/views/task/index.tt b/views/task/index.tt index baa76bf..25bdeb9 100644 --- a/views/task/index.tt +++ b/views/task/index.tt @@ -1,5 +1,6 @@

Task <: $task.id :>

+ started : <: $task.started_when :>
-- cgit 1.4.1