From 4a3a3a4420078ec37175fa3c1b3aa95720539912 Mon Sep 17 00:00:00 2001 From: ville rantanen Date: Tue, 27 Mar 2012 10:34:57 +0300 Subject: [PATCH] change to folder list view. release version 1.7 --- Qalbum.py | 2 +- galleryscript.js | 4 ++-- gallerystyle.css | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Qalbum.py b/Qalbum.py index b74059d..6082c5a 100755 --- a/Qalbum.py +++ b/Qalbum.py @@ -26,7 +26,7 @@ from datetime import datetime # (c) ville.rantanen@helsinki.fi -__version__='1.7b' +__version__='1.7' webfilesearch=re.compile('.*index.html$|.*gallerystyle.css$|.*galleryscript.js$|.*descriptions.csv$|\..*',re.I) imagesearch=re.compile('.*\.jpg$|.*\.jpeg$|.*\.gif$|.*\.png$|.*\.svg$|.*\.pdf$',re.I) diff --git a/galleryscript.js b/galleryscript.js index 45ab890..cca4dc8 100644 --- a/galleryscript.js +++ b/galleryscript.js @@ -188,7 +188,7 @@ function setProgress(i) { // Sets the progess bar width var el = document.getElementById("progressbar"); if (el != null) { - el.style.width=parseInt(100*(i+1)/imagelist.length)+'%'; + el.style.width=parseInt(100*(i+1)/(imagelist.length))+'%'; } return } @@ -255,7 +255,7 @@ function subfolderdetaillist() { pathstr='

Subfolders: (text icon list)

'; for (p=0; p0) { - imgstr=''; + imgstr=''; } else { imgstr=''; } pathstr+=''; } diff --git a/gallerystyle.css b/gallerystyle.css index 60b2929..bd299f5 100644 --- a/gallerystyle.css +++ b/gallerystyle.css @@ -37,11 +37,13 @@ body { float:left; clear:both; margin-bottom:1px; + overflow-y:hidden; + height:40px; } .pathdetaillink { white-space:nowrap; overflow:hidden; - line-height:80px; + line-height:40px; } .pathdetaillinktext { background-color: white;