iqdb similar queries now show file size

This commit is contained in:
r888888888
2015-02-22 11:41:40 -08:00
parent f12fb40e3e
commit 86b3cfa44b
2 changed files with 13 additions and 7 deletions

View File

@@ -39,6 +39,10 @@ article.post-preview {
#iqdb-similar {
overflow: hidden;
.post-preview {
height: 169px;
}
}
#saved-searches-nav {

View File

@@ -1,13 +1,15 @@
<% if params[:url] %>
<%= image_tag(@normalized_url, :title => "Preview", :id => "image") %>
<% if params[:ref] %>
<p><strong>Referrer: </strong> <%= params[:ref] %></p>
<% end %>
<ul>
<% if @remote_size %>
<li><strong>Size:</strong> <%= number_to_human_size(@remote_size) %></li>
<% end %>
<% if @remote_size %>
<p><strong>Size:</strong> <%= number_to_human_size(@remote_size) %></p>
<% end %>
<% if params[:ref] %>
<li><strong>Referrer:</strong> <%= params[:ref] %></li>
<% end %>
<p id="scale"></p>
<li id="scale"></li>
</ul>
<% end %>