From f550931f715f4d9563673f6715469f4c1298034f Mon Sep 17 00:00:00 2001 From: hummypkg Date: Fri, 18 Jan 2013 18:47:14 +0000 Subject: [PATCH] cleanup directory flag functions. No refresh on flag change git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1356 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 4 +- var/mongoose/cgi-bin/browse.jim | 2 + var/mongoose/cgi-bin/browse/assets.jim | 9 +- var/mongoose/cgi-bin/browse/browse.js | 109 ++++++++++--------- var/mongoose/cgi-bin/browse/iconset.jim | 15 +++ var/mongoose/cgi-bin/channel.jim | 1 + var/mongoose/html/css/jquery.contextMenu.css | 2 + var/mongoose/html/img/FreeviewHD.png | Bin 0 -> 9017 bytes var/mongoose/html/img/compressr.png | 1 + var/mongoose/html/img/context/compressr.png | Bin 0 -> 764 bytes var/mongoose/html/img/context/decryptr.png | Bin 0 -> 674 bytes var/mongoose/html/img/decryptr.png | 1 + var/mongoose/html/lib/topbar.jim | 5 +- var/mongoose/lib/browse.class | 29 ++++- 14 files changed, 116 insertions(+), 62 deletions(-) create mode 100755 var/mongoose/cgi-bin/browse/iconset.jim create mode 100644 var/mongoose/html/img/FreeviewHD.png create mode 120000 var/mongoose/html/img/compressr.png create mode 100644 var/mongoose/html/img/context/compressr.png create mode 100644 var/mongoose/html/img/context/decryptr.png create mode 120000 var/mongoose/html/img/decryptr.png diff --git a/CONTROL/control b/CONTROL/control index 2689ce7..f7ec8bf 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,9 +1,9 @@ Package: webif Priority: optional Section: web -Version: 0.10.2-2 +Version: 0.11.0 Architecture: mipsel Maintainer: af123@hummypkg.org.uk -Depends: webif-channelicons(>=1.0.3),mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73-1),jim-cgi(>=0.5),jim-binary,service-control(>=1.2),busybox(>=1.20.2-1),lsof,epg(>=1.0.9-1),hmt(>=1.1.10),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.1.2),smartmontools,tmenu(>=1.04) +Depends: webif-channelicons(>=1.0.4),mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73-1),jim-cgi(>=0.6),jim-binary,service-control(>=1.2),busybox(>=1.20.2-1),lsof,epg(>=1.0.9-1),hmt(>=1.1.10),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.1.2),smartmontools,tmenu(>=1.05) Suggests: ffmpeg Description: An evolving web interface for the Humax. diff --git a/var/mongoose/cgi-bin/browse.jim b/var/mongoose/cgi-bin/browse.jim index 51c7d2d..f7a7b0a 100755 --- a/var/mongoose/cgi-bin/browse.jim +++ b/var/mongoose/cgi-bin/browse.jim @@ -55,7 +55,9 @@ proc directory {file bfile tbfile} { lassign [{dir iconset} $file] icons attrs + puts "" puts [join $icons ""] + puts "" puts -nonewline " diff --git a/var/mongoose/cgi-bin/browse/assets.jim b/var/mongoose/cgi-bin/browse/assets.jim index 67aec5d..4f1e452 100755 --- a/var/mongoose/cgi-bin/browse/assets.jim +++ b/var/mongoose/cgi-bin/browse/assets.jim @@ -45,7 +45,7 @@ puts {
  • Download
  • -