timeline floats left

This commit is contained in:
sanj 2010-10-26 03:47:18 +02:00
parent 194a8babca
commit 41485612a9
2 changed files with 7 additions and 2 deletions

View File

@ -79,6 +79,9 @@ a img {
.event { .event {
cursor: pointer; cursor: pointer;
float: left;
font-size: 12px;
direction: rtl;
} }
.eventSelected { .eventSelected {

View File

@ -77,8 +77,10 @@
<div id="timeline"> <div id="timeline">
{% for e in events %} {% for e in events %}
<div class="event" data-id="{{ e.id }}" id="event_{{ e.id }}"> <div class="event" data-id="{{ e.id }}" id="event_{{ e.id }}">
<div class="eventName">{{ e.name }}</div> <br /> <div class="eventName">{{ e.name }}</div>
<div class="eventDate">{{ e.start_time }} - {{ e.end_time }}</div> <div class="eventDate">{{ e.start_time }}
{% ifnotequal e.start_time e.end_time %} - {{ e.end_time }} {% endifnotequal %}
</div>
<div class="eventDescription"> <div class="eventDescription">
{{ e.description }} {{ e.description }}
</div> </div>