summaryrefslogtreecommitdiff
path: root/yhttpd/html
diff options
context:
space:
mode:
Diffstat (limited to 'yhttpd/html')
-rw-r--r--yhttpd/html/index.html27
-rw-r--r--yhttpd/html/notfound.html12
-rw-r--r--yhttpd/html/style.css48
-rw-r--r--yhttpd/html/test.cgi9
4 files changed, 96 insertions, 0 deletions
diff --git a/yhttpd/html/index.html b/yhttpd/html/index.html
new file mode 100644
index 0000000..66dca39
--- /dev/null
+++ b/yhttpd/html/index.html
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title>
+ %%yhttpd.version%%
+</title>
+<link rel=stylesheet href="style.css" type=text/css>
+</head>
+<body>
+<table align=center width=500>
+<tr>
+<td align=center class=header>%%yhttpd.version%%<br><br>%%INFO%%</td>
+</tr>
+<tr>
+<td colspan=2>&nbsp;</td>
+</tr>
+<tr>
+<td align=center colspan=2>
+This is the demo website provided by yhttpd :-)
+</td>
+</tr>
+</table>
+<br><br>
+<center><span class="signature">yhttpd is OpenSource - get it at <a class="fancy" target="_blank" href="http://www.yChat.org">http://www.yChat.org</a></span></center>
+</body>
+</html>
diff --git a/yhttpd/html/notfound.html b/yhttpd/html/notfound.html
new file mode 100644
index 0000000..a14d44b
--- /dev/null
+++ b/yhttpd/html/notfound.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title>
+ %%HTML_TITLE_TAG_CONTENT%%
+</title>
+</head>
+<body>
+ Page not found.
+</body>
+</html>
diff --git a/yhttpd/html/style.css b/yhttpd/html/style.css
new file mode 100644
index 0000000..4b6d9ca
--- /dev/null
+++ b/yhttpd/html/style.css
@@ -0,0 +1,48 @@
+body, div {
+ font-family: Verdana, Helvetica, sans-serif;
+ background-color: #000000;
+ color: #FFFFEF;
+ font-size: 11pt;
+}
+
+input {
+ color: #000000;
+ font-family: Verdana, Helvetica, sans-serif;
+ text-decoration: none;
+ font-size: 9pt;
+ padding: 2px;
+}
+
+input.text {
+ background-color: #FFFFEF;
+}
+
+.fancy {
+ font-family: Verdana, Helvetica, sans-serif;
+ font-size: 9pt;
+ color: #FFFFEF;
+ padding: 2px;
+}
+
+a:hover.fancy {
+ text-decoration: none;
+ color: #FFFFEF;
+ background-color: #000000;
+}
+
+h1 {
+ background-color: #ffa500;
+ border: solid #000000 1px;
+ font-size: 20pt;
+ padding: 13px;
+ font-width: bold;
+}
+
+body.stream {
+ background-color: #323232;
+}
+
+.signature {
+ color: #AAAAAA;
+ font-size: 9pt;
+}
diff --git a/yhttpd/html/test.cgi b/yhttpd/html/test.cgi
new file mode 100644
index 0000000..12b7f75
--- /dev/null
+++ b/yhttpd/html/test.cgi
@@ -0,0 +1,9 @@
+#!/usr/bin/perl -w
+
+use strict;
+
+print "<html><body>\n";
+print "Hello World!\n";
+print "</body></html>\n";
+
+