summaryrefslogtreecommitdiff
path: root/searx/templates
AgeCommit message (Collapse)Author
2022-09-27[fix] typos / reported by @kianmeng in searx PR-3366Markus Heiser
[PR-3366] https://github.com/searx/searx/pull/3366 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-09-24[mod] paper.html: simplify template by using result_link macroMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-09-24[mod] paper.html: add links to doi resolverMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-09-23[mod] science category: various update of about PR 1705Alexandre Flament
2022-09-23Add paper.html result templateAlexandre FLAMENT
2022-09-21[fix] wording: SearXNG is 'open' and not 'hackable'Markus Heiser
The word "hackable" may arouse interest in programmers to participate in the development, but it scares the ordinary user. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-09-04Merge pull request #1743 from dalf/update_about_metricsAlexandre Flament
Update about the metrics
2022-09-04[mod] option 'ui: cache_url:' to configure internet cache or archiveMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-09-02template: when enable_metrics are disabled, hide the empty statsAlexandre FLAMENT
when metrics are disabled: * hide the link to /stats at the bottom of the pages * in /preferences, hide the columns "Response time" and "Reliability"
2022-09-02Stats: display only the score per result, no anymore the scoreAlexandre FLAMENT
2022-08-11[fix] improve OpenSearch descriptionMarkus Heiser
Some HTTP-Clients do have issues with the ``opensearch.xml`` from SearXNG (related [1][2]) while other OpenSearch descriptions[3] (e.g. from qwant) work flawles. Inspired by the OpenSearch description from qwant and with informations from the specification[4] the ``opensearch.xml`` has been *improved*. - convert `<Url>` methods from lower case to upper case (`POST`|`GET`) - add `<moz:SearchForm>` and `xmlns:moz="http://www.mozilla.org/2006/browser/search/"` - add `<Query role="example" searchTerms="SearXNG" />` [4] OpenSearch description documents should include at least one Query element of `role="example"` that is expected to return search results. Search clients may use this example query to validate that the search engine is working properly. - modified `<LongName>` to SearXNG - modified `<Description>` the word 'hackable' scares uninitiated users and was removed - add the `type="image/png"` to `<Image>` Test can be done by:: make run Visit http://127.0.0.1:8888/ and add the search engine to your WEB-Browser / test with different WEB-Browser from desktop and Smartphones (are there any iOS user here, please test on Safari and Chrome). [1] https://app.element.io/#/room/#searxng:matrix.org/$xN_abdKhNqUlgXRBrb_9F3pqOxnSzGQ1TG0s0G9hQVw [2] https://github.com/searxng/searxng/issues/431 [3] https://developer.mozilla.org/en-US/docs/Web/OpenSearch [4] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#the-query-element Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-17[fix] preferences: missing option valueLéon Tiekötter
Fix missing option value "0".
2022-07-10[mod] allow brand.issue_url to overwrite the step1 urlLéon Tiekötter
2022-07-08Submit GH bug: ask the user to do some checks before submitting a new issueAlexandre Flament
2022-07-07Merge pull request #1428 from return42/fix-center_aligmentAlexandre Flament
fix typo and document preference 'center_alignment' in the 'ui' section
2022-07-04[mod] link to public-instances can be set to hiddenXavier horwood
Some administrators may want to hide the link to public_instances: If you run a private instance for a company that wants there employees to use the private instance instead of any of the public instances.
2022-07-03[fix] typo: add missing 'n' in center_aligment --> center_alignmentMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-02Merge pull request #1404 from dalf/donation_use_external_linkMarkus Heiser
Donation link: default value to searxng.org, can be hidden or custom
2022-07-02map.html: display the intended text for the links instead of the URLAlexandre Flament
For example display "Tokyo (en)" instead of https://en.wikipedia.org/wiki/Tokyo
2022-07-02Donation link: default value to searxng.org, can be hidden or customAlexandre Flament
Add a new setting: general.donation_url By default the value is https://docs.searxng.org/donate.html When the value is false, the link is hidden When the value is true, the link goes to the infopage donation, the administrator can create a custom page.
2022-07-02[build] /staticAlexandre Flament
2022-07-02Theme: all top right icons have labels including "Preferences"Alexandre Flament
2022-06-25[build] /staticAlexandre Flament
2022-06-25Theme: add Help and Donate links in all pagesAlexandre Flament
Close https://github.com/searxng/searxng/issues/931
2022-06-20[fix] clean up templates / remove import of result_footer_rtl macroMarkus Heiser
A macro named 'result_footer_rtl' does not exists. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-06-18Merge pull request #1287 from dalf/style-center-2ndAlexandre Flament
Theme: add a preference to center the results (Oscar) (2nd edition)
2022-06-18Workaround: index.html: remove image preloadAlexandre Flament
Related to https://github.com/searxng/searxng/issues/1326 URL for the logo is referenced twice: * in index.html for preloading: it contains the hash for cache busting (when static_use_hash: true) * in searxng.min.css: to actually display the image. The URL doesn't contain the hash. So the image preload actually loads twice the same image. This commit removed the image preloading. This is workaround: the real fix is to be able to use the URL with the hash in the CSS.
2022-06-18Theme: add a preference to center the results (Oscar) (2nd edition)Alexandre Flament
related to * #1169 * #1281 * #1286
2022-06-16Add privacypolicy_url optionsamsaptidev
2022-06-05Revert "Theme: add a preference to center the results (Oscar)"Alexandre Flament
This reverts commit 4237f5fd50c2dc0e91513056d885f25038ef6787.
2022-06-05Theme: add a preference to center the results (Oscar)Alexandre Flament
related to #1169
2022-05-18Template images.html: lazy by JS the full size imageAlexandre FLAMENT
Remove lazy loading by browser / width / height: JS is required to display this HTML fragment anyway. Simplify the HTML template.
2022-05-15Preferences URL in preferencesJulian Fairfax
Revert translation changes Auto-save preferences from URL Preferences URL in preferences Fix that Preferences URL in preferences
2022-05-11[simple theme] add products.html templatemrpaulblack
2022-05-07theme: remove __common__Alexandre Flament
2022-05-07[mod] client_settings: pass settings from server to JS clientMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
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-04-30[theme] peel out oscar from SearXNG developmentMarkus Heiser
This is the first step of removing oscar theme Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-04-19[fix] add missing result.length and result.author to simple themeMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/1027 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-04-07Revert "[fix] return correct favicon path"Émilien Devos
This fixes https://github.com/searxng/searxng/issues/1057 This reverts commit f99d109ceb0692d70e473b6f6eb6ab8c53bd5346.
2022-04-06[simple theme] add netloc to image result articlesmrpaulblack
2022-03-29Merge pull request #1023 from austinhuang0131/masterAlexandre Flament
[fix] return correct plugin path
2022-03-29[fix] merge fake "plugins" endpoint back to "static"Austin Huang
https: //matrix.to/#/!vxScbLNEAmRvOraXBn:matrix.org/$0zqTtH3s-eVKlMwiAgiEJdetOkRx27EIRs-C0o8FzSg?via=libera.chat&via=matrix.org&via=tchncs.de Co-Authored-By: Alexandre Flament <alex.andre@al-f.net>
2022-03-28[fix] return correct favicon pathAustin Huang
2022-03-28Merge pull request #967 from return42/language-filterAlexandre Flament
[mod] add flags to the languages filter
2022-03-28[fix] return correct plugin pathAustin Huang
closes #1021
2022-03-26Merge pull request #1004 from MontyQI/search_urlAlexandre Flament
Search_url only if method is POST
2022-03-26Search_url only if method is POSTMonty
Shows search_url only if method is set to POST.
2022-03-24[simple theme] refactor search formMonty
* update search input form params; inspiried by whoogle * remove autofocus from result page input form (JS impl. as well as input param) -> autofocus on landing page still works only on desktop and tablet with JS impl. * update landing page margins on mobile * rework border and radius for search form to 0.8rem and outline * remove positioning from autocomplete JS lib and use CSS impl. * match search box and autocomplete width * rework search form to a google like design on mobile * fix settings icon display withg RTL on mobile on result page when search input is empty
2022-03-19simple theme: JS version: the reset button clear the textAlexandre Flament
The <input type="reset"> introduced in the PR 894, restores the default value. It works in the index page, but it doesn't work in the /search page: the reset button restore the initial query. This PR: * fix the JS version: the reset button clear the text * keep the clear button in the / page * hide the clear button in the /search page