add 404 page, fix typo

git-svn-id: file:///root/webif/svn/pkg/webif/trunk@2602 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2016-02-08 18:31:45 +00:00
parent 131b8980ac
commit 943009252b
4 changed files with 32 additions and 3 deletions

View File

@ -1,10 +1,10 @@
Package: webif
Priority: optional
Section: web
Version: 1.2.7-2
Version: 1.2.7-3
Architecture: mipsel
Maintainer: af123@hummypkg.org.uk
Depends: webif-channelicons(>=1.1.18),lighttpd(>=1.4.39),jim(>=0.76),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.1),hmt(>=2.0.9),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7)
Depends: webif-channelicons(>=1.1.18),lighttpd(>=1.4.39-1),jim(>=0.76),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.1),hmt(>=2.0.9),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7)
Suggests:
Description: An evolving web interface for the Humax.
Tags: http://hummy.tv/forum/threads/6484/

29
webif/html/404.jim Executable file
View File

@ -0,0 +1,29 @@
#!/mod/bin/jimsh
source /mod/webif/lib/setup
set delay 5
httpheader "text/html" 0 "Refresh: $delay; url=/\r\n"
header
puts {
<div width=100%>
<center>
<div>
<h1>Page Not found</h1>
</div>
<div>
<img src=/img/404.png>
</div>
<div>
Redirecting to main menu in $delay seconds...
</div>
</center>
</div>
}
footer

View File

@ -202,7 +202,7 @@ puts {
<br><br>
Once in this state, the installation of an official Humax
firmware file followed by the System Flush update image
will return this unit to a factory state with no remaining
will return this unit to a factory state with no
traces of the Custom Firmware remaining.
</div>
</div>

BIN
webif/html/img/404.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB