[enh] themes static content refactor
commit9f12605f7ebc9ca5575fc4ee9900e0e821366c4d
authorAdam Tauber <asciimoo@gmail.com>
dateThu 1 Jan 2015, 17:48 (12 years ago)
parente3957d6
searx/static/courgette/css/style.css → searx/static/themes/courgette/css/style.cssrenamed
The content is the same.
searx/static/courgette/img/bg-body-index.jpg → searx/static/themes/courgette/img/bg-body-index.jpgrenamed
Binary file not shown.
searx/static/courgette/img/favicon.png → searx/static/themes/courgette/img/favicon.pngrenamed
Binary file not shown.
searx/static/courgette/img/github_ribbon.png → searx/static/themes/courgette/img/github_ribbon.pngrenamed
Binary file not shown.
searx/static/courgette/img/icons/icon_dailymotion.ico → searx/static/themes/courgette/img/icons/icon_dailymotion.icorenamed
Binary file not shown.
searx/static/courgette/img/icons/icon_deviantart.ico → searx/static/themes/courgette/img/icons/icon_deviantart.icorenamed
Binary file not shown.
searx/static/courgette/img/icons/icon_github.ico → searx/static/themes/courgette/img/icons/icon_github.icorenamed
Binary file not shown.
searx/static/courgette/img/icons/icon_kickass.ico → searx/static/themes/courgette/img/icons/icon_kickass.icorenamed
Binary file not shown.
searx/static/courgette/img/icons/icon_soundcloud.ico → searx/static/themes/courgette/img/icons/icon_soundcloud.icorenamed
Binary file not shown.
searx/static/courgette/img/icons/icon_stackoverflow.ico → searx/static/themes/courgette/img/icons/icon_stackoverflow.icorenamed
Binary file not shown.
searx/static/courgette/img/icons/icon_twitter.ico → searx/static/themes/courgette/img/icons/icon_twitter.icorenamed
Binary file not shown.
searx/static/courgette/img/icons/icon_vimeo.ico → searx/static/themes/courgette/img/icons/icon_vimeo.icorenamed
Binary file not shown.
searx/static/courgette/img/icons/icon_wikipedia.ico → searx/static/themes/courgette/img/icons/icon_wikipedia.icorenamed
Binary file not shown.
searx/static/courgette/img/icons/icon_youtube.ico → searx/static/themes/courgette/img/icons/icon_youtube.icorenamed
Binary file not shown.
searx/static/courgette/img/preference-icon.png → searx/static/themes/courgette/img/preference-icon.pngrenamed
Binary file not shown.
searx/static/courgette/img/search-icon.png → searx/static/themes/courgette/img/search-icon.pngrenamed
Binary file not shown.
searx/static/courgette/img/searx-mobile.png → searx/static/themes/courgette/img/searx-mobile.pngrenamed
Binary file not shown.
searx/static/courgette/img/searx.png → searx/static/themes/courgette/img/searx.pngrenamed
Binary file not shown.
searx/static/courgette/img/searx_logo.svg → searx/static/themes/courgette/img/searx_logo.svgrenamed
The content is the same.
searx/static/courgette/js/mootools-autocompleter-1.1.2-min.js → searx/static/themes/courgette/js/mootools-autocompleter-1.1.2-min.jsrenamed
The content is the same.
searx/static/courgette/js/mootools-core-1.4.5-min.js → searx/static/themes/courgette/js/mootools-core-1.4.5-min.jsrenamed
The content is the same.
searx/static/courgette/js/searx.js → searx/static/themes/courgette/js/searx.jsrenamed
The content is the same.
searx/static/default/css/style.css → searx/static/themes/default/css/style.cssrenamed
The content is the same.
searx/static/default/img/favicon.png → searx/static/themes/default/img/favicon.pngrenamed
Binary file not shown.
searx/static/default/img/github_ribbon.png → searx/static/themes/default/img/github_ribbon.pngrenamed
Binary file not shown.
searx/static/default/img/icons/icon_dailymotion.ico → searx/static/themes/default/img/icons/icon_dailymotion.icorenamed
Binary file not shown.
searx/static/default/img/icons/icon_deviantart.ico → searx/static/themes/default/img/icons/icon_deviantart.icorenamed
Binary file not shown.
searx/static/default/img/icons/icon_github.ico → searx/static/themes/default/img/icons/icon_github.icorenamed
Binary file not shown.
searx/static/default/img/icons/icon_kickass.ico → searx/static/themes/default/img/icons/icon_kickass.icorenamed
Binary file not shown.
searx/static/default/img/icons/icon_soundcloud.ico → searx/static/themes/default/img/icons/icon_soundcloud.icorenamed
Binary file not shown.
searx/static/default/img/icons/icon_stackoverflow.ico → searx/static/themes/default/img/icons/icon_stackoverflow.icorenamed
Binary file not shown.
searx/static/default/img/icons/icon_twitter.ico → searx/static/themes/default/img/icons/icon_twitter.icorenamed
Binary file not shown.
searx/static/default/img/icons/icon_vimeo.ico → searx/static/themes/default/img/icons/icon_vimeo.icorenamed
Binary file not shown.
searx/static/default/img/icons/icon_wikipedia.ico → searx/static/themes/default/img/icons/icon_wikipedia.icorenamed
Binary file not shown.
searx/static/default/img/icons/icon_youtube.ico → searx/static/themes/default/img/icons/icon_youtube.icorenamed
Binary file not shown.
searx/static/default/img/preference-icon.png → searx/static/themes/default/img/preference-icon.pngrenamed
Binary file not shown.
searx/static/default/img/search-icon.png → searx/static/themes/default/img/search-icon.pngrenamed
Binary file not shown.
searx/static/default/img/searx.png → searx/static/themes/default/img/searx.pngrenamed
Binary file not shown.
searx/static/default/img/searx_logo.svg → searx/static/themes/default/img/searx_logo.svgrenamed
The content is the same.
searx/static/default/js/mootools-autocompleter-1.1.2-min.js → searx/static/themes/default/js/mootools-autocompleter-1.1.2-min.jsrenamed
The content is the same.
searx/static/default/js/mootools-core-1.4.5-min.js → searx/static/themes/default/js/mootools-core-1.4.5-min.jsrenamed
The content is the same.
searx/static/default/js/searx.js → searx/static/themes/default/js/searx.jsrenamed
The content is the same.
searx/static/default/less/autocompleter.less → searx/static/themes/default/less/autocompleter.lessrenamed
The content is the same.
searx/static/default/less/definitions.less → searx/static/themes/default/less/definitions.lessrenamed
The content is the same.
searx/static/default/less/mixins.less → searx/static/themes/default/less/mixins.lessrenamed
The content is the same.
searx/static/default/less/search.less → searx/static/themes/default/less/search.lessrenamed
The content is the same.
searx/static/default/less/style.less → searx/static/themes/default/less/style.lessrenamed
The content is the same.
searx/static/oscar/.gitignore → searx/static/themes/oscar/.gitignorerenamed
The content is the same.
searx/static/oscar/README.rst → searx/static/themes/oscar/README.rst renamed
The content is the same.
searx/static/oscar/css/bootstrap.min.css → searx/static/themes/oscar/css/bootstrap.min.cssrenamed
The content is the same.
searx/static/oscar/css/leaflet.min.css → searx/static/themes/oscar/css/leaflet.min.cssrenamed
The content is the same.
searx/static/oscar/css/oscar.min.css → searx/static/themes/oscar/css/oscar.min.cssrenamed
The content is the same.
searx/static/oscar/fonts/glyphicons-halflings-regular.eot → searx/static/themes/oscar/fonts/glyphicons-halflings-regular.eotrenamed
Binary file not shown.
searx/static/oscar/fonts/glyphicons-halflings-regular.svg → searx/static/themes/oscar/fonts/glyphicons-halflings-regular.svgrenamed
The content is the same.
searx/static/oscar/fonts/glyphicons-halflings-regular.ttf → searx/static/themes/oscar/fonts/glyphicons-halflings-regular.ttfrenamed
Binary file not shown.
searx/static/oscar/fonts/glyphicons-halflings-regular.woff → searx/static/themes/oscar/fonts/glyphicons-halflings-regular.woffrenamed
Binary file not shown.
searx/static/oscar/gruntfile.js → searx/static/themes/oscar/gruntfile.jsrenamed
The content is the same.
searx/static/oscar/img/favicon.png → searx/static/themes/oscar/img/favicon.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/README.md → searx/static/themes/oscar/img/icons/README.mdrenamed
The content is the same.
searx/static/oscar/img/icons/amazon.png → searx/static/themes/oscar/img/icons/amazon.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/dailymotion.png → searx/static/themes/oscar/img/icons/dailymotion.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/deviantart.png → searx/static/themes/oscar/img/icons/deviantart.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/facebook.png → searx/static/themes/oscar/img/icons/facebook.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/flickr.png → searx/static/themes/oscar/img/icons/flickr.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/github.png → searx/static/themes/oscar/img/icons/github.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/kickass.png → searx/static/themes/oscar/img/icons/kickass.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/openstreetmap.png → searx/static/themes/oscar/img/icons/openstreetmap.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/photon.png → searx/static/themes/oscar/img/icons/photon.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/searchcode code.png → searx/static/themes/oscar/img/icons/searchcode code.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/searchcode doc.png → searx/static/themes/oscar/img/icons/searchcode doc.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/soundcloud.png → searx/static/themes/oscar/img/icons/soundcloud.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/stackoverflow.png → searx/static/themes/oscar/img/icons/stackoverflow.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/twitter.png → searx/static/themes/oscar/img/icons/twitter.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/vimeo.png → searx/static/themes/oscar/img/icons/vimeo.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/wikipedia.png → searx/static/themes/oscar/img/icons/wikipedia.pngrenamed
Binary file not shown.
searx/static/oscar/img/icons/youtube.png → searx/static/themes/oscar/img/icons/youtube.pngrenamed
Binary file not shown.
searx/static/oscar/img/loader.gif → searx/static/themes/oscar/img/loader.gifrenamed
Binary file not shown.
searx/static/oscar/img/map/layers-2x.png → searx/static/themes/oscar/img/map/layers-2x.pngrenamed
Binary file not shown.
searx/static/oscar/img/map/layers.png → searx/static/themes/oscar/img/map/layers.pngrenamed
Binary file not shown.
searx/static/oscar/img/map/marker-icon-2x-green.png → searx/static/themes/oscar/img/map/marker-icon-2x-green.pngrenamed
Binary file not shown.
searx/static/oscar/img/map/marker-icon-2x-orange.png → searx/static/themes/oscar/img/map/marker-icon-2x-orange.pngrenamed
Binary file not shown.
searx/static/oscar/img/map/marker-icon-2x-red.png → searx/static/themes/oscar/img/map/marker-icon-2x-red.pngrenamed
Binary file not shown.
searx/static/oscar/img/map/marker-icon-2x.png → searx/static/themes/oscar/img/map/marker-icon-2x.pngrenamed
Binary file not shown.
searx/static/oscar/img/map/marker-icon-green.png → searx/static/themes/oscar/img/map/marker-icon-green.pngrenamed
Binary file not shown.
searx/static/oscar/img/map/marker-icon-orange.png → searx/static/themes/oscar/img/map/marker-icon-orange.pngrenamed
Binary file not shown.
searx/static/oscar/img/map/marker-icon-red.png → searx/static/themes/oscar/img/map/marker-icon-red.pngrenamed
Binary file not shown.
searx/static/oscar/img/map/marker-icon.png → searx/static/themes/oscar/img/map/marker-icon.pngrenamed
Binary file not shown.
searx/static/oscar/img/map/marker-shadow.png → searx/static/themes/oscar/img/map/marker-shadow.pngrenamed
Binary file not shown.
searx/static/oscar/img/searx_logo.png → searx/static/themes/oscar/img/searx_logo.pngrenamed
Binary file not shown.
searx/static/oscar/js/bootstrap.min.js → searx/static/themes/oscar/js/bootstrap.min.jsrenamed
The content is the same.
searx/static/oscar/js/html5shiv.min.js → searx/static/themes/oscar/js/html5shiv.min.jsrenamed
The content is the same.
searx/static/oscar/js/jquery-1.11.1.min.js → searx/static/themes/oscar/js/jquery-1.11.1.min.jsrenamed
The content is the same.
searx/static/oscar/js/leaflet-0.7.3.min.js → searx/static/themes/oscar/js/leaflet-0.7.3.min.jsrenamed
The content is the same.
searx/static/oscar/js/require-2.1.15.min.js → searx/static/themes/oscar/js/require-2.1.15.min.jsrenamed
The content is the same.
searx/static/oscar/js/respond.min.js → searx/static/themes/oscar/js/respond.min.jsrenamed
The content is the same.
searx/static/oscar/js/searx.min.js → searx/static/themes/oscar/js/searx.min.jsrenamed
The content is the same.
searx/static/oscar/js/searx_src/00_requirejs_config.js → searx/static/themes/oscar/js/searx_src/00_requirejs_config.jsrenamed
The content is the same.
searx/static/oscar/js/searx_src/autocompleter.js → searx/static/themes/oscar/js/searx_src/autocompleter.jsrenamed
The content is the same.
searx/static/oscar/js/searx_src/element_modifiers.js → searx/static/themes/oscar/js/searx_src/element_modifiers.jsrenamed
The content is the same.
searx/static/oscar/js/searx_src/leaflet_map.js → searx/static/themes/oscar/js/searx_src/leaflet_map.jsrenamed
The content is the same.
searx/static/oscar/js/typeahead.bundle.min.js → searx/static/themes/oscar/js/typeahead.bundle.min.jsrenamed
The content is the same.
searx/static/oscar/less/bootstrap/.csscomb.json → searx/static/themes/oscar/less/bootstrap/.csscomb.jsonrenamed
The content is the same.
searx/static/oscar/less/bootstrap/.csslintrc → searx/static/themes/oscar/less/bootstrap/.csslintrcrenamed
The content is the same.
searx/static/oscar/less/bootstrap/alerts.less → searx/static/themes/oscar/less/bootstrap/alerts.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/badges.less → searx/static/themes/oscar/less/bootstrap/badges.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/bootstrap.less → searx/static/themes/oscar/less/bootstrap/bootstrap.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/breadcrumbs.less → searx/static/themes/oscar/less/bootstrap/breadcrumbs.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/button-groups.less → searx/static/themes/oscar/less/bootstrap/button-groups.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/buttons.less → searx/static/themes/oscar/less/bootstrap/buttons.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/carousel.less → searx/static/themes/oscar/less/bootstrap/carousel.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/close.less → searx/static/themes/oscar/less/bootstrap/close.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/code.less → searx/static/themes/oscar/less/bootstrap/code.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/component-animations.less → searx/static/themes/oscar/less/bootstrap/component-animations.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/dropdowns.less → searx/static/themes/oscar/less/bootstrap/dropdowns.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/forms.less → searx/static/themes/oscar/less/bootstrap/forms.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/glyphicons.less → searx/static/themes/oscar/less/bootstrap/glyphicons.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/grid.less → searx/static/themes/oscar/less/bootstrap/grid.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/input-groups.less → searx/static/themes/oscar/less/bootstrap/input-groups.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/jumbotron.less → searx/static/themes/oscar/less/bootstrap/jumbotron.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/labels.less → searx/static/themes/oscar/less/bootstrap/labels.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/list-group.less → searx/static/themes/oscar/less/bootstrap/list-group.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/media.less → searx/static/themes/oscar/less/bootstrap/media.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins.less → searx/static/themes/oscar/less/bootstrap/mixins.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/alerts.less → searx/static/themes/oscar/less/bootstrap/mixins/alerts.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/background-variant.less → searx/static/themes/oscar/less/bootstrap/mixins/background-variant.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/border-radius.less → searx/static/themes/oscar/less/bootstrap/mixins/border-radius.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/buttons.less → searx/static/themes/oscar/less/bootstrap/mixins/buttons.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/center-block.less → searx/static/themes/oscar/less/bootstrap/mixins/center-block.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/clearfix.less → searx/static/themes/oscar/less/bootstrap/mixins/clearfix.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/forms.less → searx/static/themes/oscar/less/bootstrap/mixins/forms.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/gradients.less → searx/static/themes/oscar/less/bootstrap/mixins/gradients.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/grid-framework.less → searx/static/themes/oscar/less/bootstrap/mixins/grid-framework.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/grid.less → searx/static/themes/oscar/less/bootstrap/mixins/grid.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/hide-text.less → searx/static/themes/oscar/less/bootstrap/mixins/hide-text.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/image.less → searx/static/themes/oscar/less/bootstrap/mixins/image.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/labels.less → searx/static/themes/oscar/less/bootstrap/mixins/labels.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/list-group.less → searx/static/themes/oscar/less/bootstrap/mixins/list-group.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/nav-divider.less → searx/static/themes/oscar/less/bootstrap/mixins/nav-divider.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/nav-vertical-align.less → searx/static/themes/oscar/less/bootstrap/mixins/nav-vertical-align.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/opacity.less → searx/static/themes/oscar/less/bootstrap/mixins/opacity.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/pagination.less → searx/static/themes/oscar/less/bootstrap/mixins/pagination.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/panels.less → searx/static/themes/oscar/less/bootstrap/mixins/panels.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/progress-bar.less → searx/static/themes/oscar/less/bootstrap/mixins/progress-bar.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/reset-filter.less → searx/static/themes/oscar/less/bootstrap/mixins/reset-filter.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/resize.less → searx/static/themes/oscar/less/bootstrap/mixins/resize.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/responsive-visibility.less → searx/static/themes/oscar/less/bootstrap/mixins/responsive-visibility.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/size.less → searx/static/themes/oscar/less/bootstrap/mixins/size.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/tab-focus.less → searx/static/themes/oscar/less/bootstrap/mixins/tab-focus.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/table-row.less → searx/static/themes/oscar/less/bootstrap/mixins/table-row.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/text-emphasis.less → searx/static/themes/oscar/less/bootstrap/mixins/text-emphasis.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/text-overflow.less → searx/static/themes/oscar/less/bootstrap/mixins/text-overflow.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/mixins/vendor-prefixes.less → searx/static/themes/oscar/less/bootstrap/mixins/vendor-prefixes.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/modals.less → searx/static/themes/oscar/less/bootstrap/modals.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/navbar.less → searx/static/themes/oscar/less/bootstrap/navbar.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/navs.less → searx/static/themes/oscar/less/bootstrap/navs.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/normalize.less → searx/static/themes/oscar/less/bootstrap/normalize.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/pager.less → searx/static/themes/oscar/less/bootstrap/pager.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/pagination.less → searx/static/themes/oscar/less/bootstrap/pagination.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/panels.less → searx/static/themes/oscar/less/bootstrap/panels.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/popovers.less → searx/static/themes/oscar/less/bootstrap/popovers.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/print.less → searx/static/themes/oscar/less/bootstrap/print.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/progress-bars.less → searx/static/themes/oscar/less/bootstrap/progress-bars.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/responsive-embed.less → searx/static/themes/oscar/less/bootstrap/responsive-embed.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/responsive-utilities.less → searx/static/themes/oscar/less/bootstrap/responsive-utilities.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/scaffolding.less → searx/static/themes/oscar/less/bootstrap/scaffolding.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/tables.less → searx/static/themes/oscar/less/bootstrap/tables.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/theme.less → searx/static/themes/oscar/less/bootstrap/theme.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/thumbnails.less → searx/static/themes/oscar/less/bootstrap/thumbnails.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/tooltip.less → searx/static/themes/oscar/less/bootstrap/tooltip.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/type.less → searx/static/themes/oscar/less/bootstrap/type.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/typeahead.less → searx/static/themes/oscar/less/bootstrap/typeahead.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/utilities.less → searx/static/themes/oscar/less/bootstrap/utilities.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/variables.less → searx/static/themes/oscar/less/bootstrap/variables.lessrenamed
The content is the same.
searx/static/oscar/less/bootstrap/wells.less → searx/static/themes/oscar/less/bootstrap/wells.lessrenamed
The content is the same.
searx/static/oscar/less/oscar/checkbox.less → searx/static/themes/oscar/less/oscar/checkbox.lessrenamed
The content is the same.
searx/static/oscar/less/oscar/cursor.less → searx/static/themes/oscar/less/oscar/cursor.lessrenamed
The content is the same.
searx/static/oscar/less/oscar/footer.less → searx/static/themes/oscar/less/oscar/footer.lessrenamed
The content is the same.
searx/static/oscar/less/oscar/infobox.less → searx/static/themes/oscar/less/oscar/infobox.lessrenamed
The content is the same.
searx/static/oscar/less/oscar/oscar.less → searx/static/themes/oscar/less/oscar/oscar.lessrenamed
The content is the same.
searx/static/oscar/less/oscar/results.less → searx/static/themes/oscar/less/oscar/results.lessrenamed
The content is the same.
searx/static/oscar/less/oscar/search.less → searx/static/themes/oscar/less/oscar/search.lessrenamed
The content is the same.
searx/static/oscar/package.json → searx/static/themes/oscar/package.jsonrenamed
The content is the same.
searx/utils.py+11−7
@@ -73,11 +73,9 @@ class HTMLTextExtractor(HTMLParser):
7373 self.tags = []
7474
7575 def handle_starttag(self, tag, attrs):
76− print tag
7776 self.tags.append(tag)
7877
7978 def handle_endtag(self, tag):
80− print tag,tag
8179 if tag != self.tags[-1]:
8280 raise Exception("invalid html")
8381 self.tags.pop()
@@ -156,11 +154,17 @@ def get_themes(root):
156154 """Returns available themes list."""
157155
158156 static_path = os.path.join(root, 'static')
159− static_names = set(os.listdir(static_path))
160157 templates_path = os.path.join(root, 'templates')
161− templates_names = set(os.listdir(templates_path))
162158
163− themes = []
164− for name in static_names.intersection(templates_names):
165− themes += [name]
159+ themes = os.listdir(os.path.join(static_path, 'themes'))
166160 return static_path, templates_path, themes
161+
162+
163+def get_static_files(base_path):
164+ static_files = set()
165+ base_path_length = len(base_path+'/static') + 1
166+ for directory, _, files in os.walk(os.path.join(base_path, 'static')):
167+ for filename in files:
168+ f = os.path.join(directory[base_path_length:], filename)
169+ static_files.add(f)
170+ return static_files
searx/webapp.py+8−3
@@ -38,7 +38,8 @@ from searx.engines import (
3838 categories, engines, get_engines_stats, engine_shortcuts
3939)
4040from searx.utils import (
41− UnicodeWriter, highlight_content, html_to_text, get_themes
41+ UnicodeWriter, highlight_content, html_to_text, get_themes,
42+ get_static_files
4243)
4344from searx.version import VERSION_STRING
4445from searx.languages import language_codes
@@ -55,6 +56,8 @@ static_path, templates_path, themes =\
5556
5657default_theme = settings['server'].get('default_theme', 'default')
5758
59+static_files = get_static_files(searx_dir)
60+
5861app = Flask(
5962 __name__,
6063 static_folder=static_path,
@@ -123,9 +126,11 @@ def get_current_theme_name(override=None):
123126
124127
125128def url_for_theme(endpoint, override_theme=None, **values):
126− if endpoint == 'static' and values.get('filename', None):
129+ if endpoint == 'static' and values.get('filename'):
127130 theme_name = get_current_theme_name(override=override_theme)
128− values['filename'] = "{}/{}".format(theme_name, values['filename'])
131+ filename_with_theme = "themes/{}/{}".format(theme_name, values['filename'])
132+ if filename_with_theme in static_files:
133+ values['filename'] = filename_with_theme
129134 return url_for(endpoint, **values)
130135
131136