1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-09 06:30:10 +01:00
searxng/searx/static/themes/oscar
Alexandre Flament 6553c79029 [mod] replace /translations.js by embedded JSON
In webapp.py, there is a new function "get_translations" lists available translations

Close #2064
2021-03-16 11:22:21 +01:00
..
css [mod] upgrade pygments 2021-03-16 09:07:08 +01:00
fonts [mod] oscar: get bootstrap and typeahead from NPM 2021-03-11 09:33:01 +01:00
img [mod] oscar: get leaflet and jquery from NPM 2021-03-11 09:32:22 +01:00
js [mod] replace /translations.js by embedded JSON 2021-03-16 11:22:21 +01:00
src [mod] replace /translations.js by embedded JSON 2021-03-16 11:22:21 +01:00
.gitignore .gitignore: make package-lock.json visible 2020-03-26 15:35:32 +01:00
gruntfile.js [mod] oscar: get bootstrap and typeahead from NPM 2021-03-11 09:33:01 +01:00
package.json [mod] oscar: get bootstrap and typeahead from NPM 2021-03-11 09:33:01 +01:00
README.rst [mod] oscar: update README.rst 2021-03-11 09:33:04 +01:00

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