diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html index c0393a66d..bddeecb64 100644 --- a/searx/templates/oscar/base.html +++ b/searx/templates/oscar/base.html @@ -39,6 +39,7 @@ .tab-content > .active_if_nojs, .active_if_nojs {display: block;} .margin_top_if_nojs {margin-top: 20px;} .hide_if_nojs {display: none !important;overflow:none !important;} + .disabled_if_nojs {pointer-events: none; cursor: default; text-decoration: line-through;} diff --git a/searx/templates/oscar/result_templates/default.html b/searx/templates/oscar/result_templates/default.html index b2430ed6a..23af61f21 100644 --- a/searx/templates/oscar/result_templates/default.html +++ b/searx/templates/oscar/result_templates/default.html @@ -6,7 +6,7 @@ {{ icon('link') }} {{ _('cached') }} {% if result.embedded %} - • {{ icon('music') }} {{ _('show media') }} + • {{ icon('music') }} {{ _('show media') }} {% endif %} {% if result.embedded %} diff --git a/searx/templates/oscar/result_templates/map.html b/searx/templates/oscar/result_templates/map.html index c08e2e72b..fd339527b 100644 --- a/searx/templates/oscar/result_templates/map.html +++ b/searx/templates/oscar/result_templates/map.html @@ -7,15 +7,15 @@ {{ icon('link') }} {{ _('cached') }} {% if (result.latitude and result.longitude) or result.boundingbox %} - • {{ icon('globe') }} {{ _('show map') }} + • {{ icon('globe') }} {{ _('show map') }} {% endif %} {% if result.osm and (result.osm.type and result.osm.id) %} - • {{ icon('map-marker') }} {{ _('show details') }} + • {{ icon('map-marker') }} {{ _('show details') }} {% endif %} {# {% if (result.latitude and result.longitude) %} - • {{ icon('map-marker') }} {{ _('show geodata') }} + • {{ icon('map-marker') }} {{ _('show geodata') }} {% endif %} #}