Files
danbooru/app/views/explore/posts/viewed.html.erb
evazion 27e62de316 css: fix paginator position on most viewed posts page, top searches page.
Fix the paginator not being centered on the /explore/posts/viewed and
/explore/posts/searches pages.
2021-03-08 01:30:02 -06:00

22 lines
648 B
Plaintext

<% page_title "Most Viewed" %>
<% meta_description "The most viewed posts per #{@scale}" %>
<%= render "posts/partials/common/secondary_links" %>
<div id="c-explore-posts">
<div id="a-viewed">
<h1>Most Viewed - <%= @date %></h1>
<%= render "posts/partials/common/inline_blacklist" %>
<%= post_previews_html(@posts) %>
<div class="paginator text-center mt-4">
<menu>
<li><%= link_to "< Previous", viewed_explore_posts_path(:date => 1.day.ago(@date).to_date) %></li>
<li><%= link_to "Next >", viewed_explore_posts_path(:date => 1.day.since(@date).to_date) %></li>
</menu>
</div>
</div>
</div>