summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-09-25 17:56:48 +0200
committerfranck cuny <franck@lumberjaph.net>2010-09-25 17:56:48 +0200
commita68817e3ed9669ba3aba930ef7c8540a74182a34 (patch)
treecea4d15cabb25628633c52d1a6c097022e897bf5
parentsorted builds for feed (diff)
downloadjitterbug-a68817e3ed9669ba3aba930ef7c8540a74182a34.tar.gz
update layout
Diffstat (limited to '')
-rw-r--r--public/css/style.css29
-rw-r--r--public/images/feed.pngbin0 -> 609 bytes
-rwxr-xr-xscripts/capsule.sh1
-rw-r--r--views/project/index.tt13
4 files changed, 25 insertions, 18 deletions
diff --git a/public/css/style.css b/public/css/style.css
index 6cce1f1..6891697 100644
--- a/public/css/style.css
+++ b/public/css/style.css
@@ -196,26 +196,35 @@ font-size: 10px;
}
pre {
- font-family: \"lucida console\",\"monaco\",\"andale mono\",\"bitstream vera sans mono\",\"consolas\",monospace;
+font-family: \"lucida console\",\"monaco\",\"andale mono\",\"bitstream vera sans mono\",\"consolas\",monospace;
}
.commit{
- border:1px solid #bedce7;
- margin-top:.5em;
- padding:0 .5em .5em .5em;
- background:#eaf2f5;
- overflow:hidden;
+border:1px solid #bedce7;
+margin-top:.5em;
+padding:0 .5em .5em .5em;
+background:#eaf2f5;
+overflow:hidden;
}
.display_test_result {
- background: black;
- color: white;
+background: black;
+color: white;
}
.commit .description {
- float: left;
+float: left;
}
.commit .git {
- float: right;
+float: right;
+}
+
+.git {
+width:18em;padding:.8em 0 .8em 1.2em;border-left:1px solid #bedce7;color:#808080;font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;font-size:.85em;line-height:1.5em;
+}
+
+.message {
+font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
}
+.message pre{white-space:pre-wrap;word-wrap:break-word;width:40em;}
diff --git a/public/images/feed.png b/public/images/feed.png
new file mode 100644
index 0000000..7e553d0
--- /dev/null
+++ b/public/images/feed.png
Binary files differ
diff --git a/scripts/capsule.sh b/scripts/capsule.sh
index 946c38c..82afe25 100755
--- a/scripts/capsule.sh
+++ b/scripts/capsule.sh
@@ -21,6 +21,7 @@ do
logfile="$report_path/$theperl.txt"
perl Makefile.PL
+ cpanm --installdeps .
make
HARNESS_VERBOSE=1 make test >> $logfile 2>&1
done
diff --git a/views/project/index.tt b/views/project/index.tt
index 877a803..0809b7e 100644
--- a/views/project/index.tt
+++ b/views/project/index.tt
@@ -1,12 +1,12 @@
<div id="page">
-<div id="content">
-<h2><: $project :></h2>
+ <div id="content">
+ <h2><a href="<: $url :>"><: $project :></a> / build history <a href="<: $base_uri :>/project/<: $project :>/feed"><img src="<: $uri_base :>/images/feed.png" /></a></h2>
-<small>"<: $description :>"</small> &mdash; <a href="<: $url :>">view more</a>.
+ <strong>"<: $description :>"</strong>
<h3>Builds</h3>
-<a href="<: $base_uri :>/project/<: $project :>/feed">feed</a>
+
<div class="commits">
:for $builds -> $build {
@@ -22,10 +22,7 @@
</div>
</div>
<div class="git">
- <ul>
- <li>commit&nbsp;&nbsp;<a href="<: $build.url :>"><: $build.commit :></a></li>
- <li><a href="<: $build.compare :>">compare</a></li>
- </ul>
+ commit&nbsp;&nbsp;<a href="<: $build.url :>"><: $build.commit :></a><br />
</div>
</div>
<div class="display_test_result" id="result-<: $build.commit :>">