Permalink
Browse files

front page tweaks

  • Loading branch information...
1 parent cf42d36 commit 897a900eb9d46d4fc3862b025c7934dcfdac920b @wanderer committed Mar 28, 2012
Showing with 18 additions and 14 deletions.
  1. +18 −14 occupywallst/templates/occupywallst/index.html
@@ -37,24 +37,28 @@
{% endwith %}
</div>
</div>
- <div style="width:261px;" id="events">
- <h3 class="column_titles">Upcoming Events</h3><hr>
- {% for event in events %}
- {% ifchanged event.start_date.day %} <span>{{ event.start_date|date:"SHORT_DATE_FORMAT"|center:8 }}</span><br/> {% endifchanged %}
- <span><a href="{{ event.get_absolute_url }}">
- {{ event.title|slice:":30"}}
- {% if event.title|length > 30 %}...{% endif %}
- </a></span>
-
- {% endfor %}
-
+ <div style="width:261px;float:left" >
+ <div>
+ <h3 class="column_titles">Upcoming Events</h3><hr>
+ <ul style="padding-left: 20px; padding-right: 0px;">
+ {% for event in events %}
+ {% ifchanged event.start_date.day %} <span style="font-weight:bold">{{ event.start_date|date:"SHORT_DATE_FORMAT"|center:8 }}</span><br/> {% endifchanged %}
+ <li style="list-style-type: circle"><a href="{{ event.get_absolute_url }}">
+ {{ event.title|slice:":29"}}{% if event.title|length > 30 %}...{% endif %}
+ </a></li>
+ {% endfor %}
+ </ul>
+ </div>
+
<div id="wire">
<h3 class="column_titles" >The Wire</h3><hr>
+ <ul style="padding-left: 20px; padding-right: 0px;">
{% for article in articles %}
- <a style="display:block" href="{{ article.get_absolute_url }}">
- {{ article.title|slice:":30" }}{% if article.title|length > 30 %}...{% endif %}
- </a>
+ <li style="list-style-type: circle"><a style="display:block" href="{{ article.get_absolute_url }}">
+ {{ article.title|slice:":29" }}{% if article.title|length > 30 %}...{% endif %}
+ </a></li>
{% endfor %}
+ </ul>
</div>
<div>
<h3 class="column_titles" >Tweets</h3><hr>

0 comments on commit 897a900

Please sign in to comment.