Files
danbooru/app/views/static/search_timeout.html.erb
evazion 3a3d456bd2 html: standardize font sizes and heading tags.
Standardize font sizes and heading tags (<h1>-<h6>) to be more
consistent across the site.

Changes:

* Introduce font size CSS variables and start replacing hardcoded font
  sizes with standard sizes.
* Change header tags to use only one <h1> per page. One <h1> per page is
  recommended for SEO purposes. Usually this is for the page title, like
  in forum threads or wiki pages.
* Standardize on <h2> for section headers in sidebars and <h3> for
  smaller subsection headers. Don't use <h4>-<h6>.
* In DText, make h1-h4 headers all the same size. Standard wiki style is
  to ignore h1-h3 and start at h4.
* In DText, make h4-h6 the same size as the h1-h3 tags outside of DText.
* In the tag list, change the <h1> and <h2> tag category headers to <h3>.
* Make usernames in comments and forum posts smaller. Also change the
  <h4> tag for the commenter name to <div class="author-name">.
* Make the tag list, paginator, and nav menu smaller on mobile.
* Change h1#app-name-header to a#app-name-header.
2020-07-23 17:34:17 -05:00

54 lines
1.8 KiB
Plaintext

<% page_title "Search Timeout" %>
<div id="c-static">
<div id="a-search-timeout" class="fixed-width-container">
<h1>Search Timeout</h1>
<p>Your search took too long to execute and was cancelled.</p>
<h3>Why did this happen?</h3>
<p>
Some kinds of searches are slower than others. If your search is too slow
it may be cancelled. Usually this happens when your search is too
complex, or when there aren't many recent posts matching your search.
</p>
<% if params[:controller] == "posts" && params[:action] == "index" && params[:tags].present? %>
<h3>What can I do?</h3>
<p>Try changing your search:</p>
<p>
<table class="striped">
<tr>
<td><%= link_to "#{params[:tags]} age:<1month", posts_url(tags: "#{params[:tags]} age:<1month") %></td>
<td>Search recent posts only.</td>
</tr>
<tr>
<td><%= link_to "#{params[:tags]} order:score", posts_url(tags: "#{params[:tags]} order:score") %></td>
<td>Order by score instead of by date.</td>
</tr>
<tr>
<td><%= link_to "#{params[:tags]} limit:5", posts_url(tags: "#{params[:tags]} limit:5") %></td>
<td>Show fewer posts per page.</td>
</tr>
</table>
</p>
<% end %>
<% if !CurrentUser.is_gold? %>
<h3>Search limits</h3>
<p>
Members are limited to searches that take up to 3 seconds long. You can
<%= link_to "upgrade your account", new_user_upgrade_path %> to increase
your search limit. Gold users can do searches that take up to 6 seconds
long, and Platinum users can go up to 9 seconds.
</p>
<% end %>
<%= link_to "Go back", :back, rel: "prev" %>
</div>
</div>