cleanup and minor tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-04-14 16:54:23 +03:00
parent f60f051420
commit 5e1fccb9aa
2 changed files with 8 additions and 3 deletions

View File

@ -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)

View File

@ -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 {