rename to wirc

This commit is contained in:
Neale Pickett 2014-08-13 03:42:47 +00:00
parent 8d165d1a07
commit a908df5550
3 changed files with 5 additions and 5 deletions

View File

@ -3,8 +3,8 @@
<head> <head>
<title>#tron</title> <title>#tron</title>
<link rel="icon" type="image/png" sizes="64x64" href="chat.png"> <link rel="icon" type="image/png" sizes="64x64" href="chat.png">
<script type="application/javascript" src="irc.js"></script> <script type="application/javascript" src="wirc.js"></script>
<link rel="stylesheet" type="text/css" href="irc.css"> <link rel="stylesheet" type="text/css" href="wirc.css">
</head> </head>
<body> <body>
<div id="foraButtons"></div> <div id="foraButtons"></div>

View File

@ -44,7 +44,7 @@
background-color: yellow; background-color: yellow;
} }
.current { .current {
background-color: aquamarine; background-color: cornsilk;
} }
input[name~=target] { input[name~=target] {

View File

@ -171,7 +171,7 @@ function handleCommand(event) {
function reqListener() { function reqListener() {
} }
oReq.onload = reqListener; oReq.onload = reqListener;
oReq.open("POST", "irc.cgi", true); oReq.open("POST", "wirc.cgi", true);
oReq.send(new FormData(event.target)); oReq.send(new FormData(event.target));
event.target.reset(); event.target.reset();
@ -183,7 +183,7 @@ function init() {
var authtok = prompt("Auth token", ""); var authtok = prompt("Auth token", "");
document.getElementById("authtok").value = authtok; document.getElementById("authtok").value = authtok;
var source = new EventSource("irc.cgi?auth=" + authtok); var source = new EventSource("wirc.cgi?auth=" + authtok);
source.onmessage = newmsg; source.onmessage = newmsg;
document.getElementById("command").onsubmit = handleCommand; document.getElementById("command").onsubmit = handleCommand;