add dlna stuff

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@894 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg
2012-04-08 23:26:38 +00:00
parent 87060ef8e2
commit 3d0152e475
7 changed files with 159 additions and 14 deletions

View File

@@ -50,6 +50,20 @@ puts {
</td>
</tr>
}
if {[system model] eq "HDR"} {
puts {
<tr>
<td colspan=2 align=center>
<button id=dlna style="width: 48%">DLNA Server</button>
</td>
</tr>
}
}
puts {
<tr><td colspan=2 style="height: 10px"></td></tr>
<tr>

View File

@@ -49,6 +49,11 @@ $('#channelinfo').click(function(e) {
window.location = '/cgi-bin/channel.jim';
});
$('#dlna').click(function(e) {
e.preventDefault();
window.location = '/dlna/dlna.jim';
});
$('#reboot').click(function(e) {
e.preventDefault();
if (confirm('Are you sure you wish to perform a reboot now?'))