iqdb similar queries now show file size
This commit is contained in:
@@ -39,6 +39,10 @@ article.post-preview {
|
|||||||
|
|
||||||
#iqdb-similar {
|
#iqdb-similar {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
.post-preview {
|
||||||
|
height: 169px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#saved-searches-nav {
|
#saved-searches-nav {
|
||||||
|
|||||||
@@ -1,13 +1,15 @@
|
|||||||
<% if params[:url] %>
|
<% if params[:url] %>
|
||||||
<%= image_tag(@normalized_url, :title => "Preview", :id => "image") %>
|
<%= image_tag(@normalized_url, :title => "Preview", :id => "image") %>
|
||||||
|
|
||||||
<% if params[:ref] %>
|
<ul>
|
||||||
<p><strong>Referrer: </strong> <%= params[:ref] %></p>
|
<% if @remote_size %>
|
||||||
<% end %>
|
<li><strong>Size:</strong> <%= number_to_human_size(@remote_size) %></li>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<% if @remote_size %>
|
<% if params[:ref] %>
|
||||||
<p><strong>Size:</strong> <%= number_to_human_size(@remote_size) %></p>
|
<li><strong>Referrer:</strong> <%= params[:ref] %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<p id="scale"></p>
|
<li id="scale"></li>
|
||||||
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Reference in New Issue
Block a user