Fix html compliance, use wildcard in file-stats cgi

This commit is contained in:
dak664 2009-06-19 17:09:51 +00:00
parent 617eae6ca1
commit 6c30271ade
9 changed files with 18 additions and 61 deletions

View file

@ -1,8 +1 @@
<html>
<body bgcolor="white">
<center>
<h1>404 - file not found</h1>
<h3>Go <a href="/">here</a> instead.</h3>
</center>
</body>
</html>
<html><body bgcolor="white"><center><h1>404 - file not found</h1><h3>Go <a href="/">here</a> instead.</h3></center></body></html>

View file

@ -1,20 +1,5 @@
%!: /header.html
<h1>File statistics</h1><br><table width="100%">
<tr><td><a href="/index.html">/index.html</a></td><td>
%! file-stats /index.html
</td></tr><tr><td><a href="/files.shtml">/files.shtml</a></td><td>
%! file-stats /files.shtml
</td></tr><tr><td><a href="/tcp.shtml">/tcp.shtml</a></td><td>
%! file-stats /tcp.shtml
</td></tr><tr><td><a href="/processes.shtml">/processes.shtml</a></td><td>
%! file-stats /processes.shtml
</td></tr><tr><td><a href="/style.css">/style.css</a></td><td>
%! file-stats /contiki.css
</td></tr><tr><td><a href="/404.html">/404.html</a></td><td>
%! file-stats /404.html
</td></tr><tr><td><a href="/robots.txt">/robots.txt</a></td><td>
%! file-stats /robots.txt
</td></tr><tr><td><a href="/img/screenshot.png">/img/screenshot.png</a></td><td>
%! file-stats /img/screenshot.png
</td></tr></table>
<h1>File statistics</h1><br><table width="100%"><tr align="left"><th>Name</th><th>Accesses</th></tr>
%! file-stats *
</table>
%!: /footer.html

View file

@ -1,2 +1 @@
</body>
</html>
</div></body></html>

View file

@ -1,14 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>Welcome to the Contiki-demo server!</title>
<link rel="stylesheet" type="text/css" href="/style.css">
<link rel="icon" href="favicon.png" type="image/png">
<link rel="stylesheet" type="text/css" href="/style.css"><link rel="icon" href="favicon.png" type="image/png">
</head><body bgcolor="#fffeec" text="black">
<div class="menublock"><div class="menu">
<p class="border-title">Menu</p><p class="menu">
<a href="/">Front page</a><br>
<a href="files.shtml">File statistics</a><br>
<a href="tcp.shtml">Network connections</a><br>
<a href="processes.shtml">System processes</a><br>
<a href="sensor.shtml">Sensor Readings</a>
</p></div></div><div class="contentblock">
<p class="border-title">Welcome to the <a href="http://www.sics.se/contiki/">Contiki</a> web server!</p>
<div class="menublock"><div class="menu"><p class="border-title">Menu</p><p class="menu"><a href="/">Front page</a><br><a href="files.shtml">File statistics</a><br><a href="tcp.shtml">Network connections</a><br><a href="processes.shtml">System processes</a><br><a href="sensor.shtml">Sensor Readings</a></p></div></div>
<div class="contentblock"><p class="border-title">Welcome to the <a href="http://www.sics.se/contiki/">Contiki</a> web server!</p>

View file

@ -1,7 +1,3 @@
%!: /header.html
<p class="intro">
These pages are from a webserver running under the <a href="http://www.sics.se/contiki/">Contiki operating system</a>.
</p><br><br><i>This page has been sent
%! file-stats /index.html
times.</i>
%!: /footer.html
<p class="intro">These pages are from a webserver running under the <a href="http://www.sics.se/contiki/">Contiki operating system</a>.
%! file-stats .

View file

@ -1,5 +1,5 @@
%!: /header.html
<h1>System processes</h1><br><table width="100%">
<tr><th>ID</th><th>Name</th><th>Thread</th><th>Process state</th></tr>
<h1>System processes</h1><br><table width="100%"><tr><th>ID</th><th>Name</th><th>Thread</th><th>Process state</th></tr>
%! processes
%!: /footer.html
</table>
%! file-stats .

View file

@ -1,5 +1,4 @@
%!: /header.html
<h1>Sensor Readings</h1><br>
%! sensors
%!: /footer.html
%! file-stats .

View file

@ -1,5 +1,5 @@
%!: /header.html
<h1>Current connections</h1><br><table width="100%">
<tr><th>Local</th><th>Remote</th><th>State</th><th>Retransmissions</th><th>Timer</th><th>Flags</th></tr>
<h1>Current connections</h1><br><table width="100%"><tr><th>Local</th><th>Remote</th><th>State</th><th>Retransmissions</th><th>Timer</th><th>Flags</th></tr>
%! tcp-connections
%!: /footer.html
</table>
%! file-stats .

View file

@ -1,8 +1 @@
<html>
<body>
<form action="upload.html" enctype="multipart/form-data" method="post">
<input name="userfile" type="file" size="50" />
<input value="Upload" type="submit" />
</form>
</body>
</html>
<html><body><form action="upload.html" enctype="multipart/form-data" method="post"><input name="userfile" type="file" size="50" /><input value="Upload" type="submit" /></form></body></html>