add button links to foot of front page

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1520 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2013-04-04 00:24:24 +00:00
parent a1e45d5e9c
commit 26ef83fbff
8 changed files with 26 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@ -19,7 +19,6 @@ $(document).ready(function() {
</script>
<!--#exec cmd="/mod/webif/include/menuicons.jim" -->
<!--#exec cmd="/mod/webif/include/menuplugins.jim" -->
</div>
<div class=footer>

View File

@ -1,9 +1,13 @@
#!/mod/bin/jimsh
source /mod/webif/lib/setup
require settings.class
require settings.class plugin
proc menuitem {title icon link {width 217} {height 0} {extra ""}} {{num 0}} {
if {$title eq "-reset"} {
set num 0
return
}
incr num
if {$title eq ""} return
if {$num > 4} {
@ -15,7 +19,8 @@ proc menuitem {title icon link {width 217} {height 0} {extra ""}} {{num 0}} {
<div class=left num=$num>
<center>
<a href=$link>
<img src=$icon ${extra}border=0 width=$width"
<img src=$icon ${extra}border=0 "
if {$width} { puts -nonewline " width=$width" }
if {$height} { puts -nonewline " height=$height" }
puts -nonewline ">
</a>
@ -62,3 +67,22 @@ menuitem "Settings" "/images/326_1_00_Menu_Settings.png" \
menuitem "Diagnostics" "/img/diagnostics.png" \
/diag/diag.jim 217 228
eval_plugins menu
menuitem "-reset" "" ""
puts {</div><div style="clear: both; padding-top: 3em">}
menuitem "hummy.tv<br>Forums" "/img/forum.png" \
"http://hummy.tv/ target=_blank" 0 100 \
"style=\"padding: 1em\""
menuitem "hummy.tv<br>Wiki" "/img/wiki.png" \
"http://wiki.hummy.tv/ target=_blank" 0 100 \
"style=\"padding: 1em\""
menuitem "Things Every<br>Owner Should Know" "/img/started.png" \
"http://hummy.tv/forum/threads/1858/ target=_blank" 0 100 \
"style=\"padding: 1em\""
menuitem "Twitter<br>Feed" "/img/silver-twitter-bird-button.png" \
"http://twitter.com/HummyPkg target=_blank" 0 100 \
"style=\"padding: 1em\""