summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/result_templates
AgeCommit message (Collapse)Author
2022-04-30[theme] delete static/themes/oscar and templates/oscarMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> templates/oscar# gelöscht: searx/static/themes/oscar/fonts/glyphicons-halflings-regular.ttf
2022-02-18[mod] templates: rename field for <iframe> URL to iframe_srcMarkus Heiser
Rename result field data_src to iframe_src Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#issuecomment-1037997402 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-18[oscar] add scrolling="no" to iframes in HTML templatesMarkus Heiser
Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#discussion_r805180787 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-13[mod] result_templates/default.html replace embedded HTML by data_src audio_srcMarkus Heiser
Embedded HTML breaks SearXNG architecture. To modularize, HTML is generated in the templates (oscar & simple) and result parameter 'embedded' is replaced by 'data_src' (and 'audio_src'), an URL for embedded content (<iframe>). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-13[mod] result_templates/videos.html: replace embedded HTML by data_srcMarkus Heiser
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>
2021-09-30SearXNG: oscar themeAlexandre Flament
2021-09-07[fix] oscar template - merge the two class attributes into oneMarkus Heiser
Suggested-by: @dalf https://github.com/searxng/searxng/pull/295#discussion_r703337237 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-07[fix] make oscar theme more CSP compliant - default-image-styleMarkus Heiser
Add default-image-style in:: searx/static/themes/oscar/src/less/result_templates.less Replaced style= in files:: ./oscar/result_templates/default.html:19: <img src="{{ image_proxify(result.img_src or result.thumbnail) }}" title="{{ result.title|striptags }}" style="width: auto; max-height: 60px; min-height: 60px;" class="col-xs-2 col-sm-4 col-md-4 result-content"> ./oscar/result_templates/files.html:24:<img src="{{ image_proxify(result.img_src) }}" alt="{{ result.title|striptags }}" title="{{ result.title|striptags }}" style="width: auto; max-height: 60px; min-height: 60px;" class="col-xs-2 col-sm-4 col-md-4 result-content"> Reported-by: https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-06[fix] make result template map more CSP compliant - simple & oscarMarkus Heiser
Add osm-map-box in:: searx/static/themes/__common__/less/result_templates.less Replaced sty= in files:: ./oscar/result_templates/map.html:64: <div style="height:300px; width:100%; margin: 10px 0;" id="osm-map-{{ index }}"></div> ./simple/result_templates/map.html:65: <div id="result-map-{{ index }}" class="invisible"><div id="osm-map-{{ index }}" style="height:300px; width:100%; margin: 10px 0;" ></div></div> Reported-by: https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-09[fix] openstreetmap - fix some minor whitespace & indentation issuesMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-09[enh] openstreetmap / map template: improve resultsAlexandre Flament
implements ideas described in #69 * update the engine * use wikidata * update map.html template
2021-06-02Merge pull request #124 from return42/searx-mergeAlexandre Flament
merge redis offline engine from searx
2021-06-01[mod] remove overpass API callAlexandre Flament
prepare the code the PR #90
2021-06-01[fix] correct kv template formatting and remove internal dataAdam Tauber
Slightly modified merge of commit [ea7ccf24] from searx. [ea7ccf24] https://github.com/searx/searx/commit/ea7ccf24 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-15[mod] oscar's "default" template should make use of result.thumbnailMarkus Heiser
Some engine do have set result.img_src, other return a result.thumbnail. If result.img_src is unset and a result.thumbnail is given, show it to the UI. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-03-17[mod] oscar: remove spaceAlexandre Flament
* reduce by 15% the uncompressed output (on average) * dos2unix searx/templates/oscar/result_templates/files.html
2020-11-30Add recoll engine (#2325)Noémi Ványi
recoll is a local search engine based on Xapian: http://www.lesbonscomptes.com/recoll/ By itself recoll does not offer web or API access, this can be achieved using recoll-webui: https://framagit.org/medoc92/recollwebui.git This engine uses a custom 'files' result template set `base_url` to the location where recoll-webui can be reached set `dl_prefix` to a location where the file hierarchy as indexed by recoll can be reached set `search_dir` to the part of the indexed file hierarchy to be searched, use an empty string to search the entire search domain
2020-10-08add ebay enginte to shopping categoryNoémi Ványi
2020-09-08[enh] Add command line engines: git grep, find, etc. (#2128)Noémi Ványi
A new "base" engine called command is introduced. It is the foundation for all command line engines for now. You can use this engine to create your own command line engine. Add some engines (commented out to make sure no one enables anything accidentally): * git grep: This engine lets you grep in the searx repo. * locate: If locate is installed and initialized, you can search on the FS. * find: You can find files with a specific name from where you started searx. * pattern search in files: This engine utilizes the command fgrep. * regex search in files: This engine runs `grep` to find a file based on its contents.
2020-06-28[fix] add aria labels to result links - #350Adam Tauber
2020-06-25[fix] remove redundant alt texts from images in Videos, Social Media and ↵Adam Tauber
Music results - #350
2020-06-09[enh] add length and author details to youtube videosAdam Tauber
closes #775
2019-12-10theme: oscar - tidy up trailing whitespaces and tab usageMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10Merge branch 'master' of https://github.com/asciimoo/searx into dos2unixMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10[mod] tidy oscar HTML outputDalf
2019-12-08themes: remove CR from newlinesMarkus Heiser
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>
2019-11-24add seedpeer againMarc Abonce Seguin
2019-10-16add initial support for offline engines && command engineNoémi Ványi
2019-08-06Add image format and source information to display (#1567)Frank de Lange
Add image format and source information to display - needs changes to engines to actually display something. Displays result.source (website from which the image was taken) and result.img_format (image type and size). Result is styled with result-format and result-source classes. See PR #1566 for an example of an engine which has the necessary changes. Strip <span class="highlight">...</span> in the oscar image template.
2019-07-25[mod] restore btdigg engine as btdig.com (#1515)volth
2017-01-03Revert "Merge pull request #793 from kvch/pics-modal"Noémi Ványi
This reverts commit bff41987a49af9ae53ff9fc3494fa7973ac03500, reversing changes made to d08108be6293c8764f0d1d950a7aab283cddffed.
2017-01-03Revert "Merge pull request #799 from kvch/modal-arrows"Noémi Ványi
This reverts commit 79ceb13577fcc83eabe642a4ed6dd793b7bf0d4b, reversing changes made to eaa0fb8102825fa4ccdb348429fdbf39837921be.
2016-12-30[fix] change modal glyphicon arrows to image iconsNoémi Ványi
2016-12-29fix opening of result on new tabNoémi Ványi
2016-12-29add own pics modal windowNoemi Vanyi
2016-12-09[enh] add author to image result contentAdam Tauber
2016-10-22[fix] images modal with infinite scrollNoémi Ványi
2016-09-06[enh] more compact image results ++ fixed modal linksAdam Tauber
2016-09-06[fix] replace modal-content class to prevent remote content loadAdam Tauber
details: http://stackoverflow.com/questions/18378720/bootstrap-3-with-remote-modal
2016-09-04[fix] links in new tabs without js ++ noopener bug fix - closes #674Adam Tauber
2016-04-21[fix] use old system if there is no img_srcThomas Pointhuber
2016-04-21[enh] add img_src to default result templateThomas Pointhuber
2015-04-26[enh] implements #264 : add rel="noreferrer" to external linksAlexandre Flament
2015-02-13Some RTL fixesCqoicebordel
- Pull the suggestions to the right in oscar - Add `&lrm;` to a few places to print good url - Always LTR code display - Order pref label and info in pref for mobile view And add `sort` for ui languages and languages to find them more easily.
2015-02-11Maps data must be LTR in RTLCqoicebordel
2015-02-11Import result_footer_rtl in video so it doesn't crash...Cqoicebordel
2015-02-10Merge branch 'rtl' of github.com:Cqoicebordel/searxAdam Tauber
2015-01-18Proxify most of images referencesdalf
Create hash only when necessary
2015-01-17Test its existence before using thumbnail_srcCqoicebordel
Thanks @pointhi !
2015-01-17Tiny forgotsCqoicebordel