mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
![]() The search tabs are actually labels for checkboxes because multiple can be selected. To still make them work like tabs the plugin search_on_category_select adds a JavaScript that submits the form on label click. The problem with this is that when the plugin is disabled (e.g. because JavaScript is disabled or a user chose to disable it in the settings), then the tabs still look like tabs but act as checkboxes (which is very confusing). This commit changes fixes this so that the checkboxes are visible by default. The next commit makes the plugin hide them again. This way they are visible when the plugin is disabled ... as they should be. |
||
---|---|---|
.. | ||
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