diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:43 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:43 +0200 |
| commit | 796609174e5ecb35fab992969e7690186840048a (patch) | |
| tree | 1e4370d47f2a5c050b768c228e73e028a6611cb8 /html | |
| parent | 312fe18cb5f97143f3600b207e979bc559256b6f (diff) | |
tagging ychat-0.7.3ychat-0.7.3
Diffstat (limited to 'html')
| -rwxr-xr-x | html/help.html | 2 | ||||
| -rwxr-xr-x | html/index.html | 37 | ||||
| -rwxr-xr-x | html/input.html | 10 | ||||
| -rwxr-xr-x | html/online.html | 3 | ||||
| -rwxr-xr-x | html/stream.html | 25 | ||||
| -rwxr-xr-x | html/style.css | 49 |
6 files changed, 93 insertions, 33 deletions
diff --git a/html/help.html b/html/help.html index ad9a25f..57ae511 100755 --- a/html/help.html +++ b/html/help.html @@ -11,7 +11,7 @@ <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). You can also access help for a specific command with the /help command. Example: /help commandname: + in memory loaded command modules are listed here which should be the case by yChat default configuration): </td></tr> <tr><td> <br> diff --git a/html/index.html b/html/index.html index b1a1793..983e7ef 100755 --- a/html/index.html +++ b/html/index.html @@ -3,25 +3,52 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title> - %%yhttpd.version%% + %%ychat.version%% </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>%%yhttpd.version%%<br><br>%%INFO%%</td> +<td> +<center> +%%ychat.version%%<br><br>%%INFO%% +</center> +</td> </tr> <tr> <td colspan=2> </td> </tr> <tr> <td align=center colspan=2> -This is the demo website provided by yhttpd :-) +<form action="frameset.html" method="POST"> + <input type="hidden" name="event" value="login"> +Enter your nick:<br> + <input class="text" type="text" name="nick" value="%%nick%%" maxlength="%%chat.maxlength.username%%" accesskey="n"> +<br> +<br> +Enter your password:<br> + <input class="text" type="password" name="password" value="%%pass%%" maxlength="%%chat.maxlength.password%%" accesskey="p"> +<br> +<br> +Enter your room:<br> + <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 class="fancy" href="register.html">Register</a> a new nick +<br> +<br> +If you don't want to register you may login +<br> +without a password using an unregistered nick. </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 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 31ed9fe..3a9b564 100755 --- a/html/input.html +++ b/html/input.html @@ -26,13 +26,6 @@ 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> @@ -47,11 +40,8 @@ <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%%"> diff --git a/html/online.html b/html/online.html index 6a10fd9..fc1fd84 100755 --- a/html/online.html +++ b/html/online.html @@ -2,6 +2,7 @@ <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> <b>%%ROOMNAME%%</b> @@ -13,7 +14,7 @@ %%ROOMTOPIC%% </td> </tr> - %%USERLIST%% + %%USERLIST%% </table> </body> </html> diff --git a/html/stream.html b/html/stream.html index ed08a23..db4c05c 100755 --- a/html/stream.html +++ b/html/stream.html @@ -8,31 +8,32 @@ <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 class="stream"> -<h1>Engine: %%ychat.version%%</h2> -<script language="JavaScript"> - autoscroll(); +<script> +autoScroll(); </script> - Welcome to the chat, %%nick%%! + Welcome to yChat %%nick%%! <br> <br> diff --git a/html/style.css b/html/style.css index e31bd7e..ade4a1a 100755 --- a/html/style.css +++ b/html/style.css @@ -1,11 +1,52 @@ -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; + color: #FFFFEF; + background-color: #000000; + border: solid #555555 1px; + font-size: 9pt; + padding: 2px; +} + +input.text { + background-color: #AA5100; +} + +.fancy { + font-family: Verdana, Helvetica, sans-serif; + text-decoration: none; + color: #FFFFEF; + background-color: #000000; + border: solid #555555 1px; + font-size: 9pt; + padding: 2px; +} + +a:hover.fancy { + text-decoration: none; + color: #FFFFEF; + background-color: #323232; + border: solid #FFFFEF 1px; +} + +b { + background-color: #323232; + border: solid #555555 1px; +} + +body.stream { + background-color: #323232; } + .signature { - color: #dddddd; + color: #AAAAAA; font-size: 9pt; } |
