webif/var/mongoose/html/m/index.jim
hummypkg 57b78c4c0d new disk diagnostics. Progress on mobile
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1173 2a923420-c742-0410-a762-8d5b09965624
2012-10-25 23:31:09 +00:00

39 lines
920 B
Plaintext
Executable File

#!/mod/bin/jimsh
source /mod/webif/lib/setup
require settings.class plugin
mheader
puts "<ul data-role=listview data-inset=true>"
proc tb {icon txt link {height 80} {width 0}} {
if {$width > 0} {
set width " width=$width"
} else {
set width ""
}
puts -nonewline "<li><a href=\"$link\">
<img src=\"$icon\" height=${height}${width} border=0>
<h3>$txt</h3>
</a></li>"
}
if {[file exists "/mod/bin/ir"]} {
tb "/img/remote.png" "Remote" "/plugin/ir/m/index.jim\" rel=\"external"
}
tb "/images/328_1_26_Menu_TV_Guide.png" "Now/Next" "nownext.jim"
tb "/images/323_1_10_Menu_Video.png" "Browse" "#"
tb "/images/321_1_00_Menu_CHList.png" "Schedule" "#"
tb "/img/spanner.png" "Services" "#"
tb "/img/packages.png" "Packages" "#"
tb "/images/326_1_00_Menu_Settings.png" "Settings" \
"/cgi-bin/settings.jim\" rel=\"external"
tb "/img/diagnostics.png" "Diag" "#"
#eval_plugins toolbar
puts "</ul>"
mfooter