summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-02-13 13:58:10 +0100
committerfranck cuny <franck@lumberjaph.net>2011-02-13 13:58:10 +0100
commit37dae747364370453e0d54d1b2a7aec289f71a4b (patch)
treec3fc18ddeeadf12a8f6aba5130467ae67d394e64
parentcolumn started_when: datetime when the build started (diff)
downloadjitterbug-37dae747364370453e0d54d1b2a7aec289f71a4b.tar.gz
update templates to show informations about running tasks
-rw-r--r--public/css/style.css1
-rw-r--r--views/index.tt4
-rw-r--r--views/task/index.tt1
3 files changed, 5 insertions, 1 deletions
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 @@
<div class="builds-running">
: if $runnings {
- The following projects are building:
+ <div class="running-build">
+ The following project is building:
: for $runnings -> $running {
<a href="<: $uri_base :>/task/<: $running.id :>"><: $running.project :></a>
: }
+ </div>
: }
</div>
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 @@
<div id="page">
<div id="content">
<h2>Task <: $task.id :></h2>
+ started : <: $task.started_when :>
</div>
</div>