12 lines
437 B
Text
12 lines
437 B
Text
<div class="row">
|
|
<div class="col s12">
|
|
<ul class="pagination">
|
|
% while ($since < $now) {
|
|
% my $link_to = $since->strftime('%Y');
|
|
% my $class = $link_to eq $current ? 'active' : 'waves-effect';
|
|
<li class="<%= $class %>"><a href="/history/<%= $link_to %>"><%= $since->strftime('%Y') %></a></li>
|
|
% $since->add(years => 1)->set(month => 1, day => 1, hour => 0, minute => 0, second => 0);
|
|
% }
|
|
</ul>
|
|
</div>
|
|
</div>
|