Files
danbooru/app/views/explore/posts/intro.html.erb
evazion d9f154094f css: switch mod dashboard, keyboard shortcuts pages to flexbox.
* Switch /static/keyboard_shortcuts from float-based layout to flexbox.
* Switch /moderator/dashboard from float-based layout to flexbox.
* Remove various .clearfix, `clear: both` rules.
* Remove dead .quick-mod rule.
2019-10-02 01:52:24 -05:00

31 lines
987 B
Plaintext

<div id="c-explore-posts">
<div id="a-intro">
<header>
<h1><%= link_to Danbooru.config.app_name, posts_path %></h1>
<p class="byline">Find good anime art fast</p>
<%= form_tag(posts_path, :method => :get) do %>
<%= text_field_tag "tags", "", :size => 50, :data => { :autocomplete => "tag-query" } %>
<%= submit_tag "Search" %>
<% end %>
</header>
<p style="text-align: center;">Type in your favorite anime, manga, or character (last name first). Here are some popular examples:</p>
<% cache("intro-page", :expires_in => 1.hour) do %>
<% @presenter.each do |tag, post_set| %>
<div class="posts">
<h2><%= link_to tag, posts_path(:tags => tag) %></h2>
<%= post_set.presenter.post_previews_html(self, show_cropped: true) %>
</div>
<% end %>
<% end %>
</div>
</div>
<%= render "static/footer" %>
<% content_for(:page_title) do %>
<%= Danbooru.config.app_name %>
<% end %>