Import of the contiki-2.x development code from the SICS internal CVS server
This commit is contained in:
commit
c9e808d638
671 changed files with 95332 additions and 0 deletions
8
apps/webserver/httpd-fs/404.html
Normal file
8
apps/webserver/httpd-fs/404.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<body bgcolor="white">
|
||||
<center>
|
||||
<h1>404 - file not found</h1>
|
||||
<h3>Go <a href="/">here</a> instead.</h3>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
24
apps/webserver/httpd-fs/files.shtml
Normal file
24
apps/webserver/httpd-fs/files.shtml
Normal file
|
@ -0,0 +1,24 @@
|
|||
%!: /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="/img/screenshot.png">/img/screenshot.png</a></td>
|
||||
<td>%! file-stats /img/screenshot.png
|
||||
</td></tr></table>
|
||||
%!: /footer.html
|
2
apps/webserver/httpd-fs/footer.html
Normal file
2
apps/webserver/httpd-fs/footer.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
</body>
|
||||
</html>
|
28
apps/webserver/httpd-fs/header.html
Normal file
28
apps/webserver/httpd-fs/header.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!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">
|
||||
</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>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contentblock">
|
||||
<p class="border-title">
|
||||
Welcome to the <a href="http://www.sics.se/~adam/contiki/">Contiki</a>
|
||||
web server!
|
||||
</p>
|
41
apps/webserver/httpd-fs/index.html
Normal file
41
apps/webserver/httpd-fs/index.html
Normal file
|
@ -0,0 +1,41 @@
|
|||
<!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 web server!</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css">
|
||||
</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>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contentblock">
|
||||
<p class="border-title">
|
||||
Welcome to the <a href="http://www.sics.se/~adam/contiki/">Contiki</a>
|
||||
web server!
|
||||
</p>
|
||||
|
||||
<p class="intro">
|
||||
The web pages you are watching are served by a <a
|
||||
href="http://www.sics.se/~adam/contiki/apps/webserver.html">web
|
||||
server</a> running under the <a
|
||||
href="http://www.sics.se/~adam/contiki/">Contiki operating
|
||||
system</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
5
apps/webserver/httpd-fs/processes.shtml
Normal file
5
apps/webserver/httpd-fs/processes.shtml
Normal file
|
@ -0,0 +1,5 @@
|
|||
%!: /header.html
|
||||
<h1>System processes</h1><br><table width="100%">
|
||||
<tr><th>ID</th><th>Name</th><th>Priority</th><th>Poll handler</th><th>Event handler</th><th>Procstate</th></tr>
|
||||
%! processes
|
||||
%!: /footer.html
|
239
apps/webserver/httpd-fs/style.css
Normal file
239
apps/webserver/httpd-fs/style.css
Normal file
|
@ -0,0 +1,239 @@
|
|||
h1
|
||||
{
|
||||
text-align: center;
|
||||
font-size:14pt;
|
||||
font-family:arial,helvetica;
|
||||
font-weight:bold;
|
||||
padding:10px;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
|
||||
background-color: #fffeec;
|
||||
color:black;
|
||||
|
||||
font-size:8pt;
|
||||
font-family:arial,helvetica;
|
||||
}
|
||||
|
||||
.wrap {
|
||||
width: 98%;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
font-family:arial,helvetica;
|
||||
}
|
||||
|
||||
.menublock
|
||||
{
|
||||
margin: 4px;
|
||||
width:15%;
|
||||
float:left;
|
||||
|
||||
padding:10px;
|
||||
|
||||
border: solid 1px;
|
||||
background-color: #fffcd2;
|
||||
text-align:left;
|
||||
|
||||
font-size:9pt;
|
||||
font-family:arial,helvetica;
|
||||
}
|
||||
|
||||
.contentblock
|
||||
{
|
||||
margin: 4px;
|
||||
width:50%;
|
||||
float:left;
|
||||
|
||||
padding:10px;
|
||||
|
||||
border: 1px dotted;
|
||||
background-color: white;
|
||||
|
||||
font-size:8pt;
|
||||
font-family:arial,helvetica;
|
||||
|
||||
}
|
||||
|
||||
.newsblock
|
||||
{
|
||||
margin: 4px;
|
||||
width:24%;
|
||||
float:left;
|
||||
|
||||
|
||||
padding:10px;
|
||||
|
||||
border: solid 1px;
|
||||
background-color: #fffcd2;
|
||||
text-align:left;
|
||||
font-size:8pt;
|
||||
font-family:arial,helvetica;
|
||||
}
|
||||
|
||||
.printable
|
||||
{
|
||||
margin: 4px;
|
||||
width:24%;
|
||||
float:left;
|
||||
|
||||
|
||||
padding:10px;
|
||||
|
||||
border: 0;
|
||||
background-color: #fffeec;
|
||||
text-align:right;
|
||||
font-size:8pt;
|
||||
font-family:arial,helvetica;
|
||||
}
|
||||
|
||||
div.rfig
|
||||
{
|
||||
border: solid 1px;
|
||||
|
||||
text-align: left;
|
||||
|
||||
padding: 10px;
|
||||
margin:10px;
|
||||
|
||||
font-size:8pt;
|
||||
|
||||
float:right;
|
||||
}
|
||||
|
||||
pre.example
|
||||
{
|
||||
border: solid 1px;
|
||||
padding: 10px;
|
||||
margin:10px;
|
||||
text-align: left;
|
||||
font-size:8pt;
|
||||
font-family:arial,helvetica;
|
||||
white-space:pre;
|
||||
}
|
||||
|
||||
|
||||
p.intro
|
||||
{
|
||||
margin-left:20px;
|
||||
margin-right:20px;
|
||||
|
||||
font-size:10pt;
|
||||
/* font-weight:bold; */
|
||||
font-family:arial,helvetica;
|
||||
}
|
||||
|
||||
p.clink
|
||||
{
|
||||
font-size:12pt;
|
||||
font-family:courier,monospace;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
p.clink9
|
||||
{
|
||||
font-size:9pt;
|
||||
font-family:courier,monospace;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
p.related
|
||||
{
|
||||
font-size:10pt;
|
||||
font-family:arial,helvetica;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
img.right
|
||||
{
|
||||
float:right;
|
||||
margin:10px;
|
||||
}
|
||||
|
||||
img.left
|
||||
{
|
||||
float:left;
|
||||
margin:10px;
|
||||
}
|
||||
|
||||
p.fig
|
||||
{
|
||||
border: solid 1px;
|
||||
|
||||
text-align: center;
|
||||
|
||||
padding: 10px;
|
||||
margin:10px;
|
||||
|
||||
font-size:7pt;
|
||||
}
|
||||
|
||||
p.rfig
|
||||
{
|
||||
border: solid 1px;
|
||||
|
||||
text-align: center;
|
||||
|
||||
padding: 10px;
|
||||
margin:10px;
|
||||
|
||||
font-size:7pt;
|
||||
|
||||
float:right;
|
||||
}
|
||||
|
||||
|
||||
p.lfig
|
||||
{
|
||||
border: solid 1px;
|
||||
|
||||
text-align: center;
|
||||
|
||||
padding: 10px;
|
||||
margin:10px;
|
||||
|
||||
font-size:7pt;
|
||||
|
||||
float:left;
|
||||
}
|
||||
|
||||
p
|
||||
{
|
||||
padding-left:10px;
|
||||
}
|
||||
|
||||
p.mailaddr
|
||||
{
|
||||
padding-left:10px;
|
||||
font-size:7pt;
|
||||
font-family:courier,terminal;
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
p.right
|
||||
{
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
p.border-title
|
||||
{
|
||||
text-align:center;
|
||||
|
||||
font-size:14pt;
|
||||
|
||||
padding:0px;
|
||||
margin:4px;
|
||||
margin-bottom:10px;
|
||||
|
||||
color: black;
|
||||
background-color: #fffcba;
|
||||
border: solid 1px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
5
apps/webserver/httpd-fs/tcp.shtml
Normal file
5
apps/webserver/httpd-fs/tcp.shtml
Normal file
|
@ -0,0 +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>
|
||||
%! tcp-connections
|
||||
%!: /footer.html
|
8
apps/webserver/httpd-fs/upload.html
Normal file
8
apps/webserver/httpd-fs/upload.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<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>
|
Loading…
Add table
Add a link
Reference in a new issue