about summary refs log tree commit diff
path: root/views
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-10-03 15:07:30 +0200
committerfranck cuny <franck@lumberjaph.net>2010-10-03 15:07:30 +0200
commit1bb518e24f5b405da307611ed99d11ce17e7b3a6 (patch)
treeda2c4dbf19219cc227e9bd3042adce7ef8675082 /views
parentorder fetch of last commits (diff)
downloadjitterbug-1bb518e24f5b405da307611ed99d11ce17e7b3a6.tar.gz
update layout
Diffstat (limited to 'views')
-rw-r--r--views/index.tt30
1 files changed, 14 insertions, 16 deletions
diff --git a/views/index.tt b/views/index.tt
index b75ee8e..6359157 100644
--- a/views/index.tt
+++ b/views/index.tt
@@ -7,24 +7,22 @@
       <div class="first"> 
         <h3>Repositories (<: $projects.size() :>)</h3>
 
-        <ul class="repositories">
-          : for $projects -> $project {
-          <li class="repo">
-            <h3><a href="<: $uri_base :>project/<: $project.name :>"><: $project.name :></a></h3>
-            <div class="repo-body">
-              <p class="desc"><: $project.description :></p>
-              :if $project.last_build.timestamp {
-                <p class="updated-at">last updated at <: $project.last_build.timestamp :></p>
+        : for $projects -> $project {
+        <div class="repo">
+          <h3><a href="<: $uri_base :>project/<: $project.name :>"><: $project.name :></a></h3>
+          <div class="repo-body">
+            <p class="desc"><: $project.description :></p>
+            :if $project.last_build.timestamp {
+            <p class="updated-at">last updated at <: $project.last_build.timestamp :></p>
+            :}
+            <div class="last-builds">
+              :for $project.last_build.version.keys() -> $version {
+              <a href="<: $uri_base :>/api/build/<: $project.name :>/<: $project.last_build.commit :>/<: $version :>"><: $version :></a> <span class="<: $project.last_build.version[$version] :>"><: $project.last_build.version[$version] :></span>
               :}
-              <div class="last-builds">
-                :for $project.last_build.version.keys() -> $version {
-                  <a href="<: $uri_base :>/api/build/<: $project.name :>/<: $project.last_build.commit :>/<: $version :>"><: $version :></a> <span class="<: $project.last_build.version[$version] :>"><: $project.last_build.version[$version] :></span>
-                :}
-              </div>
             </div>
-          </li>
-          : }
-        </ul>
+          </div>
+        </div>
+        : }
       </div>
 
       <div class="last">