From 65e3ae1cb944b0c269cc9a070db6c23bb0d39a78 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 10 Jan 2016 04:59:50 +0300 Subject: [PATCH] preparing for exif refactoring... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/exif.js | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/features/exif.js b/ui (gen4)/features/exif.js index fbc26e42..37b0bafb 100755 --- a/ui (gen4)/features/exif.js +++ b/ui (gen4)/features/exif.js @@ -25,6 +25,10 @@ var core = require('features/core') /*********************************************************************/ +// XXX split this into two: +// - getter from .images[gid].metadata (no external dependencies) +// - fileExifExtractor / webExifExtractor / ... to implement +// extracting of exif if .metadata does not exist... // XXX add exif writer... var EXIFActions = actions.Actions({ // XXX cache the result and see if it is cached before running exiftool... @@ -121,7 +125,22 @@ var EXIFUIActions = actions.Actions({ && this.images[image].metadata || this.getExif(image, force) - // XXX + // XXX make a list with two .text elements per list item: + // .text.field - exif field name + // .text.value - exif field value + // Add CSS: + // .exif-browser .list>div .text { + // display: inline-block; + // width: 50%; + // } + // .exif-browser .list>div .text:first-child { + // text-align: right; + // } + // .exif-browser .list>div .text:first-child:after { + // content: ": "; + // } + // .exif-browser .list>div .text:last-child { + // } }] })