summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/css/style.css210
-rw-r--r--public/favicon.icobin1406 -> 1406 bytes
-rw-r--r--public/images/perldancer-bg.jpgbin0 -> 7125 bytes
-rw-r--r--public/images/perldancer.jpgbin0 -> 2240 bytes
-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
8 files changed, 203 insertions, 27 deletions
diff --git a/public/css/style.css b/public/css/style.css
index d035f0e..2771d23 100644
--- a/public/css/style.css
+++ b/public/css/style.css
@@ -1,38 +1,205 @@
+
body {
- font-family: Lucida,sans-serif;
- color: #eee;
- background-color: #1f1b1a;
+font-family: 'Linux Libertine', Palatino, 'Palatino Linotype', 'Book Antiqua', Georgia, 'Times New Roman', serif;
+margin: 0;
+margin-bottom: 25px;
+padding: 0;
+background-color: #ddd;
+background-image: url("/images/perldancer-bg.jpg");
+background-repeat: no-repeat;
+background-position: top left;
+
+font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
+font-size: 13px;
+color: #333;
+}
+
+h1 {
+font-size: 28px;
+color: #000;
+}
+
+a {color: #03c}
+a:hover {
+background-color: #03c;
+color: white;
+text-decoration: none;
+}
+
+
+#page {
+background-color: #ddd;
+width: 750px;
+margin: auto;
+margin-left: auto;
+padding-left: 0px;
+margin-right: auto;
}
#content {
- color: #000;
- background-color: #eee;
- padding: 1em;
- margin: 1em;
- padding-top: 0.5em;
+background-color: white;
+border: 3px solid #aaa;
+border-top: none;
+padding: 25px;
+width: 500px;
}
-a {
- color: #a5ec02;
+#sidebar {
+float: right;
+width: 175px;
}
-h1 {
- color: #a5ec02;
+#header, #about, #getting-started {
+padding-left: 75px;
+padding-right: 30px;
+}
+
+
+#header {
+background-image: url("/images/perldancer.jpg");
+background-repeat: no-repeat;
+background-position: top left;
+height: 64px;
+}
+#header h1, #header h2 {margin: 0}
+#header h2 {
+color: #888;
+font-weight: normal;
+font-size: 16px;
+}
+
+
+#about h3 {
+margin: 0;
+margin-bottom: 10px;
+font-size: 14px;
+}
+
+#about-content {
+background-color: #ffd;
+border: 1px solid #fc0;
+margin-left: -11px;
+}
+#about-content table {
+margin-top: 10px;
+margin-bottom: 10px;
+font-size: 11px;
+border-collapse: collapse;
+}
+#about-content td {
+padding: 10px;
+padding-top: 3px;
+padding-bottom: 3px;
+}
+#about-content td.name {color: #555}
+#about-content td.value {color: #000}
+
+#about-content.failure {
+background-color: #fcc;
+border: 1px solid #f00;
+}
+#about-content.failure p {
+margin: 0;
+padding: 10px;
+}
+
+
+#getting-started {
+border-top: 1px solid #ccc;
+margin-top: 25px;
+padding-top: 15px;
+}
+#getting-started h1 {
+margin: 0;
+font-size: 20px;
+}
+#getting-started h2 {
+margin: 0;
+font-size: 14px;
+font-weight: normal;
+color: #333;
+margin-bottom: 25px;
+}
+#getting-started ol {
+margin-left: 0;
+padding-left: 0;
+}
+#getting-started li {
+font-size: 18px;
+color: #888;
+margin-bottom: 25px;
+}
+#getting-started li h2 {
+margin: 0;
+font-weight: normal;
+font-size: 18px;
+color: #333;
+}
+#getting-started li p {
+color: #555;
+font-size: 13px;
+}
+
+
+#search {
+margin: 0;
+padding-top: 10px;
+padding-bottom: 10px;
+font-size: 11px;
+}
+#search input {
+font-size: 11px;
+margin: 2px;
+}
+#search-text {width: 170px}
+
+
+#sidebar ul {
+margin-left: 0;
+padding-left: 0;
+}
+#sidebar ul h3 {
+margin-top: 25px;
+font-size: 16px;
+padding-bottom: 10px;
+border-bottom: 1px solid #ccc;
+}
+#sidebar li {
+list-style-type: none;
+}
+#sidebar ul.links li {
+margin-bottom: 5px;
+}
+
+
+h1, h2, h3, h4, h5 {
+font-family: sans-serif;
+margin: 1.2em 0 0.6em 0;
+}
+
+p {
+line-height: 1.5em;
+margin: 1.6em 0;
+}
+
+code, tt {
+ font-family: 'Andale Mono', Monaco, 'Liberation Mono', 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', monospace;
}
footer {
- border-top: 1px solid #aba29c;
- margin-top: 2em;
- padding-top: 1em;
- font-size: 10px;
- color: #ddd;
+clear: both;
+padding-top: 2em;
+text-align: center;
+padding-right: 160px;
+font-family: sans-serif;
+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;
}
-.commits{
+.commit{
border:1px solid #bedce7;
margin-top:.5em;
padding:0 .5em .5em .5em;
@@ -45,11 +212,10 @@ pre {
color: white;
}
-.commits .description {
+.commit .description {
float: left;
}
-.commits .git {
+.commit .git {
float: right;
}
-
diff --git a/public/favicon.ico b/public/favicon.ico
index 957f4b4..96c7465 100644
--- a/public/favicon.ico
+++ b/public/favicon.ico
Binary files differ
diff --git a/public/images/perldancer-bg.jpg b/public/images/perldancer-bg.jpg
new file mode 100644
index 0000000..6ee6b77
--- /dev/null
+++ b/public/images/perldancer-bg.jpg
Binary files differ
diff --git a/public/images/perldancer.jpg b/public/images/perldancer.jpg
new file mode 100644
index 0000000..3f9e718
--- /dev/null
+++ b/public/images/perldancer.jpg
Binary files differ
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>