mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
add toggle to resize infobox
This commit is contained in:
parent
57bad502a6
commit
0601f2bb48
12 changed files with 203 additions and 7 deletions
|
|
@ -11,7 +11,8 @@
|
|||
{% for u in infobox.urls %}{% if u.official %} <a class="header_url" href="{{ u.url }}">{{ u.url }}</a>{% endif %}{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<input type="checkbox" class="infobox_checkbox" id="expand_infobox_{{ infobox.engine }}" hidden>
|
||||
<div class="panel-body infobox_body">
|
||||
{% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ image_proxify(infobox.img_src) }}" />{% endif %}
|
||||
|
||||
{% if infobox.content %}<bdi><p class="infobox_part">{{ infobox.content | safe }}</p></bdi>{% endif %}
|
||||
|
|
@ -45,4 +46,8 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<label for="expand_infobox_{{ infobox.engine }}" class="infobox_toggle panel-footer">
|
||||
<span class="infobox_label_down glyphicon glyphicon-chevron-down"></span>
|
||||
<span class="infobox_label_up glyphicon glyphicon-chevron-up"></span>
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue