summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/base.html
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-20[mod] infinite_scroll as preferenceAlexandre Flament
* oscar theme: code from searx/plugins/infinite_scroll.py * simple theme: new implementation Co-authored-by: Markus Heiser <markus.heiser@darmarIT.de>
2021-10-12[fix] templates: lang attribute of html uses hyphenAlexandre Flament
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-lang https://www.w3.org/TR/REC-xml/#sec-lang-tag
2021-09-30SearXNG: oscar themeAlexandre Flament
2021-09-12[theme] link to engine stats in footerMrPaulBlack
2021-07-30version based on the git repositoryAlexandre Flament
This commit remove the need to update the brand for GIT_URL and GIT_BRANCH: there are read from the git repository. It is possible to call python -m searx.version freeze to freeze the current version. Useful when the code is installed outside git (distro package, docker, etc...)
2021-07-21[mod] drop usage of the searx.brand namespace (templates & /config)Markus Heiser
In the templates and the /config (JSON) the usage of the 'brand.*' name space is replaced by 'searx.get_setting' function. - new_issue_url --> get_setting('brand.new_issue_url') - brand.GIT_URL --> get_setting('brand.git_url') - brand.PUBLIC_INSTANCES --> get_setting('brand.public_instances') - brand.DOCS_URL --> get_setting('brand.docs_url') - brand.ISSUE_URL --> get_setting('brand.issue_url') - brand.CONTACT_URL --> get_setting('general.contact_url', '') The macro 'new_issue' from searx/templates/*/messages/no_results.html is now imported with context:: {% from '__common__/new_issue.html' import new_issue with context %} To get *public instances URL* from context's 'get_setting()' function:: get_setting('brand.public_instances','') Macro's prototype does no longer need the 'new_issue_url' argument and has been changed to:: macro new_issue(engine_name, engine_reliability) Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-22More brandingAlexandre Flament
2021-04-05[enh] oscar: image thumbnail layoutAlexandre Flament
Adjust thumbnail sizes to fill the container width
2021-03-16[mod] replace /translations.js by embedded JSONAlexandre Flament
In webapp.py, there is a new function "get_translations" lists available translations Close #2064
2021-03-11[mod] oscar: get leaflet and jquery from NPMAlexandre Flament
easy to upgrade (package.json)
2021-03-10[mod] oscar: remove polyfills for Internet ExplorerAlexandre Flament
2021-03-10[mod] theme: remove require-2.1.15.min.jsAlexandre Flament
See https://github.com/requirejs/requirejs/issues/1816 requirejs loads one file: leaflet. This commit: * removes requirejs * load leaflet using <script src...> HTML tag in searx/templates/oscar/base.html
2020-12-18[mod] Makefile: make CONTACT_URL optionalAlexandre Flament
2020-12-18Add link to contact instance maintainer to footer of each page (#2391)BBaoVanC
2020-10-06[fix] opensearch.xml URL contains method and autocomplete parametersAlexandre Flament
When the user add searx as a search engine, the browser loads the /opensearch.xml URL without the cookies. Without the query parameters, the user preferences are ignored (method and autocomplete). In addition, opensearch.xml is modified to support automatic updates, see https://developer.mozilla.org/en-US/docs/Web/OpenSearch
2020-06-28[fix] rewrite overflow:none as none is an invalid property - $350Adam Tauber
2020-06-27Make Oscar theme scalableNoémi Ványi
2020-06-25[fix] change lang attribute of the html to match the current locale - #350Adam Tauber
2020-06-15[enh] add translatable strings to javascript - closes #461Adam Tauber
2020-06-04[enh] add unique class for each endpoint - closes #1133Adam Tauber
2020-03-25brands: add ISSUE_URLMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-25[fix] brands: add variables from build env to jinja templatingMarkus Heiser
We have some variables in the build environment which are also needed in the templating process. Theses variables are relavant if one creates a fork with its own branding. We treat these variables under the term 'brands'. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-14[mod] move public instance list to https://searx.spaceDalf
2019-12-10[mod] tidy oscar HTML outputDalf
2019-08-06oscar and simple themes: no inline script (allow A+ Content-Security-Policy)Dalf
2017-12-12add links to footers of oscar and simple themesNoémi Ványi
Links: * Source code * Issue tracker * List of public instances Closes #1071
2017-12-05[enh] make custom oscar option configurable from urlAdam Tauber
2017-01-27[fix] do not show glyph icons if noscript is enabled - #838Adam Tauber
2016-11-14[enh] display errorsAdam Tauber
also tried flask's flash feature but flask creates session cookies if it isn't flushed. Avoiding session cookies to preserve privacy
2016-11-01[fix] menu without js - closes #747Adam Tauber
2016-08-15uncapitalize searx in templatesNoémi Ványi
2016-07-16[fix] do not replace image href urls - closes #594Adam Tauber
These lines were added to fix a js image load issue (#535) what i cannot reproduce. Hopefully we don't see it again
2016-06-26[enh] oscar theme redesign addedAdam Tauber
The original code made by @logico-dev (#559)
2016-04-10[fix] clear image link if javascript enabled - closes #535Adam Tauber
2016-03-04[fix] docs url mod to prevent http redirectAdam Tauber
2016-03-04Merge pull request #473 from GreenLunar/patch-2Adam Tauber
Update link to documentation page
2016-02-27[enh] settings option to change instance name - closes #450Adam Tauber
2015-12-23Update link to documentation pageGreenLunar
2015-04-26[fix] #264 : implementation using Referrer Policy (Editor’s Draft, 3 March ↵Alexandre Flament
2015) see http://w3c.github.io/webappsec/specs/referrer-policy/
2015-04-12[enh] plugins: client side dependency supportAdam Tauber
2015-02-14Remove whitespace caused by Jinja commandsCqoicebordel
Adding this conf change will remove every newline created by a Jinja command (`{% %}`). It can save a bit of bandwidth.
2015-02-10Merge branch 'rtl' of github.com:Cqoicebordel/searxAdam Tauber
2015-01-18Revert: [enh] add new bootstrap-themes to oscar-templateThomas Pointhuber
2015-01-18[enh] show js warning only if menu can't be used or inside preferencesThomas Pointhuber
2015-01-18[enh] add new bootstrap-themes to oscar-templateThomas Pointhuber
2015-01-15[enh] show text "Start search" instead of icon, if javascript is disabledThomas Pointhuber
2015-01-15[enh] disable js-based links if no js is availableThomas Pointhuber
2015-01-15[enh] add nojs support into oscar-templateThomas Pointhuber
2015-01-10[enh] add rss-link which can be detected by browsersThomas Pointhuber