summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rw-r--r--[-rwxr-xr-x]html/favicon.icobin2238 -> 2238 bytes
-rwxr-xr-xhtml/frameset.html12
-rwxr-xr-xhtml/index.html21
-rwxr-xr-xhtml/input.html52
-rwxr-xr-xhtml/notfound.html4
-rwxr-xr-xhtml/online.html21
-rwxr-xr-xhtml/stream.html42
-rw-r--r--[-rwxr-xr-x]html/style.css0
8 files changed, 53 insertions, 99 deletions
diff --git a/html/favicon.ico b/html/favicon.ico
index 4deafd5..4deafd5 100755..100644
--- a/html/favicon.ico
+++ b/html/favicon.ico
Binary files differ
diff --git a/html/frameset.html b/html/frameset.html
index 672f8fa..fe6b973 100755
--- a/html/frameset.html
+++ b/html/frameset.html
@@ -1,21 +1,19 @@
-<!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>
- %%ychat.version%%
+ %%PGETITLE%%
</title>
</head>
- <frameset boders="0" rows="*,70">
+ <frameset rows="*,60">
<noframes>
Your browser does not support frames,
</noframes>
<frameset cols="*,150">
- <frame src="stream.html?event=stream&tmpid=%%tmpid%%" name="stream">
- <frame src="online.html?event=online&tmpid=%%tmpid%%" name="online">
+ <frame src="stream.html?event=stream&nick=%%nick%%&tmpid=%%tmpid%%" name="stream">
+ <frame src="online.html?event=online&nick=%%nick%%&tmpid=%%tmpid%%" name="online">
</frameset>
<frameset rows="*,0">
- <frame src="input.html?event=input&tmpid=%%tmpid%%" name="input">
+ <frame src="input.html?event=input&nick=%%nick%%&tmpid=%%tmpid%%" name="input">
<frame src="blank.html" name="blank">
</frameset>
</frameset>
diff --git a/html/index.html b/html/index.html
index b1a1793..7bc01b0 100755
--- a/html/index.html
+++ b/html/index.html
@@ -1,27 +1,32 @@
-<!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%%
+ %%PGETITLE%%
</title>
<link rel=stylesheet href="style.css" type=text/css>
</head>
<body bgcolor=#000000 text=#ffff00>
<table align=center width=500>
<tr>
-<td align=center class=header>%%yhttpd.version%%<br><br>%%INFO%%</td>
+<td align=center><img src="y_black.gif" alt="ychat"></td>
+<td align=center class=header>%%PGETITLE%%<br>%%INFO%%</td>
</tr>
<tr>
-<td colspan=2>&nbsp;</td>
+ <td colspan=2>&nbsp;</td>
</tr>
<tr>
-<td align=center colspan=2>
-This is the demo website provided by yhttpd :-)
+ <td align=center colspan=2>
+Enter your nick:
+<form action="frameset.html" method="GET">
+ <input type="hidden" name="event" value="login">
+ <input type="hidden" name="room" value="%%STRDROOM%%">
+ <input type="text" name="nick">
+ <input type="submit" value="login">
+</form>
</td>
</tr>
</table>
<br><br>
-<center><span class="signature">yhttpd is OpenSource - get it at <a target="_blank" href="http://www.yhttpd.org">http://www.yhttpd.org</a></span></center>
+<center><span class="signature">yChat is OpenSource - get it at <a target="_blank" href="http://www.yChat.org">http://www.yChat.org</a></span></center>
</body>
</html>
diff --git a/html/input.html b/html/input.html
index 31ed9fe..a403d8e 100755
--- a/html/input.html
+++ b/html/input.html
@@ -1,60 +1,34 @@
-<!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">
+ <head>
<title>
- %%HTML_TITLE_TAG_CONTENT%%
+ %%PGETITLE%%
</title>
- <link rel=stylesheet href="style.css" type=text/css>
+<link rel=stylesheet href="style.css" type=text/css>
+
<script language="JavaScript">
<!--
function delout()
{
- document.input.message.value = document.input.message.value.replace(/&/g, '\\AND');
- document.input.submit();
- document.input.message.value = "";
document.input.message.focus();
+ document.input.message.select();
+ document.input.submit();
return false;
}
function selectinput()
{
document.input.message.select();
}
- function popup(site,width,height)
- {
- var left = (screen.availWidth-width)/2;
- var top = (screen.availHeight-height)/2;
- var win = window.open(site,"_blank","width="+width+",height="+height+",left="+left+",top="+top+",scrollbars=yes");
- }
- function chgscroll(f)
- {
- if(f.checked)
- parent.stream.autoscroll();
- else
- parent.stream.stopscroll();
- }
//-->
</script>
</head>
- <body>
- <form method="GET" name="input" action="input.html" target="blank" onsubmit="return delout();">
- <div style="position: absolute; top: 5px;">
- <input class="text" type="text" name="message" size="60" maxlength="%%chat.maxlength.message%%">
- <input type="submit" value="Send" accesskey='s'>
- <input type="button" value="Select" accesskey='e' onclick="javascript:selectinput();">
- </div>
- <div style="position: absolute; top: 29px;">
- <a href='#' class="fancy" onclick="javascript:popup('colors.html?event=colors&tmpid=%%tmpid%%', 600, 480)">Colors</a>
- <a href='#' class="fancy" onclick="javascript:popup('options.html?event=options&tmpid=%%tmpid%%', 600, 480)">Options</a>
- <a href='#' class="fancy" onclick="javascript:popup('help.html?event=help&tmpid=%%tmpid%%', 600, 480)">Help</a>
- <a href='#' class="fancy" onclick="javascript:popup('loggedin.html?event=loggedin&tmpid=%%tmpid%%', 600, 480)">Users</a>
- <a href='#' class="fancy" onclick="javascript:popup('admin.html?event=admin&tmpid=%%tmpid%%', 600, 480)">Admin</a>
- <a href='input.html?event=input&tmpid=%%tmpid%%&message=%2Fq' class="fancy" target='blank'>Logout</a>
- Scrolling:
- <input type="checkbox" name="scroll" checked onClick="chgscroll(this);">
- </div>
- <input type="hidden" name="event" value="input">
+ <body bgcolor=#000000 text=#ffffff>
+ <form name="input" action="input.html" target="blank" onsubmit="return delout();">
+ <input type="hidden" name="event" value="post">
+ <input type="hidden" name="nick" value="%%nick%%">
<input type="hidden" name="tmpid" value="%%tmpid%%">
+ <input type="text" name="message" size="50">
+ <input type="submit" value="send">
+ <input type="button" value="select" onclick="javascript:selectinput();">
</form>
</body>
</html>
diff --git a/html/notfound.html b/html/notfound.html
index a14d44b..574e341 100755
--- a/html/notfound.html
+++ b/html/notfound.html
@@ -1,9 +1,7 @@
-<!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%%
+ %%PGETITLE%%
</title>
</head>
<body>
diff --git a/html/online.html b/html/online.html
index 3eda553..aa14f8d 100755
--- a/html/online.html
+++ b/html/online.html
@@ -1,20 +1,7 @@
-<!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">
- <link rel=stylesheet href="style.css" type=text/css>
- </head>
- <body>
- <b>%%room%%</b>
- <br>
- <br>
- <table>
- <tr>
- <td>
- %%topic%%
- </td>
- </tr>
- %%userlist%%
- </table>
+ <meta http-equiv="refresh" content="20">
+<link rel=stylesheet href="style.css" type=text/css>
+ <body bgcolor=#000000 text=#ffffff>
+ %%MESSAGE%%
</body>
</html>
diff --git a/html/stream.html b/html/stream.html
index 4814979..6678069 100755
--- a/html/stream.html
+++ b/html/stream.html
@@ -1,38 +1,30 @@
-<!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">
+ <head>
<title>
- %%HTML_TITLE_TAG_CONTENT%%
+ %%PGETITLE%%
</title>
<link rel=stylesheet href="style.css" type=text/css>
<script language="JavaScript">
- var scrolling;
- var ison;
- function autoscroll()
+ function autoScroll()
{
- if(!ison){
- scrolling = window.setInterval("window.scroll(1,1606682)",70);
- ison = true;
- }
+ window.scroll(1, 50000 );
+ timer = setTimeout('autoScroll()',200);
}
- function stopscroll()
+
+ autoScroll();
+
+ function stopScroll()
{
- if(ison)
- {
- window.clearInterval(scrolling);
- ison = false;
- }
+ clearTimeout(timer);
+ }
+
+ function startScroll()
+ {
+ timer = setTimeout('autoScroll()', 200);
}
</script>
</head>
-<body class="stream">
-<h1>Engine: %%ychat.version%%</h1>
-<script language="JavaScript">
- autoscroll();
-</script>
-
- Welcome to the chat, %%nick%%!
+<body bgcolor=#000000 text=#ffffff>
+ Welcome to yChat %%nick%%!
<br>
<br>
-
diff --git a/html/style.css b/html/style.css
index e31bd7e..e31bd7e 100755..100644
--- a/html/style.css
+++ b/html/style.css