summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-16 09:28:45 +0200
committerAlexandre Flament <alex@al-f.net>2021-06-16 12:38:06 +0200
commit6b80c57a3c04d6be37ae3c880f7e269fc362b107 (patch)
treeec3009353dfd713f9d91cf074b10f5d7a6bdcd5a /searx/static/themes/simple
parent49ea5b764454b4cd00eef67898b1c73ce3c28f31 (diff)
downloadsearxng-6b80c57a3c04d6be37ae3c880f7e269fc362b107.tar.gz
searxng-6b80c57a3c04d6be37ae3c880f7e269fc362b107.zip
[mod] simple theme: move source files to the src directory
Diffstat (limited to 'searx/static/themes/simple')
-rw-r--r--searx/static/themes/simple/gruntfile.js16
-rw-r--r--searx/static/themes/simple/js/autocomplete.js (renamed from searx/static/themes/simple/js/searx_src/autocomplete.js)0
-rw-r--r--searx/static/themes/simple/src/js/head/00_init.js (renamed from searx/static/themes/simple/js/searx_head/00_init.js)2
-rw-r--r--searx/static/themes/simple/src/js/main/00_searx_toolkit.js (renamed from searx/static/themes/simple/js/searx_src/00_searx_toolkit.js)0
-rw-r--r--searx/static/themes/simple/src/js/main/searx_keyboard.js (renamed from searx/static/themes/simple/js/searx_src/searx_keyboard.js)0
-rw-r--r--searx/static/themes/simple/src/js/main/searx_mapresult.js (renamed from searx/static/themes/simple/js/searx_src/searx_mapresult.js)0
-rw-r--r--searx/static/themes/simple/src/js/main/searx_results.js (renamed from searx/static/themes/simple/js/searx_src/searx_results.js)0
-rw-r--r--searx/static/themes/simple/src/js/main/searx_search.js (renamed from searx/static/themes/simple/js/searx_src/searx_search.js)0
-rw-r--r--searx/static/themes/simple/src/less/autocomplete.less (renamed from searx/static/themes/simple/less/autocomplete.less)0
-rw-r--r--searx/static/themes/simple/src/less/code.less (renamed from searx/static/themes/simple/less/code.less)0
-rw-r--r--searx/static/themes/simple/src/less/definitions.less (renamed from searx/static/themes/simple/less/definitions.less)0
-rw-r--r--searx/static/themes/simple/src/less/index.less (renamed from searx/static/themes/simple/less/index.less)0
-rw-r--r--searx/static/themes/simple/src/less/ion.less (renamed from searx/static/themes/simple/less/ion.less)0
-rw-r--r--searx/static/themes/simple/src/less/mixins.less (renamed from searx/static/themes/simple/less/mixins.less)0
-rw-r--r--searx/static/themes/simple/src/less/normalize.less (renamed from searx/static/themes/simple/less/normalize.less)0
-rw-r--r--searx/static/themes/simple/src/less/preferences.less (renamed from searx/static/themes/simple/less/preferences.less)0
-rw-r--r--searx/static/themes/simple/src/less/pygments.less (renamed from searx/static/themes/simple/less/pygments.less)0
-rw-r--r--searx/static/themes/simple/src/less/search.less (renamed from searx/static/themes/simple/less/search.less)0
-rw-r--r--searx/static/themes/simple/src/less/style-rtl.less (renamed from searx/static/themes/simple/less/style-rtl.less)0
-rw-r--r--searx/static/themes/simple/src/less/style.less (renamed from searx/static/themes/simple/less/style.less)0
-rw-r--r--searx/static/themes/simple/src/less/toolkit.less (renamed from searx/static/themes/simple/less/toolkit.less)0
-rw-r--r--searx/static/themes/simple/src/less/toolkit_loader.less (renamed from searx/static/themes/simple/less/toolkit_loader.less)0
22 files changed, 9 insertions, 9 deletions
diff --git a/searx/static/themes/simple/gruntfile.js b/searx/static/themes/simple/gruntfile.js
index 4c14116b2..e1b44aa72 100644
--- a/searx/static/themes/simple/gruntfile.js
+++ b/searx/static/themes/simple/gruntfile.js
@@ -6,12 +6,12 @@ module.exports = function(grunt) {
pkg: grunt.file.readJSON('package.json'),
watch: {
scripts: {
- files: ['<%= jshint.files %>', 'less/*.less'],
+ files: ['src/**'],
tasks: ['jshint', 'concat', 'uglify', 'webfont', 'less:development', 'less:production']
}
},
jshint: {
- files: ['js/searx_src/*.js', 'js/searx_header/*.js', '../__common__/js/*.js'],
+ files: ['src/js/main/*.js', 'src/js/head/*.js', '../__common__/js/*.js'],
options: {
reporterOutput: "",
proto: true,
@@ -29,8 +29,8 @@ module.exports = function(grunt) {
separator: ';'
},
files: {
- 'js/searx.head.js': ['js/searx_head/*.js'],
- 'js/searx.js': ['js/searx_src/*.js', '../__common__/js/*.js']
+ 'js/searx.head.js': ['src/js/head/*.js'],
+ 'js/searx.js': ['src/js/main/*.js', '../__common__/js/*.js', 'js/autocomplete.js']
}
}
},
@@ -60,8 +60,8 @@ module.exports = function(grunt) {
banner: '/*! searx | <%= grunt.template.today("dd-mm-yyyy") %> | <%= process.env.GIT_URL %> */\n'
},
files: {
- "css/searx.css": "less/style.less",
- "css/searx-rtl.css": "less/style-rtl.less"
+ "css/searx.css": "src/less/style.less",
+ "css/searx-rtl.css": "src/less/style-rtl.less"
}
},
production: {
@@ -77,8 +77,8 @@ module.exports = function(grunt) {
banner: '/*! searx | <%= grunt.template.today("dd-mm-yyyy") %> | <%= process.env.GIT_URL %> */\n'
},
files: {
- "css/searx.min.css": "less/style.less",
- "css/searx-rtl.min.css": "less/style-rtl.less"
+ "css/searx.min.css": "src/less/style.less",
+ "css/searx-rtl.min.css": "src/less/style-rtl.less"
}
},
},
diff --git a/searx/static/themes/simple/js/searx_src/autocomplete.js b/searx/static/themes/simple/js/autocomplete.js
index b95fbcfb2..b95fbcfb2 100644
--- a/searx/static/themes/simple/js/searx_src/autocomplete.js
+++ b/searx/static/themes/simple/js/autocomplete.js
diff --git a/searx/static/themes/simple/js/searx_head/00_init.js b/searx/static/themes/simple/src/js/head/00_init.js
index e6964400b..be7560451 100644
--- a/searx/static/themes/simple/js/searx_head/00_init.js
+++ b/searx/static/themes/simple/src/js/head/00_init.js
@@ -33,7 +33,7 @@
infinite_scroll: script.getAttribute('data-infinite-scroll') === 'true',
static_path: script.getAttribute('data-static-path'),
translations: JSON.parse(script.getAttribute('data-translations')),
- }
+ };
// update the css
d.getElementsByTagName("html")[0].className = (w.searx.touch)?"js touch":"js";
diff --git a/searx/static/themes/simple/js/searx_src/00_searx_toolkit.js b/searx/static/themes/simple/src/js/main/00_searx_toolkit.js
index dbef4be73..dbef4be73 100644
--- a/searx/static/themes/simple/js/searx_src/00_searx_toolkit.js
+++ b/searx/static/themes/simple/src/js/main/00_searx_toolkit.js
diff --git a/searx/static/themes/simple/js/searx_src/searx_keyboard.js b/searx/static/themes/simple/src/js/main/searx_keyboard.js
index 657d9ec93..657d9ec93 100644
--- a/searx/static/themes/simple/js/searx_src/searx_keyboard.js
+++ b/searx/static/themes/simple/src/js/main/searx_keyboard.js
diff --git a/searx/static/themes/simple/js/searx_src/searx_mapresult.js b/searx/static/themes/simple/src/js/main/searx_mapresult.js
index 2ccdbd1c7..2ccdbd1c7 100644
--- a/searx/static/themes/simple/js/searx_src/searx_mapresult.js
+++ b/searx/static/themes/simple/src/js/main/searx_mapresult.js
diff --git a/searx/static/themes/simple/js/searx_src/searx_results.js b/searx/static/themes/simple/src/js/main/searx_results.js
index fe00efc90..fe00efc90 100644
--- a/searx/static/themes/simple/js/searx_src/searx_results.js
+++ b/searx/static/themes/simple/src/js/main/searx_results.js
diff --git a/searx/static/themes/simple/js/searx_src/searx_search.js b/searx/static/themes/simple/src/js/main/searx_search.js
index 0e498717c..0e498717c 100644
--- a/searx/static/themes/simple/js/searx_src/searx_search.js
+++ b/searx/static/themes/simple/src/js/main/searx_search.js
diff --git a/searx/static/themes/simple/less/autocomplete.less b/searx/static/themes/simple/src/less/autocomplete.less
index 93f7df1ef..93f7df1ef 100644
--- a/searx/static/themes/simple/less/autocomplete.less
+++ b/searx/static/themes/simple/src/less/autocomplete.less
diff --git a/searx/static/themes/simple/less/code.less b/searx/static/themes/simple/src/less/code.less
index b732103fb..b732103fb 100644
--- a/searx/static/themes/simple/less/code.less
+++ b/searx/static/themes/simple/src/less/code.less
diff --git a/searx/static/themes/simple/less/definitions.less b/searx/static/themes/simple/src/less/definitions.less
index c1465a579..c1465a579 100644
--- a/searx/static/themes/simple/less/definitions.less
+++ b/searx/static/themes/simple/src/less/definitions.less
diff --git a/searx/static/themes/simple/less/index.less b/searx/static/themes/simple/src/less/index.less
index e1efdac90..e1efdac90 100644
--- a/searx/static/themes/simple/less/index.less
+++ b/searx/static/themes/simple/src/less/index.less
diff --git a/searx/static/themes/simple/less/ion.less b/searx/static/themes/simple/src/less/ion.less
index c9e715591..c9e715591 100644
--- a/searx/static/themes/simple/less/ion.less
+++ b/searx/static/themes/simple/src/less/ion.less
diff --git a/searx/static/themes/simple/less/mixins.less b/searx/static/themes/simple/src/less/mixins.less
index b3aa4e13d..b3aa4e13d 100644
--- a/searx/static/themes/simple/less/mixins.less
+++ b/searx/static/themes/simple/src/less/mixins.less
diff --git a/searx/static/themes/simple/less/normalize.less b/searx/static/themes/simple/src/less/normalize.less
index 47b010e47..47b010e47 100644
--- a/searx/static/themes/simple/less/normalize.less
+++ b/searx/static/themes/simple/src/less/normalize.less
diff --git a/searx/static/themes/simple/less/preferences.less b/searx/static/themes/simple/src/less/preferences.less
index e1e88b51f..e1e88b51f 100644
--- a/searx/static/themes/simple/less/preferences.less
+++ b/searx/static/themes/simple/src/less/preferences.less
diff --git a/searx/static/themes/simple/less/pygments.less b/searx/static/themes/simple/src/less/pygments.less
index e5ec9b8d9..e5ec9b8d9 100644
--- a/searx/static/themes/simple/less/pygments.less
+++ b/searx/static/themes/simple/src/less/pygments.less
diff --git a/searx/static/themes/simple/less/search.less b/searx/static/themes/simple/src/less/search.less
index dbcfc932e..dbcfc932e 100644
--- a/searx/static/themes/simple/less/search.less
+++ b/searx/static/themes/simple/src/less/search.less
diff --git a/searx/static/themes/simple/less/style-rtl.less b/searx/static/themes/simple/src/less/style-rtl.less
index 2b68bcfde..2b68bcfde 100644
--- a/searx/static/themes/simple/less/style-rtl.less
+++ b/searx/static/themes/simple/src/less/style-rtl.less
diff --git a/searx/static/themes/simple/less/style.less b/searx/static/themes/simple/src/less/style.less
index 61c0a93de..61c0a93de 100644
--- a/searx/static/themes/simple/less/style.less
+++ b/searx/static/themes/simple/src/less/style.less
diff --git a/searx/static/themes/simple/less/toolkit.less b/searx/static/themes/simple/src/less/toolkit.less
index c381af802..c381af802 100644
--- a/searx/static/themes/simple/less/toolkit.less
+++ b/searx/static/themes/simple/src/less/toolkit.less
diff --git a/searx/static/themes/simple/less/toolkit_loader.less b/searx/static/themes/simple/src/less/toolkit_loader.less
index 7ef19c19b..7ef19c19b 100644
--- a/searx/static/themes/simple/less/toolkit_loader.less
+++ b/searx/static/themes/simple/src/less/toolkit_loader.less