mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ea7d01e87e
commit
2499326d03
@ -538,6 +538,12 @@ body {
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
.metadata-view .text+.text {
|
||||
font-style: italic;
|
||||
}
|
||||
.metadata-view .text+.text+.text {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
|
||||
|
||||
/* DEBUG stuff... */
|
||||
|
||||
@ -382,30 +382,31 @@ var MetadataUIActions = actions.Actions({
|
||||
}) }
|
||||
|
||||
// preview...
|
||||
make(['Preview:', this.updatePreview()], {
|
||||
cls: 'preview',
|
||||
})
|
||||
make(['Preview:', this.updatePreview()],
|
||||
{ cls: 'preview' })
|
||||
make.Separator()
|
||||
|
||||
// essentials...
|
||||
make(['$GID: ', image])
|
||||
// NOTE: these are 1-based and not 0-based...
|
||||
make(['Index (ribbon): ',
|
||||
make(['Index: ',
|
||||
// ribbon...
|
||||
that.data.getImageOrder('ribbon', image) + 1
|
||||
+'/'+
|
||||
that.data.getImages(image).len])
|
||||
// show this only when cropped...
|
||||
make(['Index (global): ',
|
||||
that.data.getImages(image).len
|
||||
+ 'R',
|
||||
// crop...
|
||||
...((that.crop_stack && that.crop_stack.len > 0) ?
|
||||
[that.data.getImageOrder('loaded', image) + 1
|
||||
+'/'+
|
||||
that.data.getImages('loaded').len
|
||||
+ 'C']
|
||||
: []),
|
||||
// global...
|
||||
that.data.getImageOrder(image) + 1
|
||||
+'/'+
|
||||
that.data.getImages('all').len])
|
||||
// crop-specific stuff...
|
||||
;(that.crop_stack && that.crop_stack.len > 0)
|
||||
&& make(['Index (crop): ',
|
||||
that.data.getImageOrder('loaded', image) + 1
|
||||
+'/'+
|
||||
that.data.getImages('loaded').len])
|
||||
// ribbons order...
|
||||
that.data.getImages('all').len
|
||||
+ 'G', ])
|
||||
make(['Ribbon:',
|
||||
that.data.getRibbonOrder(image) + 1
|
||||
+'/'+
|
||||
|
||||
@ -711,7 +711,7 @@ var TagUIActions = actions.Actions({
|
||||
function(make, gid, image){
|
||||
var that = this
|
||||
|
||||
make(['Tags:',
|
||||
make(['$Tags:',
|
||||
function(){
|
||||
return that.data.getTags(gid).join(', ') }],
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user