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,30 +10,38 @@ narrow_page: true
<p>Alle vorige besturen van Zeus, van nu tot het prille begin.</p> <p>Alle vorige besturen van Zeus, van nu tot het prille begin.</p>
<div class="timeline">
<% all_bestuur.each do |year, bestuur| %> <% 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>
<h2><%= academic_year_string(year) %></h2> <table class="table board-table">
<thead>
<table class="table board-table"> <tr>
<thead> <th>Functie</th>
<tr> <th>Naam</th>
<th>Functie</th> </tr>
<th>Naam</th> </thead>
</tr> <tbody>
</thead> <% bestuur.each do |lid| %>
<tbody> <tr>
<% bestuur.each do |lid| %> <td>
<tr> <%= lid[:rol] %>
<td> </td>
<%= lid[:rol] %> <td>
</td> <%= lid[:naam] %>
<td> </td>
<%= lid[:naam] %> </tr>
</td> <% end %>
</tr> </tbody>
<% end %> </table>
</tbody> </div>
</table> </div>
<% end %> <% end %>
<header class="timeline-header">
<span class="tag is-primary is-medium">Het begin</span>
</header>
</div>
</div> </div>

View file

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