aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/templates/frontpage.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@ziggy.(none)>2009-10-12 22:16:52 -0400
committerbnewbold <bnewbold@ziggy.(none)>2009-10-12 22:16:52 -0400
commit7274b4c4658cb197e1f33997bdd7f2b1752d6937 (patch)
tree76735bcbddaa39d0e9d98c05186f84227fd35e76 /bn_django/templates/frontpage.html
parent6f456b98967e54104302dc05dbeafef587fe775c (diff)
downloadbnewnet-7274b4c4658cb197e1f33997bdd7f2b1752d6937.tar.gz
bnewnet-7274b4c4658cb197e1f33997bdd7f2b1752d6937.zip
frontpage tweaks?
Diffstat (limited to 'bn_django/templates/frontpage.html')
-rw-r--r--bn_django/templates/frontpage.html41
1 files changed, 14 insertions, 27 deletions
diff --git a/bn_django/templates/frontpage.html b/bn_django/templates/frontpage.html
index f19699e..26b369d 100644
--- a/bn_django/templates/frontpage.html
+++ b/bn_django/templates/frontpage.html
@@ -35,43 +35,30 @@ Other sites: <br />
<br />
<br />
-<div class="col_right">
-<div class="col_title">Latest knowledge items</div>
-{% if newitems %}
-{% include "git_wiki/newitems_table" %}
+
+<h2 class="ruled">Photos!</h2>
+{% if latest_photos %}
+{% for photo in latest_photos %}
+<a href="{{ photo.get_absolute_url }}"><img src="{{ photo.thumburl }}"
+ alt="{{ photo.title }}" /></a>&nbsp;&nbsp;&nbsp;
+{% endfor %}
{% else %}
-None yet!
+<br/><br />None yet!
{% endif %}
-<br />
-<div class="col_title">Latest knowledge commits</div>
-{% if latest_knowledge %}
-{% include "newknowldge_table" %}
+
+<h2 class="ruled">Knowledge!</h2>
+{% if newitems %}
+{% include "git_wiki/newitems_table" %}
{% else %}
None yet!
{% endif %}
-</div>
-<div class="col_center">
-<div class="col_title">Latest comments</div>
+<h2 class="ruled">Comments!</h2>
{% if latest_comments %}
{% include "newcomments_table" %}
{% else %}
None yet!
{% endif %}
-</div>
-<div class="col_left">
-<div class="col_title">Latest photos</div>
-{% if latest_photos %}
-<div class="centerize">
-{% for photo in latest_photos %}
-<a href="{{ photo.get_absolute_url }}"><img src="{{ photo.thumburl }}"
- alt="{{ photo.title }}" /></a>
-<br />
-{% endfor %}
-</div>
-{% else %}
-<br/><br />None yet!
-{% endif %}
-</div>
{% endblock %}
+