Remove old file
This commit is contained in:
parent
e13e0d2c6f
commit
b08d63f711
2 changed files with 0 additions and 46 deletions
|
@ -6,13 +6,6 @@
|
|||
padding:20px;
|
||||
padding-top:0px;
|
||||
|
||||
.image-holder {
|
||||
padding: 10px;
|
||||
border: 1px solid lighten(gray, 30%);
|
||||
width: 15%;
|
||||
height: 15%;
|
||||
}
|
||||
|
||||
.image {
|
||||
vertical-align: baseline;
|
||||
border: 1px solid gray;
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
<div class="box event-preview">
|
||||
<div class="image-holder">
|
||||
<img src="<%= event[:image]%>" alt="" class="image" />
|
||||
</div>
|
||||
|
||||
<div class="box info">
|
||||
<div class="title">
|
||||
<a href="<%= relative_path_to(event) %>">
|
||||
<%= event[:title] %>
|
||||
</a>
|
||||
</div>
|
||||
<div class="location">
|
||||
<a href="#">
|
||||
<%= event[:location] %>
|
||||
</a>
|
||||
</div>
|
||||
<div class="description">
|
||||
<%= event[:description] %>
|
||||
</div>
|
||||
<div class="time">
|
||||
<%= event[:time].strftime '%A %d %B %Y %H:%M' %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% if @main_event %>
|
||||
<div class="box main-event">
|
||||
<p>
|
||||
<%= main_event[:title] %>
|
||||
</p>
|
||||
<ul>
|
||||
<% sub_events(main_event).each do |sub_event| %>
|
||||
<li class="<%= "active" if sub_event[:title] == (event[:title])%>" >
|
||||
<%= sub_event[:title] %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
Loading…
Reference in a new issue