mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
cleanup and minor tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f60f051420
commit
5e1fccb9aa
@ -57,6 +57,7 @@ var SlideshowActions = actions.Actions({
|
|||||||
// click on the first option with a mouse...
|
// click on the first option with a mouse...
|
||||||
// result:
|
// result:
|
||||||
// the top dialog is not focused...
|
// the top dialog is not focused...
|
||||||
|
// XXX move generic stuff to browse.js...
|
||||||
slideshowDialog: ['Slideshow/Slideshow settings and start',
|
slideshowDialog: ['Slideshow/Slideshow settings and start',
|
||||||
function(){
|
function(){
|
||||||
var that = this
|
var that = this
|
||||||
@ -170,9 +171,7 @@ var SlideshowActions = actions.Actions({
|
|||||||
browse.makeList( null,
|
browse.makeList( null,
|
||||||
that.config['slideshow-intervals']
|
that.config['slideshow-intervals']
|
||||||
.concat([
|
.concat([
|
||||||
// XXX do we add a new item here???
|
|
||||||
'---',
|
'---',
|
||||||
//$('<input type="text" pattern="[0-9]+|[0-9]*\\.[0-9]+" placeholder="New...">')
|
|
||||||
'New...',
|
'New...',
|
||||||
]),
|
]),
|
||||||
{itemButtons: [
|
{itemButtons: [
|
||||||
@ -243,6 +242,7 @@ var SlideshowActions = actions.Actions({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
oo.client.dom.addClass('slideshow')
|
||||||
oo.client.select(that.config['slideshow-interval'])
|
oo.client.select(that.config['slideshow-interval'])
|
||||||
|
|
||||||
return
|
return
|
||||||
@ -271,7 +271,7 @@ var SlideshowActions = actions.Actions({
|
|||||||
that.resetSlideshowTimer()
|
that.resetSlideshowTimer()
|
||||||
})
|
})
|
||||||
|
|
||||||
o.client.dom.addClass('metadata-view')
|
o.client.dom.addClass('metadata-view slideshow')
|
||||||
|
|
||||||
o.client.select(-1)
|
o.client.select(-1)
|
||||||
|
|
||||||
|
|||||||
@ -181,6 +181,11 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* slideshow interval list... */
|
||||||
|
.browse-widget.slideshow .list>div:last-child .text {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* DEBUG stuff... */
|
/* DEBUG stuff... */
|
||||||
.container-center {
|
.container-center {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user