forked from hummypkg/webif
handle ar/pad icons
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@576 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
593b7dbb89
commit
18cafc8c39
@ -1,7 +1,7 @@
|
|||||||
Package: webif
|
Package: webif
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: web
|
Section: web
|
||||||
Version: 0.8.8
|
Version: 0.8.8-1
|
||||||
Architecture: mipsel
|
Architecture: mipsel
|
||||||
Maintainer: af123@hummypkg.org.uk
|
Maintainer: af123@hummypkg.org.uk
|
||||||
Depends: mongoose(>=3.0-2),jim(>=0.71-1),jim-sqlite3(>=0.71-1),jim-cgi(>=0.4-1),jim-oo,jim-pack,service-control,busybox(>=1.19.3-1),lsof,epg(>=1.0.8),hmt(>=1.1.2),ssmtp,anacron
|
Depends: mongoose(>=3.0-2),jim(>=0.71-1),jim-sqlite3(>=0.71-1),jim-cgi(>=0.4-1),jim-oo,jim-pack,service-control,busybox(>=1.19.3-1),lsof,epg(>=1.0.8),hmt(>=1.1.2),ssmtp,anacron
|
||||||
|
@ -153,10 +153,11 @@ proc eventrow {event {table TBL_RESERVATION}} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if {$table eq "pending"} {
|
if {$table eq "pending"} {
|
||||||
if {[$event get action] == 0} {
|
switch [$event get action] {
|
||||||
set icon "add"
|
0 { set icon "add" }
|
||||||
} else {
|
1 { set icon "close" }
|
||||||
set icon "close"
|
2 { set icon "ar" }
|
||||||
|
3 { set icon "pad" }
|
||||||
}
|
}
|
||||||
puts "<td align=center>
|
puts "<td align=center>
|
||||||
<img class=va width=30 src=/img/$icon.png></td>"
|
<img class=va width=30 src=/img/$icon.png></td>"
|
||||||
|
Loading…
Reference in New Issue
Block a user