webif/webif/html/index.jim
hummypkg d7fc82e292 1.3.1
git-svn-id: file:///root/webif/svn/pkg/webif/trunk@3109 2a923420-c742-0410-a762-8d5b09965624
2016-07-05 15:53:50 +00:00

60 lines
1.0 KiB
Tcl
Executable File

#!/mod/bin/jimsh
source /mod/webif/lib/setup
require settings.class
set settings [settings]
header
puts {
<div class=toolbarouter style="top: -40px">
<div id=status class=toolbar>
<span id=status_txt>
Status...
</span>
</div>
</div>
<script type=text/javascript>
$(document).ready(function() {
$('#status_txt').load('/cgi-bin/status.jim',
function(rt,tt,xml) {
if (rt.length)
$('#status').slideDown();
});
});
</script>
}
source /mod/webif/include/menuicons.jim
if {[$settings notwitfeed] == 0} {
source /mod/webif/include/twitfeed.jim
}
puts {<div class=cleft>}
if {[$settings nohelplinks] == 0} {
source /mod/webif/include/helplinks.jim
}
puts {</div><div class=right>}
source /mod/webif/include/modversion.jim
puts {</div>}
puts {
<div class=footer>
<ul>
<li>
Release Notes:
<a target=_blank
href="http://wiki.hummy.tv/wiki/Customised_Firmware_Release_Notes">
Firmware</a> |
<a target=_blank href="http://wiki.hummy.tv/wiki/Webif_release_notes">Webif</a>
</li>
</ul>
</div>
}
footer