summaryrefslogtreecommitdiff
path: root/searx/static
AgeCommit message (Collapse)Author
2023-06-02[mod] template preferences: split into elements (no functional change)Markus Heiser
HINT: this patch has no functional change / it is the preparation for following changes and bugfixes Over the years, the preferences template became an unmanageable beast. To make the source code more readable the monolith is splitted into elements. The splitting into elements also has the advantage that a new template can make use of them. The reversed checkbox is a quirk that is only used in the prefereces and must be eliminated in the long term. For this the macro 'checkbox_onoff_reversed' was added to the preferences.html template. The 'checkbox' macro is also a quirk of the preferences.html we don't want to use in other templates (it is an input-checkbox in a HTML form that was misused for status display). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-05-28[build] /staticmrpaulblack
2023-05-28[mod] simple theme: build design for details (collapsables)mrpaulblack
* set border top and bottom on sidebar collasables * inrease peading on summary so its easier to click on mobile * remove margins and add flex wrapper to normalize elements in sidebar
2023-05-28[mod] simple theme: collaps/expand elements in the sidebarMarkus Heiser
Make elements in the sidebar collapse able. Except infoboxes all elements in the sidebar are collapsed by default. By folding out the sidebar elements, the UI looks less cluttered. Especially on small devices like smartphones, where the sidebar is above the results list, the UX should be improved [1]. [1] https://github.com/searxng/searxng/issues/2140 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-05-05Bump grunt-contrib-cssmin in /searx/static/themes/simpledependabot[bot]
Bumps [grunt-contrib-cssmin](https://github.com/gruntjs/grunt-contrib-cssmin) from 4.0.0 to 5.0.0. - [Release notes](https://github.com/gruntjs/grunt-contrib-cssmin/releases) - [Changelog](https://github.com/gruntjs/grunt-contrib-cssmin/blob/main/CHANGELOG) - [Commits](https://github.com/gruntjs/grunt-contrib-cssmin/compare/v4.0.0...v5.0.0) --- updated-dependencies: - dependency-name: grunt-contrib-cssmin dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21[build] /staticMarkus Heiser
2023-04-15[build] /staticMarkus Heiser
2023-04-15[mod] Ignore autocomplete_min on queries that include '!' (!bang)Markus Heiser
Closes: https://github.com/searxng/searxng/issues/1566 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-15[build] /staticMarkus Heiser
2023-04-10[build] /staticMarkus Heiser
2023-04-10[mod] Update input when selecting by TABMarkus Heiser
When the user press [TAB] the input form should be filled with the highlighted item from the autocomplete list, but not release a search / with other words: what we now have by pressing once on [ENTER] should be mapped to the [TAB] key and pressing [ENTER] once should release a search query. [1] [1] https://github.com/searxng/searxng/issues/778#issuecomment-1016593816 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-10[mod] Update input when selecting autocomplete prediction with keyboardrinagorsha
- Update input when selecting autocomplete prediction with keyboard - Search immediately by pressing enter key - Search immediately by clicking on an autocomplete suggestion Related: - https://github.com/searxng/searxng/issues/778
2023-04-08[build] /staticMarkus Heiser
2023-04-08[mod] in the preference page, show !bang of subgrouping categoriesMarkus Heiser
The names of the subgrouping categories in the preference page are translated, to use this categories the user needs to know by which !bang the category can be selected. Related to "Make 'non tab category' bangs discoverable" in [#690]. Related: - [#690] https://github.com/searxng/searxng/issues/690 - https://github.com/searxng/searxng/issues/1604 - https://github.com/searxng/searxng/pull/1545 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-03-31Bump sharp from 0.31.3 to 0.32.0 in /searx/static/themes/simpledependabot[bot]
Bumps [sharp](https://github.com/lovell/sharp) from 0.31.3 to 0.32.0. - [Release notes](https://github.com/lovell/sharp/releases) - [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md) - [Commits](https://github.com/lovell/sharp/compare/v0.31.3...v0.32.0) --- updated-dependencies: - dependency-name: sharp dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-03-24Bump ionicons from 6.1.3 to 7.1.0 in /searx/static/themes/simpledependabot[bot]
Bumps [ionicons](https://github.com/ionic-team/ionicons) from 6.1.3 to 7.1.0. - [Release notes](https://github.com/ionic-team/ionicons/releases) - [Changelog](https://github.com/ionic-team/ionicons/blob/main/CHANGELOG.md) - [Commits](https://github.com/ionic-team/ionicons/compare/v6.1.3...v7.1.0) --- updated-dependencies: - dependency-name: ionicons dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-03-05[fix] remove duplicate key in simple theme ESLint configurationMarkus Heiser
Partial merge of [PR-1736] [PR-1736] https://github.com/searxng/searxng/pull/1736 Suggested-by: @FunctionalHacker in [1] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-02-04Bump grunt from 1.5.3 to 1.6.1 in /searx/static/themes/simpledependabot[bot]
Bumps [grunt](https://github.com/gruntjs/grunt) from 1.5.3 to 1.6.1. - [Release notes](https://github.com/gruntjs/grunt/releases) - [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG) - [Commits](https://github.com/gruntjs/grunt/compare/v1.5.3...v1.6.1) --- updated-dependencies: - dependency-name: grunt dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23[build] /staticmrpaulblack
2023-01-23[fix] use input elements for pagination requestsmrpaulblack
* use html input elements instead of buttons for the pagination forms at the bottom of the result page * move the less section that hides the pagination number widget on mobile to the mobile section * clean up the less code for styling the numbers of the pagination widget * fix: add the margin for box results (like in news category) to the bottom of the result to have a margin between pagination widget and article result
2023-01-23Feature: Pagination Widget with list of numbers.llmII
Adds to the navigation widget, preserving forward/backward nav, and inserting a list of clickable page numbers between them. Phone sized devices continue without this widget as deterministic display under small screen sizes has not been solved. The widget is agnostic to the actual amount of pages there are that one can navigate to and as such shows all plausible, albeit not necessarilly valid, possibilities. This widget does not interfere with infinite scroll in any fashion.
2023-01-08[build] /staticMarkus Heiser
2023-01-08Fix #2083llmII
This changes the Suggestions to be a single column, not a wrapping row, changing the input to be incapable of overflowing into visually adjacent elements.
2023-01-07[build] /staticMarkus Heiser
2023-01-07Add flex-wrap to the list of enginesahmad-alkadri
2023-01-06[build] /staticMarkus Heiser
2022-10-28[build] /staticMarkus Heiser
2022-10-28Bump svgo from 2.8.0 to 3.0.0 in /searx/static/themes/simpledependabot[bot]
Bumps [svgo](https://github.com/svg/svgo) from 2.8.0 to 3.0.0. - [Release notes](https://github.com/svg/svgo/releases) - [Changelog](https://github.com/svg/svgo/blob/main/CHANGELOG-old.md) - [Commits](https://github.com/svg/svgo/compare/v2.8.0...v3.0.0) --- updated-dependencies: - dependency-name: svgo dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23[build] /staticAlexandre FLAMENT
2022-09-23Add paper.html result templateAlexandre FLAMENT
2022-09-09Bump sharp from 0.30.7 to 0.31.0 in /searx/static/themes/simpledependabot[bot]
Bumps [sharp](https://github.com/lovell/sharp) from 0.30.7 to 0.31.0. - [Release notes](https://github.com/lovell/sharp/releases) - [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md) - [Commits](https://github.com/lovell/sharp/compare/v0.30.7...v0.31.0) --- updated-dependencies: - dependency-name: sharp dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-08-27[build] /staticAlexandre FLAMENT
2022-08-27Theme: fix autocompletion with the POST methodAlexandre FLAMENT
With the POST method, autocomplete.js does not URL encode the values. For example "1+1" is sent as "1+1" which is read as "1 1" since space are URL encoded with a plus. There is no clean way to fix the bug since autocomplete.js seems abandoned. The commit monkey patches the ajax function of autocomplete.js Related to #1695
2022-08-19[build] /staticMarkus Heiser
2022-08-19make pygments.lessMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-08[build] /staticAlexandre Flament
2022-07-08Submit GH bug: ask the user to do some checks before submitting a new issueAlexandre Flament
2022-07-04[build] /staticMarkus Heiser
2022-07-04[fix] style.less: move <dl> from infobox.attributes to .attributes classMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
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-25Theme: upgrade dependencies & minor update of the grunt scriptsAlexandre Flament
Remove webfont grunt script Update clean grunt script
2022-06-18[build] /staticAlexandre Flament
2022-06-18Theme: add a preference to center the results (Oscar) (2nd edition)Alexandre Flament
related to * #1169 * #1281 * #1286
2022-06-14[build] /staticMarkus Heiser
2022-06-14[fix] keyboard.js - highlightResult: don't steal focus on click eventMarkus Heiser
For keyboard navigation the highlightResult() function in keyboard.js steals the focus. On a mouse click event (non keyboard action) the focus should resist where it is, otherwise a marked region gets lost. This is the reason why text can't be selected when using simple theme with JS enabled. Closes: https://github.com/searxng/searxng/issues/794 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-06-13[build] /staticAlexandre Flament
2022-06-13UX fix: when the user clicks on the search input, don't move the cursor at ↵Alexandre Flament
the end Related to https://github.com/searxng/searxng/pull/1153#issuecomment-1154247988
2022-06-05[build] /staticAlexandre Flament