move links from main page to diag

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@885 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2012-04-05 20:30:40 +00:00
parent 2de66b4f3c
commit 79a09e1df6
9 changed files with 28 additions and 13 deletions

View File

@ -35,9 +35,16 @@ puts {
</td>
</tr>
<tr>
<td colspan=2 align=center>
<button id=runedit style="width: 48%">File Editor</button>
<button id=dbinfo style="width: 48%">Database Browser</button>
</td>
</tr>
<tr>
<td colspan=2>
<button id=runedit style="width: 100%">File Editor</button>
<button id=channelinfo style="width: 100%">Channel Information</button>
</td>
</tr>
@ -81,6 +88,9 @@ Allow it to turn off completely before restarting.<br>
</tr>
</table>
<a href=/jim/ref.html target=_blank>Jim Reference Manual</a> |
<a href=/jim/oo.html target=_blank>OO</a> |
<a href=/jim/sqlite.html target=_blank>Sqlite</a>
</fieldset>
<fieldset class=left>

View File

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

View File

@ -0,0 +1 @@
blank.png

View File

@ -0,0 +1 @@
blank.png

View File

@ -0,0 +1 @@
blank.png

View File

@ -0,0 +1 @@
blank.png

View File

@ -0,0 +1 @@
blank.png

View File

@ -131,16 +131,6 @@ Release Notes:
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><li>
<a href=/diag/diag.jim>Diagnostics & Utilities</a>
</li><li>
<a href=/cgi-bin/channel.jim>Channel Information</a>
</li><li>
<a href=/cgi-bin/db.jim target=_blank>SQLite3 Database Dump</a>
</li><li>
<a href=/jim/ref.html target=_blank>Jim Reference Manual</a> |
<a href=/jim/oo.html target=_blank>OO</a> |
<a href=/jim/sqlite.html target=_blank>Sqlite</a>
</li>
</ul>
<!--#exec cmd="/mod/var/mongoose/include/modversion.jim" -->

View File

@ -17,7 +17,7 @@ set event [rsv slot $table $slot]
set rsvicon [$event icon]
if {$rsvicon ne ""} {
set rsvicon "<img src='images/$rsvicon' height=20>"
set rsvicon "<img src='/images/$rsvicon' height=20>"
if {[$event get ersvtype] == 3} {
if {[$event padded]} {
set padding "<- [expr [$event get ulPreOffset] / 60], [expr [$event get ulPostOffset] / 60] ->"
@ -33,7 +33,7 @@ if {$rsvicon ne ""} {
set RKIcon [$event RKIcon]
if {$RKIcon ne ""} {
set RKIcon "<img src='images/$RKIcon' height=20>"
set RKIcon "<img src='/images/$RKIcon' height=20>"
}
if {[$event get ucRecKind] == 4} {