Files
danbooru/app/views/layouts/sidebar.html.erb
evazion 9ddf408ec5 modqueue: add sidebar.
Add a sidebar to the modqueue page that shows the following information:

* Number of pending and flagged posts.
* Number of posts disapproved for poor quality or breaking rules.
* Top uploaders in the queue.
* Top artist, copyright, and character tags in the queue.
2020-03-02 13:47:54 -06:00

24 lines
600 B
Plaintext

<% content_for(:layout) do %>
<div id="c-<%= params[:controller].parameterize.dasherize %>">
<div id="a-<%= params[:action].parameterize.dasherize %>">
<% if content_for(:top_content).present? %>
<section id="top-content">
<%= yield :top_content %>
</section>
<% end %>
<div class="sidebar-container">
<aside id="sidebar">
<%= yield :sidebar %>
</aside>
<section id="content">
<%= yield :content %>
</section>
</div>
</div>
</div>
<% end %>
<%= render template: "layouts/default" %>