Add timeline to page about old boards

This commit is contained in:
Niko Strijbol 2019-08-13 23:23:30 +02:00
parent b6a01132f1
commit c0f206db18
No known key found for this signature in database
GPG key ID: 1A8AEBABD9012251
2 changed files with 35 additions and 23 deletions

View file

@ -10,8 +10,11 @@ narrow_page: true
<p>Alle vorige besturen van Zeus, van nu tot het prille begin.</p>
<div class="timeline">
<% all_bestuur.each do |year, bestuur| %>
<div class="timeline-item">
<div class="timeline-marker"></div>
<div class="timeline-content board-content">
<h2><%= academic_year_string(year) %></h2>
<table class="table board-table">
@ -34,6 +37,11 @@ narrow_page: true
<% end %>
</tbody>
</table>
</div>
</div>
<% end %>
<header class="timeline-header">
<span class="tag is-primary is-medium">Het begin</span>
</header>
</div>
</div>

View file

@ -65,6 +65,10 @@ table.board-table {
}
}
.board-content {
width: 100%;
}
#contact-icons {
display: flex;
justify-content: center;