summaryrefslogtreecommitdiff
path: root/searx/static/themes/oscar/src
AgeCommit message (Collapse)Author
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