From 5e1fccb9aa5bd96a975a00670a61e0aeab4be57b Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 14 Apr 2016 16:54:23 +0300 Subject: [PATCH] cleanup and minor tweaking... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui-slideshow.js | 6 +++--- ui (gen4)/index.html | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ui (gen4)/features/ui-slideshow.js b/ui (gen4)/features/ui-slideshow.js index 6f291234..8f71db44 100755 --- a/ui (gen4)/features/ui-slideshow.js +++ b/ui (gen4)/features/ui-slideshow.js @@ -57,6 +57,7 @@ var SlideshowActions = actions.Actions({ // click on the first option with a mouse... // result: // the top dialog is not focused... + // XXX move generic stuff to browse.js... slideshowDialog: ['Slideshow/Slideshow settings and start', function(){ var that = this @@ -170,9 +171,7 @@ var SlideshowActions = actions.Actions({ browse.makeList( null, that.config['slideshow-intervals'] .concat([ - // XXX do we add a new item here??? '---', - //$('') 'New...', ]), {itemButtons: [ @@ -243,6 +242,7 @@ var SlideshowActions = actions.Actions({ } }) + oo.client.dom.addClass('slideshow') oo.client.select(that.config['slideshow-interval']) return @@ -271,7 +271,7 @@ var SlideshowActions = actions.Actions({ that.resetSlideshowTimer() }) - o.client.dom.addClass('metadata-view') + o.client.dom.addClass('metadata-view slideshow') o.client.select(-1) diff --git a/ui (gen4)/index.html b/ui (gen4)/index.html index b576156c..aa3d9699 100755 --- a/ui (gen4)/index.html +++ b/ui (gen4)/index.html @@ -181,6 +181,11 @@ body { } +/* slideshow interval list... */ +.browse-widget.slideshow .list>div:last-child .text { + font-style: italic; +} + /* DEBUG stuff... */ .container-center {