diff options
author | Marc Abonce Seguin <marc-abonce@mailbox.org> | 2020-08-03 00:15:54 -0700 |
---|---|---|
committer | Marc Abonce Seguin <marc-abonce@mailbox.org> | 2020-08-10 00:12:45 -0700 |
commit | 0601f2bb481758ed8e0e68f96a976063d9b229db (patch) | |
tree | 00a66a0a88f3aa1e2adbb136c69984e635ada191 /searx/templates | |
parent | 57bad502a698c3d337641ad700cefd0be344ddd6 (diff) | |
download | searxng-0601f2bb481758ed8e0e68f96a976063d9b229db.tar.gz searxng-0601f2bb481758ed8e0e68f96a976063d9b229db.zip |
add toggle to resize infobox
Diffstat (limited to 'searx/templates')
-rw-r--r-- | searx/templates/oscar/infobox.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/searx/templates/oscar/infobox.html b/searx/templates/oscar/infobox.html index 0c7a2e0a0..5ba4aa5f0 100644 --- a/searx/templates/oscar/infobox.html +++ b/searx/templates/oscar/infobox.html @@ -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> |