summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Leray <alexandre@alexandreleray.com>2010-11-03 15:34:42 (GMT)
committer Alexandre Leray <alexandre@alexandreleray.com>2010-11-03 15:43:44 (GMT)
commita452dce04902f2812812c1151d6990b01a56d843 (patch)
tree21e1f7c81e0e8a385a09c260fda6f671ff4ef5b0
parente712a7fc6b2db80afaca1b540750cc4ba6ab4ead (diff)
styling sidebar in diff
-rwxr-xr-xbrainch/templates/brainch/base.html2
-rw-r--r--brainch/templates/brainch/history.html7
-rw-r--r--brainch/templates/brainch/inclusion/author-list.html2
-rw-r--r--mysite/static/css/brainch.css6
4 files changed, 9 insertions, 8 deletions
diff --git a/brainch/templates/brainch/base.html b/brainch/templates/brainch/base.html
index a1ea258..23be01c 100755
--- a/brainch/templates/brainch/base.html
+++ b/brainch/templates/brainch/base.html
@@ -15,7 +15,7 @@
<body>
<div id="page">
- <div class="column column20">
+ <div id='left-column' class="column column20">
<div id="usermenu">
<a href="{% url brainch-index %}"><img src="/static/img/logo_tmp.png" /></a>
<h1 id="logo"><a href="/">BRAINCH</a></h1>
diff --git a/brainch/templates/brainch/history.html b/brainch/templates/brainch/history.html
index 3797883..044e44c 100644
--- a/brainch/templates/brainch/history.html
+++ b/brainch/templates/brainch/history.html
@@ -1,6 +1,6 @@
{% extends 'brainch/base.html' %}
{% load markup %}
-{% load git_utils %}
+{% load git_utils brainch_utils %}
{% block h1 %}
@@ -9,11 +9,10 @@
{% endblock h1 %}
{% block sidebar %}
- <h2>Tools</h2>
<ul class="tools">
- <li><a href='{% url brainch-view repo.user repo.slug %}'>View</a></li>
+ <li><a href='{% url brainch-view repo.user repo.slug %}'>View current version</a></li>
</ul>
- {% include 'brainch/inclusion/author-list.html' %}
+ {% clone_list repo %}
{% endblock sidebar %}
{% block main %}
diff --git a/brainch/templates/brainch/inclusion/author-list.html b/brainch/templates/brainch/inclusion/author-list.html
index 561da8a..9be296c 100644
--- a/brainch/templates/brainch/inclusion/author-list.html
+++ b/brainch/templates/brainch/inclusion/author-list.html
@@ -1,6 +1,6 @@
{% load git_utils %}
-<h3>Co-Authors</h3>
+<h2>Co-Authors</h2>
{% repo_authors authors repo %}
<ul class="tools">
{% for author in authors %}
diff --git a/mysite/static/css/brainch.css b/mysite/static/css/brainch.css
index b7151f8..e5b10d0 100644
--- a/mysite/static/css/brainch.css
+++ b/mysite/static/css/brainch.css
@@ -88,6 +88,9 @@ div#banner div.content {
div#body {
margin-top: 33px;
}
+div#left-column {
+ text-align: center;
+}
div#title {
margin: 36px 0;
@@ -137,7 +140,6 @@ ul.tools {
border-top: 3px solid black;
padding-top: 7px;
margin-top: 10px;
- text-align: center;
}
ul.tools ul {
margin-top: 18px;
@@ -152,7 +154,7 @@ ul.tools li {
ul.tools,
ul#authors-list {
- margin-bottom: 36px;
+ margin-bottom: 18px;
}
ul.tools li,
ul#authors-list li {