diff options
Diffstat (limited to 'nuttx/examples/thttpd')
-rw-r--r-- | nuttx/examples/thttpd/content/index.html | 30 | ||||
-rw-r--r-- | nuttx/examples/thttpd/content/style.css | 80 |
2 files changed, 110 insertions, 0 deletions
diff --git a/nuttx/examples/thttpd/content/index.html b/nuttx/examples/thttpd/content/index.html new file mode 100644 index 000000000..3c9d21f00 --- /dev/null +++ b/nuttx/examples/thttpd/content/index.html @@ -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> diff --git a/nuttx/examples/thttpd/content/style.css b/nuttx/examples/thttpd/content/style.css new file mode 100644 index 000000000..bfb0997a8 --- /dev/null +++ b/nuttx/examples/thttpd/content/style.css @@ -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; +} + |