summaryrefslogtreecommitdiff
path: root/searx/static/themes/oscar/src
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-04-30[upd] ./manage pyenv.cmd searxng_extra/update/update_pygments.pyMarkus Heiser
After each update of the pygments version, we (or github action) should [1] 1. update less files: ./manage pyenv.cmd searxng_extra/update/update_pygments.py update: static/themes/oscar/src/generated/pygments-logicodev.less update: static/themes/oscar/src/generated/pygments-pointhi.less update: static/themes/simple/src/generated/pygments.less 2. rebuild the static files of each themes: make static.build.commit [1] https://github.com/searxng/searxng/pull/2#issuecomment-826958666 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-26[simple theme] replace Image_layout.js with flexbox CS impl.mrpaulblack
* drop image_layout.js from simple theme * move image_layout.js to oscar theme and delete common js dir (since its empty now) * align top position of image detail modal with bottom position of search header * use flexbox to display images; row height can be set via @results-image-row-height in defenitions.less * display span title underneath each image with a max width of 12rem * increase margin and padding around image article on desktop and tablet * make article height smaller on phone layout (height of 6rem) to display more content on current view * remove content from result, if the title and content matches * use a group that cotains the flex image article, if images are mixed with other categories * fix pylint issues in webapp.py * use the default.html result template in unit tests (thanks @return42)
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>
2022-01-07make pygments.lessMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-31make pygments.lessMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-26[oscar theme] center search on index and use logo with ponthimrpaulblack
2021-10-28[enh] simple theme: image detailAlexandre Flament
When an image is selected, the detail with the full size image is displayed on the right side of the screen (or full screen on tablet and phone). When Javascript is disabled, the thumbnail is a linked to the full size image, as it was before. When the image proxy is enabled, the full size image is also proxied, in consequence this commit increases the bandwidth usage of instances. The detail can be closed by the close button or the Esc key. It is possible to go to the next and previous images using the j and k keys or the button on the top right of the screen.
2021-10-03[build] /staticAlexandre Flament
2021-10-01SearXNG: simple themeAlexandre Flament
2021-09-30SearXNG: oscar themeAlexandre Flament
2021-09-24[enh] themes: display the engine descriptionsAlexandre Flament
2021-09-19[fix] Oscar theme: fix input field on SafariAlexandre Flament
close #323
2021-09-07[fix] oscar theme - preferences: rename col-checkbox/col-statMarkus Heiser
[1] https://github.com/searxng/searxng/pull/295#discussion_r703318053 [2] https://github.com/searxng/searxng/pull/295#discussion_r703337237 Suggested-by: @dalf [1] [2] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-07[fix] make oscar theme more CSP compliant - col-checkboxMarkus Heiser
Add col-checkbox in:: searx/static/themes/oscar/src/less/preferences.less Replaced style in file:: searx/templates/oscar/preferences.html Reported-by: https://github.com/searxng/searxng/issues/57 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[build] /staticMarkus Heiser
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-22[mod] make themes.all update pygments*.lessAlexandre Flament
Add a searx/static/themes/*/src/generated empty folder
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-01[mod] remove overpass API callAlexandre Flament
prepare the code the PR #90
2021-05-17[fix] make /stats more CSP compliant - bar graphMarkus Heiser
Replace bar graph's *styles* (see below) by CSP compliant implementation in ``searx/static/themes/__common__/less/stats.less`` :: ./simple/stats.html:49: <span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}} ./simple/stats.html:57: <span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}} ./simple/stats.html:58: <span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"></span>{{- "" -}} ./oscar/stats.html:50: <span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}} ./oscar/stats.html:58: <span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}} ./oscar/stats.html:59: <span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"></span>{{- "" -}} Reported-by: https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-28[fix] new_issue.html: drop inline style attributes (CSP conformance)Markus Heiser
Inline styles are blocked by default with Content Security Policy (CSP). Move the inline styles from 'new_issue.html' to:: searx/static/themes/__common__/less/new_issue.less Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-26[upd] ./manage pyenv.cmd searx_extra/update/update_pygments.pyMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-24[mod] /stats : add reliability column and sort by column linksAlexandre Flament
2021-04-24[mod] update /statsAlexandre Flament
2021-04-21[mod] oscar: /preferences , engines tab: report engine timesAlexandre Flament
* display the median time instead of the average. * add a "Reliability" column (sum up the metrics and the checker results). * the "selected language", "SafeSearch", "Time range" values are displayed as "broken" when the checker tests fail.
2021-04-05[enh] oscar: image thumbnail layoutAlexandre Flament
Adjust thumbnail sizes to fill the container width
2021-03-28fix dark "expand" button from infoboxMarc Abonce Seguin
2021-03-22[mod] preferences: a tooltip is shown when the mouse is over the engine namesAlexandre Flament
2021-03-21[mod] oscar: fix the sourcemap URL in *.min.cssAlexandre Flament
Close https://github.com/searx/searx/issues/2670 Note: clean-css contains a bug: * a multiline comment or URL adds "$stdin" to the sourcemap (see src/less/logicodev/search.less) * in this case when the user opens the devtools, the browser fails to load this "https://.../$stdin" URL * it is not a problem and the error appears only when the user actively tries to debug the CSS. * seems related to https://github.com/jakubpawlowicz/clean-css/issues/593
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-16[mod] upgrade pygmentsAlexandre Flament
add searx_extra/update/update_pygments.py to update the css style of the oscar and simple themes.
2021-03-11[mod] oscar: get bootstrap and typeahead from NPMAlexandre Flament
2021-03-11[mod] oscar: get leaflet and jquery from NPMAlexandre Flament
easy to upgrade (package.json)
2021-03-10[mod] oscar: move compiled files to the src directoryAlexandre Flament