searxng/searx/static/themes/oscar
Martin Fischer bfc9207171 [fix 1/3] display checkboxes by default
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.
2022-01-07 11:33:01 +01:00
..
css [build] /static 2022-01-07 08:36:32 +01:00
fonts [mod] oscar: get bootstrap and typeahead from NPM 2021-03-11 09:33:01 +01:00
img [fix] oscar theme: use SearXNG logo and wordmark 2021-11-26 16:43:18 +01:00
js [build] /static 2021-12-31 09:14:38 +01:00
src [fix 1/3] display checkboxes by default 2022-01-07 11:33:01 +01:00
.gitignore [themes] ignore packages-lock.json 2021-06-22 08:17:06 +02:00
gruntfile.js SearXNG: oscar theme 2021-09-30 18:50:21 +02:00
package.json [mod] upgrade grunt-contrib-concat: ~2.0.0 2021-10-21 08:26:42 +00: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