forked from zaclys/searxng
[enh] more compact image results ++ fixed modal links
This commit is contained in:
parent
3a1b6fa818
commit
b816752719
File diff suppressed because one or more lines are too long
|
@ -64,10 +64,9 @@
|
||||||
float: left !important;
|
float: left !important;
|
||||||
width: 24%;
|
width: 24%;
|
||||||
margin: .5%;
|
margin: .5%;
|
||||||
a{
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 170px;
|
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,8 +20,14 @@
|
||||||
<span class="label label-default pull-right">{{ result.engine }}</span>
|
<span class="label label-default pull-right">{{ result.engine }}</span>
|
||||||
<p class="text-muted pull-left">{{ result.pretty_url }}</p>
|
<p class="text-muted pull-left">{{ result.pretty_url }}</p>
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
<a href="{{ result.img_src }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %} class="btn btn-default">{{ _('Get image') }}</a>
|
<div class="row">
|
||||||
<a href="{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %} class="btn btn-default">{{ _('View source') }}</a>
|
<div class="col-md-6">
|
||||||
|
<a href="{{ result.img_src }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %} class="btn btn-default">{{ _('Get image') }}</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<a href="{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %} class="btn btn-default">{{ _('View source') }}</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue