forked from Archives/searxng
9d106ae972
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> |
||
---|---|---|
.. | ||
css | ||
fonts | ||
img | ||
js | ||
src | ||
.gitignore | ||
gruntfile.js | ||
package.json | ||
README.rst |
install dependencies ~~~~~~~~~~~~~~~~~~~~ run this command in the directory ``searx/static/themes/oscar`` ``npm install`` compile sources ~~~~~~~~~~~~~~~ run this command in the directory ``searx/static/themes/oscar`` ``grunt`` or in the root directory: ``make grunt`` directory structure ~~~~~~~~~~~~~~~~~~~ see: - gruntfile.js - package.json ************* css directory ************* - ``bootstrap*``: bootstrap NPM package, - ``leaflet.*``: leaflet NPM package - ``leaflet.min.css``: minimized version of ``leaflet.css`` (see gruntfile.js) - ``logicodev.*``: compiled from ``src/less/logicodev`` - ``logicodev-dark*``: compiled from ``src/less/logicodev-dark`` - ``pointhi*``: compiled from ``src/less/pointhi`` - ``images``: leaflet NPM package ************** font directory ************** - from bootstrap NPM package ************ js directory ************ - ``searx.*``: compiled from ``src/js`` - other files are from NPM packages ************* img directory ************* - images for the oscar theme