diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:42 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:42 +0200 |
| commit | 42b79aa5c591dde88e78922a519802f948d9ea60 (patch) | |
| tree | 92cd4e576656837bb99214d8c09c3fec3201474f /html | |
| parent | 520f54d6219b7c625b4e07463ac393e6982ddab6 (diff) | |
tagging ychat-0.7.9.4ychat-0.7.9.4
Diffstat (limited to 'html')
| -rwxr-xr-x | html/admin.html | 4 | ||||
| -rwxr-xr-x | html/colors.html | 8 | ||||
| -rwxr-xr-x | html/demo.html | 4 | ||||
| -rwxr-xr-x | html/frameset.html | 2 | ||||
| -rwxr-xr-x | html/help.html | 6 | ||||
| -rwxr-xr-x | html/index.html | 19 | ||||
| -rwxr-xr-x | html/input.html | 48 | ||||
| -rwxr-xr-x[-rw-r--r--] | html/loggedin.html | 0 | ||||
| -rwxr-xr-x | html/online.html | 18 | ||||
| -rwxr-xr-x | html/options.html | 12 | ||||
| -rwxr-xr-x | html/register.html | 21 | ||||
| -rwxr-xr-x | html/stream.html | 27 | ||||
| -rwxr-xr-x | html/style.css | 45 |
13 files changed, 126 insertions, 88 deletions
diff --git a/html/admin.html b/html/admin.html index 2811219..3dee7a2 100755 --- a/html/admin.html +++ b/html/admin.html @@ -7,7 +7,7 @@ </title> <link rel=stylesheet href="style.css" type=text/css> </head> -<body bgcolor=#000000 text=#ffff00> +<body> <table align=center width=500> <tr><td> Hello %%nick%%, all chat configuration options available are summarized below. @@ -26,7 +26,7 @@ <br><br> <center> <span class="signature"> - yChat is OpenSource - get it at <a target="_blank" href="http://www.yChat.org">http://www.yChat.org</a> + yChat is OpenSource - get it at <a class="fancy" target="_blank" href="http://www.yChat.org">http://www.yChat.org</a> </span> </center> </body> diff --git a/html/colors.html b/html/colors.html index a881280..8b23014 100755 --- a/html/colors.html +++ b/html/colors.html @@ -26,7 +26,7 @@ } //--> </script> -<body bgcolor=#000000 text=#ffff00> +<body> <center> %%msgs%% <form name="colors" action="colors.html" onsubmit="return doonsubmit();"> @@ -39,7 +39,7 @@ <br> (color of your nickname): <br> - <input name="col1" size="6" maxlength="6" value="%%col1%%"> + <input class="text" name="col1" size="6" maxlength="6" value="%%col1%%"> </div> </td> <td width=20> @@ -51,7 +51,7 @@ <br> (color of your text messages): <br> - <input name="col2" size="6" maxlength="6" value="%%col2%%"> + <input class="text" name="col2" size="6" maxlength="6" value="%%col2%%"> </div> </td> </tr> @@ -407,7 +407,7 @@ <br> <center> <span class="signature"> - yChat is OpenSource - get it at <a target="_blank" href="http://www.yChat.org">http://www.yChat.org</a> + yChat is OpenSource - get it at <a class="fancy" target="_blank" href="http://www.yChat.org">http://www.yChat.org</a> </span> </center> <br> diff --git a/html/demo.html b/html/demo.html index 819ae27..b04ee15 100755 --- a/html/demo.html +++ b/html/demo.html @@ -7,7 +7,7 @@ </title> <link rel=stylesheet href="style.css" type=text/css> </head> -<body bgcolor=#000000 text=#ffff00> +<body> <table align=center width=500> <tr> <td align=center class=header>%%ychat.version%%<br><br>%%INFO%%</td> @@ -22,6 +22,6 @@ This is the demo website provided by yChat :-) </tr> </table> <br><br> -<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> +<center><span class="signature">yChat 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/html/frameset.html b/html/frameset.html index 51c58ee..672f8fa 100755 --- a/html/frameset.html +++ b/html/frameset.html @@ -6,7 +6,7 @@ %%ychat.version%% </title> </head> - <frameset rows="*,70"> + <frameset boders="0" rows="*,70"> <noframes> Your browser does not support frames, </noframes> diff --git a/html/help.html b/html/help.html index 29ac849..ad9a25f 100755 --- a/html/help.html +++ b/html/help.html @@ -7,11 +7,11 @@ </title> <link rel=stylesheet href="style.css" type=text/css> </head> -<body bgcolor=#000000 text=#ffff00> +<body> <table align=center width=500> <tr><td> Hello %%nick%%, all chat commands available are summarized below (Please notice that only currently - in memory loaded command modules are listed here which should be the case by yChat default configuration): + in memory loaded command modules are listed here which should be the case by yChat default configuration). You can also access help for a specific command with the /help command. Example: /help commandname: </td></tr> <tr><td> <br> @@ -21,7 +21,7 @@ <br><br> <center> <span class="signature"> - yChat is OpenSource - get it at <a target="_blank" href="http://www.yChat.org">http://www.yChat.org</a> + yChat is OpenSource - get it at <a class="fancy" target="_blank" href="http://www.yChat.org">http://www.yChat.org</a> </span> </center> </body> diff --git a/html/index.html b/html/index.html index 7337772..983e7ef 100755 --- a/html/index.html +++ b/html/index.html @@ -7,11 +7,14 @@ </title> <link rel=stylesheet href="style.css" type=text/css> </head> -<body bgcolor=#000000 text=#ffff00> +<body> <table align=center width=500> <tr> -<td align=center><img src="images/y_black.png" alt="yChat"></td> -<td align=center class=header>%%ychat.version%%<br><br>%%INFO%%</td> +<td> +<center> +%%ychat.version%%<br><br>%%INFO%% +</center> +</td> </tr> <tr> <td colspan=2> </td> @@ -21,22 +24,22 @@ <form action="frameset.html" method="POST"> <input type="hidden" name="event" value="login"> Enter your nick:<br> - <input type="text" name="nick" value="%%nick%%" maxlength="%%chat.maxlength.username%%" accesskey="n"> + <input class="text" type="text" name="nick" value="%%nick%%" maxlength="%%chat.maxlength.username%%" accesskey="n"> <br> <br> Enter your password:<br> - <input type="password" name="password" value="%%pass%%" maxlength="%%chat.maxlength.password%%" accesskey="p"> + <input class="text" type="password" name="password" value="%%pass%%" maxlength="%%chat.maxlength.password%%" accesskey="p"> <br> <br> Enter your room:<br> - <input type="text" name="room" value="%%chat.defaultroom%%" maxlength="%%chat.maxlength.roomname%%" accesskey="r"> + <input class="text" type="text" name="room" value="%%chat.defaultroom%%" maxlength="%%chat.maxlength.roomname%%" accesskey="r"> <br> <br> <input type="hidden" name="end" value="end"> <input type="submit" value="login" accesskey="s"> </form> <br> -<a href="register.html">Register</a> a new nick +<a class="fancy" href="register.html">Register</a> a new nick <br> <br> If you don't want to register you may login @@ -46,6 +49,6 @@ without a password using an unregistered nick. </tr> </table> <br><br> -<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> +<center><span class="signature">yChat 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/html/input.html b/html/input.html index b5e4cd2..31ed9fe 100755 --- a/html/input.html +++ b/html/input.html @@ -10,6 +10,7 @@ <!-- function delout() { + document.input.message.value = document.input.message.value.replace(/&/g, '\\AND'); document.input.submit(); document.input.message.value = ""; document.input.message.focus(); @@ -25,36 +26,35 @@ 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 bgcolor=#000000 text=#ffffff> - <table> - <tr><td> + <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"> <input type="hidden" name="tmpid" value="%%tmpid%%"> - <input 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();"> </form> - </td> - <td valign=top> - <a href='#' onclick="javascript:popup('colors.html?event=colors&tmpid=%%tmpid%%', 600, 480)">Colors</a> - </td> - <td valign=top> - <a href='#' onclick="javascript:popup('options.html?event=options&tmpid=%%tmpid%%', 600, 480)">Options</a> - </td> - <td valign=top> - <a href='#' onclick="javascript:popup('help.html?event=help&tmpid=%%tmpid%%', 600, 480)">Help</a> - </td> - <td valign=top> - <a href='#' onclick="javascript:popup('admin.html?event=admin&tmpid=%%tmpid%%', 600, 480)">Admin</a> - </td> - <td valign=top> - <a href='input.html?event=input&tmpid=%%tmpid%%&message=%2Fq' target='blank'>Logout</a> - </td> - </tr> - </table> </body> </html> diff --git a/html/loggedin.html b/html/loggedin.html index 59083b8..59083b8 100644..100755 --- a/html/loggedin.html +++ b/html/loggedin.html diff --git a/html/online.html b/html/online.html index 29b606d..3eda553 100755 --- a/html/online.html +++ b/html/online.html @@ -1,24 +1,20 @@ <!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"> -<meta http-equiv="refresh" content="20"> -<link rel=stylesheet href="style.css" type=text/css> - <body bgcolor=#000000 text=#ffffff> - <b>%%ROOMNAME%%</b> + <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> - %%ROOMTOPIC%% + %%topic%% </td> </tr> - %%USERLIST%% + %%userlist%% </table> </body> </html> - - - - diff --git a/html/options.html b/html/options.html index 6573441..4dd5b35 100755 --- a/html/options.html +++ b/html/options.html @@ -6,7 +6,7 @@ Options menu - %%ychat.version%% </title> <link rel=stylesheet href="style.css" type=text/css> -<body bgcolor=#000000 text=#ffff00> +<body> <table align=center width=500> <tr><td> %%msgs%% @@ -16,19 +16,19 @@ <br> <form name="options" action="options.html"> Your E-Mail address:<br> - <input type="text" size="40" maxlength="%%chat.maxlength.emailaddress%%" name="email" value="%%email%%" accesskey="e"> + <input class="text" type="text" size="40" maxlength="%%chat.maxlength.emailaddress%%" name="email" value="%%email%%" accesskey="e"> <br> <br> Your old password (needed if you want to enter a new password):<br> - <input type="password" maxlength="%%chat.maxlength.password%%" name="pass" accesskey="p"> + <input class="text" type="password" maxlength="%%chat.maxlength.password%%" name="pass" accesskey="p"> <br> <br> Your new password:<br> - <input type="password" maxlength="%%chat.maxlength.password%%" name="newpass" accesskey="q"> + <input class="text" type="password" maxlength="%%chat.maxlength.password%%" name="newpass" accesskey="q"> <br> <br> Your new password again:<br> - <input type="password" maxlength="%%chat.maxlength.password%%" name="newpass2" accesskey="r"> + <input class="text" type="password" maxlength="%%chat.maxlength.password%%" name="newpass2" accesskey="r"> <br> <br> <input type="hidden" name="event" value="options"> @@ -41,7 +41,7 @@ Your new password again:<br> <br><br> <center> <span class="signature"> - yChat is OpenSource - get it at <a target="_blank" href="http://www.yChat.org">http://www.yChat.org</a> + yChat is OpenSource - get it at <a class="fancy" target="_blank" href="http://www.yChat.org">http://www.yChat.org</a> </span> </center> <br> diff --git a/html/register.html b/html/register.html index 2caf27d..082e805 100755 --- a/html/register.html +++ b/html/register.html @@ -7,11 +7,14 @@ </title> <link rel=stylesheet href="style.css" type=text/css> </head> -<body bgcolor=#000000 text=#ffff00> +<body> <table align=center width=500> <tr> -<td align=center><img src="images/y_black.png" alt="yChat"></td> -<td align=center class=header>Nick registration<br><br>%%INFO%%</td> +<td> +<center> +Nick registration<br><br>%%INFO%% +</center> +</td> </tr> <tr> <td colspan=2> </td> @@ -21,30 +24,30 @@ <form action="register.html" method="POST"> <input type="hidden" value="register" name="event"> Enter your desired nick:<br> - <input type="text" maxlength="%%chat.maxlength.username%%" name="nick" value="%%nick%%" accesskey="n"> + <input class="text" type="text" maxlength="%%chat.maxlength.username%%" name="nick" value="%%nick%%" accesskey="n"> <br> <br> Enter your E-Mail address:<br> - <input type="text" maxlength="%%chat.maxlength.emailaddress%%" name="email" value="%%email%%" accesskey="e"> + <input class="text" type="text" maxlength="%%chat.maxlength.emailaddress%%" name="email" value="%%email%%" accesskey="e"> <br> <br> Enter your password:<br> - <input type="password" maxlength="%%chat.maxlength.password%%" name="pass" accesskey="p"> + <input class="text" type="password" maxlength="%%chat.maxlength.password%%" name="pass" accesskey="p"> <br> <br> Enter your password again:<br> - <input type="password" maxlength="%%chat.maxlength.password%%" name="pass2" accesskey="q"> + <input class="text" type="password" maxlength="%%chat.maxlength.password%%" name="pass2" accesskey="q"> <br> <br> <input type="hidden" name="end" value="end"> <input type="submit" value="Register" accesskey="s"> </form> <br> -If you don't want to register go <a href="%%httpd.startsite%%">back</a> +If you don't want to register go <a class="fancy" href="%%httpd.startsite%%">back</a> </td> </tr> </table> <br><br> -<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> +<center><span class="signature">yChat 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/html/stream.html b/html/stream.html index 493e9d3..ed08a23 100755 --- a/html/stream.html +++ b/html/stream.html @@ -8,32 +8,31 @@ <link rel=stylesheet href="style.css" type=text/css> <script language="JavaScript"> var scrolling; - var isOn; - function autoScroll() + var ison; + function autoscroll() { - if(!isOn) - { + if(!ison){ scrolling = window.setInterval("window.scroll(1,1606682)",70); - isOn = true; + ison = true; } } - - function stopScroll() + function stopscroll() { - if(isOn) + if(ison) { - window.clearInterval(scrolling); - isOn=false; + window.clearInterval(scrolling); + ison = false; } } </script> </head> -<body bgcolor=#000000 text=#ffffff> -<script> -autoScroll(); +<body class="stream"> +<h1>Engine: %%ychat.version%%</h2> +<script language="JavaScript"> + autoscroll(); </script> - Welcome to yChat %%nick%%! + Welcome to the chat, %%nick%%! <br> <br> diff --git a/html/style.css b/html/style.css index e31bd7e..4b6d9ca 100755 --- a/html/style.css +++ b/html/style.css @@ -1,11 +1,48 @@ -BODY, TD { +body, div { font-family: Verdana, Helvetica, sans-serif; + background-color: #000000; + color: #FFFFEF; font-size: 11pt; } -A { - color: #dddddd; + +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: #dddddd; + color: #AAAAAA; font-size: 9pt; } |
