summaryrefslogtreecommitdiff
path: root/searx/templates
AgeCommit message (Collapse)Author
2024-09-15[fix] Removes ``/>`` ending tags for void HTML elementsGrant Lanham
Removes ``/>`` ending tags for void elements [1] and replaces them with ``>``. Part of the larger cleanup to cleanup invalid HTML throughout the codebase [2]. [1] https://html.spec.whatwg.org/multipage/syntax.html#void-elements [2] https://github.com/searxng/searxng/issues/3793
2024-09-14[fix] search: crash when no engines are used to searchBnyro
2024-09-03[mod] enable calculator and allow plugin on public instancesMarkus Heiser
Remove quirks that prevented the Calculator from being used on public instances. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-03[feat] results: show response timesGenericMale
2024-08-28[fix] search: don't show categories without active engineGenericMale
2024-07-28[fix] fix issues in the language menue introduced by PR #3645Markus Heiser
In my review of [1] I tried to reformat the template code of the language menue whereby I have made two mistakes. - default language was added twice - in the 'Auto-detect' item a hard coded `[auto]` was implemented where the `search_language` variable was needed. [1] https://github.com/searxng/searxng/issues/3645 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-27[feat] videos template: support for view countBnyro
2024-07-27[fix] products template: don't quote html tags in result.contentMarkus Heiser
The result.content field is *safe* HTML, tags to highlight search terms are intended. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-14[mod] UX: flush flag icon to right in language select option valuesGrant Lanham
If the flag icon is first, it prevents easily searching the select list on the keyboard. By moving the icon fully to the right, this will enable a user to search the select list. Closes: https://github.com/searxng/searxng/issues/3645
2024-06-15[perf] torrents.html, files.html: don't parse and re-format filesizeBnyro
2024-05-16[mod] simple theme: drop img_src from default resultsMarkus Heiser
The use of img_src AND thumbnail in the default results makes no sense (only a thumbnail is needed). In the current state this is rather confusing, because img_src is displayed like a thumbnail (small) and thumbnail is displayed like an image (large). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-15[mod] package.html template: additional links (a python dict)Daniel Kukula
- Closes: https://github.com/searxng/searxng/issues/3456
2024-05-09[feat] plugins: new calculator pluginBnyro
2024-05-04[fix] respect user preferences to open links in new tab for short answersYaksh Bariya
Previously only result urls were set to open in new tab by default, this should make the behaviour consistent. Also adds the missing rel="noreferrer" to the anchor tag. Although this should not be needed as long as the `referrer-policy: no-referrer` header is set, it's always nice to play safer than to have to say sorry. For example some reverse proxy configurations might strip off unwhitelisted headers in which case it's nice to have this set.
2024-04-27improve "search existing issues from github" linkJinyuan Huang
2024-04-27[feat] preferences: button to enable/disable all enginesBnyro
2024-04-27[fix] ionic.io/ionicons - add back missing class="ionicon"Markus Heiser
Seems to me svg2jinja added the class in the past .. but no longer in new builds / this patch adds the class back by using addAttributesToSVGElement [1]. To test this patch use: $ ./manage themes.simple $ cat searx/templates/simple/icons.html and check `class="ionicon"` is in the outer `<svg ..>` tags. [1] https://svgo.dev/docs/plugins/add-attributes-to-svg-elements/ [2] https://ionic.io/ionicons Closes: https://github.com/searxng/searxng/issues/3383 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-18[feat] template: add apple-touch-icon in html headermrpaulblack
* this makes it possible to add SearXNG to iOS devices homescreen with a proper icon
2024-04-08[fix] new builds of icons.html do miss class="ionicon"Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-08[build] /staticMarkus Heiser
2024-02-25[feat] images: show resolution inside the image and fix image details overflowBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-25[refactor] images: add resolution, image format and filesize fieldsBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-25[feat] templates: add package result templateBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-25[fix] opensearxh.xml: firefox v123 does not except self-URI (URL with param)Markus Heiser
Before this patch we had a address in the rel-self-template with params [1]: GET:: <Url method="GET" rel="self" template="/opensearch.xml?method=GET&amp;autocomplete=google" type="application/opensearchdescription+xml"/> POST:: <Url method="POST" rel="self" template="/opensearch.xml?method=POST&amp;autocomplete=google" type="application/opensearchdescription+xml"/> The first one (GET) is no longer accepted by firefox since v123, the latter one was always been wrong (since it mixes GET params with a POST request). Since Firefox v123 a template syntax [2] in the rel-self-template is no longer supported / Firefox will report an error:: Firefox could not download the search plugin from: http://127.0.0.1:8888//opensearch.xml?method=GET&autocomplete=google This patch reduce the URL to:: template="http://127.0.0.1:8888/opensearch.xml" [1] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#url-rel-values [2] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#opensearch-url-template-syntax Closes: https://github.com/searxng/searxng/issues/3227 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-10[mod] footer: i18n for the link names in the footerMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-10[feat] footer: support for custom entriesBnyro
2024-02-01[fix] remove missing link icon macroallixx
2024-01-31Remove rtl exceptionHermógenes Oliveira
This right-to-left exception doesn't seem to be called for.
2024-01-31Fix media exposure toggleHermógenes Oliveira
Make initially hidden and the toggle button consistent.
2024-01-31Provide template for results in file categoryHermógenes Oliveira
This is used, for instance, by the recoll engine.
2024-01-31[fix] justify engines/cached/proxied verticallyallixx
2024-01-29[feat] preferences: button to copy input to restore preferences hashBnyro
2023-12-23[mod] simplify no results on pages > 1 to "There are no more results."Markus Heiser
BTW: remove not needed whitespaces in the generated HTML Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-12-23[mod] Change no results error message based on page numberobfuscated-loop
2023-12-23[mod] Capitalize theme names/styles in theme.html view fileJay
2023-11-27[mod] Retain page numbers even when there are no resultsobfuscated-loop
2023-11-10add a "copy" button to the "search-url" sidebarJinyuan Huang
2023-10-31Check `public_instance` in simple themesev
Fix #2975
2023-09-28[fix] categories.html: can't select social media category using search on ↵Bnyro
category select
2023-09-25solve #2839Jinyuan Huang
2023-09-19better error message when no results foundEmilien Devos
2023-09-19[mod] preferences: implement drop-down menu for hotkeys (default, vim)Markus Heiser
Replace the on/off checkbox of the vim-hotkeys in the preferences by a drop-down menu. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-18[feat] search on category select without JSBnyro
Co-authored-by: Alexandre Flament <alex@al-f.net>
2023-09-18[fix] spellingjazzzooo
2023-09-11[feature] dark theme for code highlighter in the result listMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/1354 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-09[fix] preferences - layout of the "special queries" tabMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-27[feat] settings: replace boolean select preferences with checkboxesBnyro
2023-08-18[feat] results: show source of suggested answerBnyro
2023-08-14[fix] preferences: change engine table category colspan to 8mrpaulblack
* this is a small fix to increase the colspan of the category in engine preferences from 7 to 8, since there was a column added => fixing a small fallout from 473129031710973e3c02e7178085b751b5e821ed
2023-08-10[mod] settings: show weight of each instanceBnyro