update
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@420 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
22db1fbbd6
commit
9b2f138fd9
@ -1,7 +1,7 @@
|
||||
Package: webif
|
||||
Priority: optional
|
||||
Section: web
|
||||
Version: 0.7.1-2
|
||||
Version: 0.7.1-3
|
||||
Architecture: mipsel
|
||||
Maintainer: af123@hummypkg.org.uk
|
||||
Depends: mongoose(>=3.0-2),jim(>=0.71-1),jim-sqlite3(>=0.71-1),jim-cgi(>=0.4),jim-oo,jim-pack,service-control,busybox(>=1.18.3-1),lsof,epg(>=1.0.3),hmt(>=1.0.6),ssmtp
|
||||
|
@ -33,7 +33,8 @@ jQuery.ajaxPrefilter(function(options, _, jqXHR) {
|
||||
}
|
||||
}
|
||||
} catch(e) {
|
||||
console.log(e);
|
||||
if (window.console)
|
||||
console.log(e);
|
||||
}
|
||||
}, options.progressInterval);
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
puts {
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
"http://www.w3.org/TR/html4/strict.dtd">
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
|
@ -1,5 +1,4 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
"http://www.w3.org/TR/html4/strict.dtd">
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title><!--#exec cmd="/mod/var/mongoose/include/model.jim" --></title>
|
||||
|
@ -4,6 +4,7 @@ source /mod/var/mongoose/lib/setup
|
||||
require system.class
|
||||
|
||||
puts "<font class=blood style=\"font-size: 0.9em; float: right; clear: right\">
|
||||
Web interface version: [system pkgver webif]<br>
|
||||
Custom firmware version: [system modversion]
|
||||
</font>"
|
||||
|
||||
|
@ -32,6 +32,10 @@ proc {system modversion} {} {
|
||||
return [format "%d.%d%d" $a $b $c]
|
||||
}
|
||||
|
||||
proc {system pkgver} {{pkg webif}} {
|
||||
return [lrange [split [exec opkg list-installed $pkg] " "] 2 end]
|
||||
}
|
||||
|
||||
proc {system diskspace} {} {
|
||||
switch [system model] {
|
||||
HDR { set part /mnt/hd2 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user