From e4e8e6da4c90d3d65418aeaf1d7ebfc64c497685 Mon Sep 17 00:00:00 2001 From: Frank de Lange Date: Tue, 6 Aug 2019 09:31:24 +0200 Subject: 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 ... in the oscar image template. --- searx/static/themes/oscar/package.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'searx/static/themes/oscar/package.json') 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", -- cgit v1.2.3