forked from hummypkg/webif
check size of pending list before showing pending panel
git-svn-id: file:///root/webif/svn/pkg/webif/trunk@3156 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
5fe06b267c
commit
0bd1f610d1
@ -1,10 +1,10 @@
|
||||
Package: webif
|
||||
Priority: optional
|
||||
Section: web
|
||||
Version: 1.3.1-1
|
||||
Version: 1.3.1-2
|
||||
Architecture: mipsel
|
||||
Maintainer: af123@hpkg.tv
|
||||
Depends: tcpfix,webif-channelicons(>=1.1.23),lighttpd(>=1.4.39-1),jim(>=0.76-2),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7-1),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.3),hmt(>=2.0.10),ssmtp,cron-daemon(>=1.18.3-3),at(>=3.1.18),anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.1.0),webif-charts(>=1.2-1),stripts(>=1.2.5-3),tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7),hwctl
|
||||
Depends: tcpfix,webif-channelicons(>=1.1.24),lighttpd(>=1.4.39-1),jim(>=0.76-2),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7-1),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.3),hmt(>=2.0.10),ssmtp,cron-daemon(>=1.18.3-3),at(>=3.1.18),anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.1.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7),hwctl
|
||||
Suggests:
|
||||
Description: An evolving web interface for the Humax.
|
||||
Tags: http://hummy.tv/forum/threads/7116/
|
||||
|
9
webif/cgi-bin/pending.jim
Executable file
9
webif/cgi-bin/pending.jim
Executable file
@ -0,0 +1,9 @@
|
||||
#!/mod/bin/jimsh
|
||||
|
||||
source /mod/webif/lib/setup
|
||||
require rsv.class
|
||||
|
||||
httpheader "application/json"
|
||||
|
||||
puts "{ \"pending\": \"[rsv count pending]\" }"
|
||||
|
@ -7,7 +7,10 @@ $(function() {
|
||||
'&event=' +
|
||||
encodeURIComponent($('#epgpopup_dialogue').attr('xe')) +
|
||||
'&type=' + type, function() {
|
||||
$('#restart_block').slideDown('slow');
|
||||
$.getJSON('/cgi-bin/pending.jim', function(data) {
|
||||
if (data.pending > 0)
|
||||
$('#restart_block').slideDown('slow');
|
||||
});
|
||||
});
|
||||
$(":button:contains('Record')").fadeOut('slow');
|
||||
$(":button:contains('Reminder')").fadeOut('slow');
|
||||
|
@ -13,7 +13,7 @@ puts -nonewline "
|
||||
setting_toggle "Show development and advanced packages?" "pkgdev" $pkgdev
|
||||
|
||||
if {[system pkginst nugget]} {
|
||||
setting_toggle "Real-time scheduling? <span class=blood>(alpha)</span>" "rtschedule" $rtschedule
|
||||
setting_toggle "Real-time scheduling? <span class=blood>(beta)</span>" "rtschedule" $rtschedule
|
||||
}
|
||||
|
||||
puts -nonewline "
|
||||
|
Loading…
Reference in New Issue
Block a user