From c7680d8612049a826f3e17389ae9f74ac33a7df5 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Mon, 24 Jan 2011 20:54:14 +0100 Subject: update templates and css --- views/index.tt | 4 +++- views/task/index.tt | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'views') diff --git a/views/index.tt b/views/index.tt index 6359157..f82aa5e 100644 --- a/views/index.tt +++ b/views/index.tt @@ -28,11 +28,13 @@

Builds pending

+
+
diff --git a/views/task/index.tt b/views/task/index.tt index 1c1f904..baa76bf 100644 --- a/views/task/index.tt +++ b/views/task/index.tt @@ -1,5 +1,5 @@
-
-

Task

-
+
+

Task <: $task.id :>

+
-- cgit v1.2.3 From 696b319385daa88837af21de1b3a2a3c3c3619ea Mon Sep 17 00:00:00 2001 From: franck cuny Date: Mon, 24 Jan 2011 21:46:43 +0100 Subject: display current build if any --- views/index.tt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'views') diff --git a/views/index.tt b/views/index.tt index f82aa5e..d657f48 100644 --- a/views/index.tt +++ b/views/index.tt @@ -2,6 +2,15 @@

Dashboard

+
+ : if $runnings { + The following projects are building: + : for $runnings -> $running { + <: $running.project :> + : } + : } +
+
@@ -26,7 +35,7 @@
-

Builds pending

+

Builds pending (<: $builds.size :>)

    -- cgit v1.2.3 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 --- views/index.tt | 4 +++- views/task/index.tt | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'views') 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 v1.2.3