mirror of
https://github.com/searxng/searxng.git
synced 2024-11-24 03:40:59 +00:00
ad528c706e
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> |
||
---|---|---|
.. | ||
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 packageleaflet.min.css
: minimized version ofleaflet.css
(see gruntfile.js)logicodev.*
: compiled fromsrc/less/logicodev
logicodev-dark*
: compiled fromsrc/less/logicodev-dark
pointhi*
: compiled fromsrc/less/pointhi
images
: leaflet NPM package
font directory
- from bootstrap NPM package
js directory
searx.*
: compiled fromsrc/js
- other files are from NPM packages
img directory
- images for the oscar theme