trelixir.fi/tpl/page.html.glemp

57 lines
1.7 KiB
Text

<section id="event" class="content contentpadding">
<h2 class="content-head is-center"><%= title %></h2>
<div class="pure-g">
<div class="l-box-lrg pure-u-1 pure-u-md-1-2">
<%= raw description %>
<p>
The event is graciously hosted by <a href="<%= host_url %>"><%= host_name %></a>.
</p>
</div>
<div class="l-box-lrg pure-u-1 pure-u-md-1-2">
<%= raw signup_info %>
</div>
</div>
</section>
<section id="event" class="content contentpadding">
<h2 class="content-head is-center">Talks</h2>
<div class="pure-g">
<% for talk in talks %>
<div class="l-box-lrg pure-u-1 pure-u-md-1-2">
<% if talk.is_placeholder %>
<h3 class="talk-title">More talks TBA</h3>
<% else %>
<h3 class="talk-title"><%= talk.title %></h3>
<% if talk.speaker.is_detailed %>
<img src="<%= talk.speaker.img %>" alt="<%= talk.speaker.name %>" title="<%= talk.speaker.name %>" class="speaker-image pure-img" />
<% end %>
<p class="speaker-name">
<%= talk.speaker.name %><% if talk.speaker.is_detailed %><% if talk.speaker.company %>, <%= talk.speaker.company %><% end %><% end %>
</p>
<% if talk.speaker.is_detailed %>
<p class="speaker-description">
<%= raw talk.speaker.description %>
</p>
<% end %>
<% if talk.slides %>
<h4>Slides & materials</h4>
<ul>
<% for slide in talk.slides %>
<li><a href="<%= slide.link %>" target="_blank"><%= slide.title %></a></li>
<% end %>
</ul>
<% end %>
<% end %>
</div>
<% end %>
</div>
</section>