diff options
| author | Frank de Lange <github-f@unternet.org> | 2019-08-06 09:31:24 +0200 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2019-08-06 09:31:24 +0200 |
| commit | e4e8e6da4c90d3d65418aeaf1d7ebfc64c497685 (patch) | |
| tree | 7f84eb6def9566d030113718bd6d18f2d891c0f6 /searx/static/themes/oscar/package.json | |
| parent | 88261e111ca2186f080c4048ab41b4c54cd5cf87 (diff) | |
Add image format and source information to display (#1567)
Add image format and source information to display - needs changes to engines to actually display something.
Displays result.source (website from which the image was taken) and result.img_format (image type and size).
Result is styled with result-format and result-source classes. See PR #1566 for an example of an engine which has the necessary changes.
Strip <span class="highlight">...</span> in the oscar image template.
Diffstat (limited to 'searx/static/themes/oscar/package.json')
| -rw-r--r-- | searx/static/themes/oscar/package.json | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/searx/static/themes/oscar/package.json b/searx/static/themes/oscar/package.json index 7eae9df2b..5b10fcf9f 100644 --- a/searx/static/themes/oscar/package.json +++ b/searx/static/themes/oscar/package.json @@ -2,12 +2,11 @@ "devDependencies": { "grunt": "~0.4.5", "grunt-contrib-uglify": "~0.6.0", - "grunt-contrib-watch" : "~0.6.1", - "grunt-contrib-concat" : "~0.5.0", - "grunt-contrib-jshint" : "~0.10.0", - "grunt-contrib-less" : "~0.11.0" + "grunt-contrib-watch": "~0.6.1", + "grunt-contrib-concat": "~0.5.0", + "grunt-contrib-jshint": "~0.10.0", + "grunt-contrib-less": "~0.11.0" }, - "scripts": { "build": "npm install && grunt", "start": "grunt watch", |