mirror of
https://github.com/searxng/searxng.git
synced 2025-12-27 22:20:02 +00:00
Based on commits -0507e185[fix] bar graph and rename CSS class engine-scores -> engine-score -3e9ad7ae[fix] make /stats more CSP compliant - github issue form -34859d0e[fix] make /stats more CSP compliant - oscar theme -0a6c4884[fix] make /stats more CSP compliant - simple theme -cdfb4b7f[fix] make /stats more CSP compliant - bar graph -965817f2[fix] simple theme - generate missing sourceMap file this patch is generated by:: make themes.all Reported-by: https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
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