summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--views/index.tt5
-rw-r--r--views/layouts/main.tt7
-rw-r--r--views/project/index.tt4
-rw-r--r--views/task/index.tt4
4 files changed, 15 insertions, 5 deletions
diff --git a/views/index.tt b/views/index.tt
index 6a79821..58b675a 100644
--- a/views/index.tt
+++ b/views/index.tt
@@ -1,3 +1,6 @@
+<div id="page">
+
+<div id="content">
<h2>Dashboard</h2>
<h3>Projects</h3>
@@ -15,3 +18,5 @@
<li><a href="<: $uri_base :>task/<: $build :>"><: $build :></a></li>
: }
</ul>
+</div>
+</div>
diff --git a/views/layouts/main.tt b/views/layouts/main.tt
index 9b97dbf..2512de7 100644
--- a/views/layouts/main.tt
+++ b/views/layouts/main.tt
@@ -7,7 +7,7 @@
<meta charset="UTF-8" />
<script type="text/javascript">
$(document).ready(function() {
- $('.commits a').click(function() {
+ $('.builds a').click(function() {
var url = $(this).attr("href");
$.getJSON(url, null, function(data) {
$("#display_test_result").html("<pre>" + data.content + "<pre>");
@@ -17,10 +17,7 @@
</script>
</head>
<body>
- <h1>jitterbug</h1>
- <div id="content">
- <: $content :>
- </div>
+ <: $content :>
<footer>
Powered by <a href="http://perldancer.org/">Dancer</a> 1.1810
</footer>
diff --git a/views/project/index.tt b/views/project/index.tt
index 7f1aeb6..ff17e98 100644
--- a/views/project/index.tt
+++ b/views/project/index.tt
@@ -1,3 +1,5 @@
+<div id="page">
+<div id="content">
<h2><: $project :></h2>
<small>"<: $description :>"</small> &mdash; <a href="<: $url :>">view more</a>.
@@ -32,3 +34,5 @@
<div id="display_test_result">
</div>
+</div>
+</div>
diff --git a/views/task/index.tt b/views/task/index.tt
index bb08935..1c1f904 100644
--- a/views/task/index.tt
+++ b/views/task/index.tt
@@ -1 +1,5 @@
+<div id="page">
+<div id="content">
<h2>Task </h2>
+</div>
+</div>