forked from hummypkg/webif
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:
parent
a1e45d5e9c
commit
26ef83fbff
BIN
var/mongoose/html/img/forum.jpg
Normal file
BIN
var/mongoose/html/img/forum.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
var/mongoose/html/img/forum.png
Normal file
BIN
var/mongoose/html/img/forum.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
BIN
var/mongoose/html/img/glossy-cute-blue1.png
Normal file
BIN
var/mongoose/html/img/glossy-cute-blue1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
BIN
var/mongoose/html/img/silver-twitter-bird-button.png
Normal file
BIN
var/mongoose/html/img/silver-twitter-bird-button.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
BIN
var/mongoose/html/img/started.png
Normal file
BIN
var/mongoose/html/img/started.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 80 KiB |
BIN
var/mongoose/html/img/wiki.png
Normal file
BIN
var/mongoose/html/img/wiki.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 57 KiB |
@ -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>
|
||||
|
@ -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\""
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user