Basic files for THTTPD test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1998 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
0051421e18
commit
0a4f4a805d
30
examples/thttpd/content/index.html
Normal file
30
examples/thttpd/content/index.html
Normal file
@ -0,0 +1,30 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>NuttX examples/thttpd!</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
</head>
|
||||
<body bgcolor="#fffeec" text="black">
|
||||
|
||||
<div class="menu">
|
||||
<div class="menubox"><a href="index.html">Front page</a></div>
|
||||
<div class="menubox"><a href="cgi-bin/hello">Say Hello</a></div>
|
||||
<div class="menubox"><a href="cgi-bin/test1">Test1</a></div>
|
||||
<div class="menubox"><a href="cgi-bin/test2">Test2</a></div>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<div class="contentblock">
|
||||
<p>
|
||||
These web pages are served by a port of <a href="http://acme.com/software/thttpd/">THTTPD</a>
|
||||
running on top of <a href="http://www.nuttx.org">NuttX</a>.
|
||||
NuttX includes a port of the <a href="http://www.sics.se/~adam/uip/">uIP</a> embedded TCP/IP stack.
|
||||
</p>
|
||||
<p>
|
||||
Click on the links above to exercise THTTPD's CGI capability under NuttX.
|
||||
Clicking the links will execute the CGI program from an
|
||||
<a href="http://nuttx.sourceforge.net/NuttXNxFlat.html">NXFLAT</a> program residing
|
||||
in a ROMFS file system.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
80
examples/thttpd/content/style.css
Normal file
80
examples/thttpd/content/style.css
Normal file
@ -0,0 +1,80 @@
|
||||
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;
|
||||
}
|
||||
|
||||
.menu
|
||||
{
|
||||
margin: 4px;
|
||||
width:60%;
|
||||
padding:2px;
|
||||
border: solid 1px;
|
||||
background-color: #fffcd2;
|
||||
text-align:left;
|
||||
font-size:9pt;
|
||||
font-family:arial,helvetica;
|
||||
}
|
||||
|
||||
div.menubox
|
||||
{
|
||||
width: 25%;
|
||||
border: 0;
|
||||
float: left;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.contentblock
|
||||
{
|
||||
margin: 4px;
|
||||
width:60%;
|
||||
padding:2px;
|
||||
border: 1px dotted;
|
||||
background-color: white;
|
||||
font-size:8pt;
|
||||
font-family:arial,helvetica;
|
||||
}
|
||||
|
||||
p.intro
|
||||
{
|
||||
margin-left:20px;
|
||||
margin-right:20px;
|
||||
font-size:10pt;
|
||||
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
|
||||
{
|
||||
padding-left:10px;
|
||||
}
|
||||
|
||||
p.right
|
||||
{
|
||||
text-align:right;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user