From 760adb211a4256a671b9afea98d9a633e550b384 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 9 May 2013 20:46:07 +0200 Subject: Use bootstrap --- ryuslash/aggregator/templates/aggregator/base.html | 46 +++++------ .../aggregator/templates/aggregator/posts.html | 85 +++++++++++++-------- ryuslash/static/logo.png | Bin 15931 -> 3771 bytes 3 files changed, 71 insertions(+), 60 deletions(-) diff --git a/ryuslash/aggregator/templates/aggregator/base.html b/ryuslash/aggregator/templates/aggregator/base.html index 215ec7e..1b674aa 100644 --- a/ryuslash/aggregator/templates/aggregator/base.html +++ b/ryuslash/aggregator/templates/aggregator/base.html @@ -4,42 +4,32 @@ ryuslash - + {% block head %}{% endblock %} -
- ryuslash.org -

- - ryuslash - -

- - -
+ + + + -
+
{% block content %}{% endblock %}
diff --git a/ryuslash/aggregator/templates/aggregator/posts.html b/ryuslash/aggregator/templates/aggregator/posts.html index b70cb0d..3b84c0d 100644 --- a/ryuslash/aggregator/templates/aggregator/posts.html +++ b/ryuslash/aggregator/templates/aggregator/posts.html @@ -2,42 +2,63 @@ {% load posts_extras %} {% block head %} - + {% endblock %} {% block content %} - {% for post in list.object_list %} -
- (defpost - {{ post.title|slugify|nameless|truncate:48 }} - () -
- {% autoescape off %}{{ post.content }}{% endautoescape %} -
- "{{ post.updated }}") -
- {% endfor %} +
+
+ +
+
+
+ {% for post in list.object_list %} + + + + + +
+ {% if post.title %} +

+ {% endif %} + + + + {% if post.title %} +

+ {% endif %} +
+ {% if post.title %} +

{{ post.title }}

+ {% endif %} + {% autoescape off %}{{ post.content }}{% endautoescape %} +
+
+ {% endfor %} -
- {% if list.has_previous %} - - - - {% endif %} + + {% if list.has_next %} +
  • + + Next + +
  • + {% endif %} + +
    +
    +
    {% endblock %} diff --git a/ryuslash/static/logo.png b/ryuslash/static/logo.png index a451578..ee37d3b 100644 Binary files a/ryuslash/static/logo.png and b/ryuslash/static/logo.png differ -- cgit v1.2.3-54-g00ecf