Commit Graph

27 Commits (98cab4cf754752e8a615b7b6c2685021592889a7)

Author SHA1 Message Date
Markus Heiser 46e131fdad [mod] result_templates/videos.html: replace embedded HTML by data_src
Embedded HTML breaks SearXNG architecture.  To modularize, HTML is generated in
the templates (oscar & simple) and result parameter 'embedded' is replaced by
'data_src', an URL for embedded content (<iframe>).

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament 2b0dd96bd3 [mod] oscar: remove space
* reduce by 15% the uncompressed output (on average)
* dos2unix searx/templates/oscar/result_templates/files.html
4 years ago
Adam Tauber b51d4ec041 [fix] add aria labels to result links - #350 4 years ago
Adam Tauber 01ee3a6edd [fix] remove redundant alt texts from images in Videos, Social Media and Music results - #350 4 years ago
Adam Tauber 6c06286251 [enh] add length and author details to youtube videos
closes #775
4 years ago
Markus Heiser 56b7e05721 themes: remove CR from newlines
Adding a CR in  some files and in others not,  is  a good starting point for a
DOS+Unix mess we all have already seen in many projects.

Patch fixes all files matching (even those comming from grunt's build)::

   find ./searx -exec file {} \; | grep CR

BTW: Same with mixing TAB and SPACE indent styles in one and the same file.  So
if sources are tuched here in this patch, its also fixed.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Adam Tauber b4b0231617 [fix] links in new tabs without js ++ noopener bug fix - closes #674 8 years ago
Alexandre Flament 77b2fbb61e [enh] implements #264 : add rel="noreferrer" to external links 10 years ago
Cqoicebordel 3f4d0053ee Import result_footer_rtl in video so it doesn't crash... 10 years ago
Adam Tauber df9cf9d09b Merge branch 'rtl' of github.com:Cqoicebordel/searx 10 years ago
dalf 1d51512152 Proxify most of images references
Create hash only when necessary
10 years ago
Adam Tauber a04fafd419 Merge branch 'code_results' of https://github.com/pointhi/searx into pointhi-code_results
Conflicts:
	searx/static/themes/default/css/style.css
	searx/static/themes/oscar/css/oscar.min.css
	searx/templates/oscar/result_templates/torrent.html
10 years ago
Thomas Pointhuber 525833bea7 [enh] disable js-based links if no js is available 10 years ago
Thomas Pointhuber 9109686c4e [enh] using less html code to disable autoescaping for embeded results 10 years ago
Thomas Pointhuber 400b54191c Merge branch 'master' of https://github.com/asciimoo/searx into code_results
Conflicts:
	searx/engines/searchcode_code.py
	searx/engines/searchcode_doc.py
	searx/static/oscar/js/searx.min.js
	searx/templates/oscar/result_templates/default.html
	searx/templates/oscar/result_templates/images.html
	searx/templates/oscar/result_templates/map.html
	searx/templates/oscar/result_templates/torrent.html
	searx/templates/oscar/result_templates/videos.html
10 years ago
Cqoicebordel 67bd68b5e5 Put media above result content
Mimick more closely usual video viewer (video above, details below)
10 years ago
Cqoicebordel 4a195e0b28 Integrated media in results + Deezer Engine
New "embedded" item for the results, allow to give an iframe to display the media directly in the results.
Note that the attributes src of the iframes are not set, but instead data-src is set, allowing to only load the iframe when clicked.

Deezer engine based on public API (no key).
10 years ago
Adam Tauber e5a323b288 [fix] favicon paths 10 years ago
Thomas Pointhuber d810763107 [enh] remove repeating codeparts inside the oscar template 10 years ago
Cqoicebordel 83d6f36659 Final commit on favicons
Definitely remove engine array
Change every themes to accomodate that change
Tweak of video template of oscar to add link on video thumbnail
10 years ago
Cqoicebordel 53a9af39ef Use the new way of finding the favicon 10 years ago
Cqoicebordel 79b936963f Bug + HTML corrections
Add alt on favicon.
Use correct datetime format
Remove pubdate tag
Use url instead of pretty_url for web.archive.org
Add alt on video image
10 years ago
Thomas Pointhuber 9274a59045 [fix] template_oscar: improve visualisation of video-results 10 years ago
Thomas Pointhuber 2e7723a6c1 [enh] oscar_template: improve result visualisation
* highlight parts of result
* add link to archiv.to
* fix little bugs
* add little icons
* change style of "show map" button
10 years ago
Thomas Pointhuber 740594a4b7 [enh] oscar_template: initial osm-map support for map results
* TODO: remove leaflet.min.css if not required
10 years ago
Thomas Pointhuber 517e57b996 oscar template: improve result icons 10 years ago
Thomas Pointhuber f3b565e17e oscar template: implement first version of results page
* implement results page
* improve search form template
* implement all result_templates
* fix youtube engine
10 years ago