From b58c7781fed80998e8cb10778830fd7bcdc3d499 Mon Sep 17 00:00:00 2001 From: Pentium44 Date: Thu, 10 Dec 2020 00:24:43 -0800 Subject: [PATCH] Call this v1.2.2 --- README.md | 7 +++++++ config.php | 2 +- index.php | 9 +++++---- style.css | 24 ++++++++++++++++++++++-- 4 files changed, 35 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a5d60f5..ab9753f 100755 --- a/README.md +++ b/README.md @@ -14,6 +14,13 @@ anything like that. This is in working condition! * Use it! #### Changelog +* v1.2.2: + * CSS updates + * Added IdleIRC footer + * Navigation bar modifications + * Added /channel & /focused + * Other stuffs + * v1.2.1: * Added htmlentities to incoming IRC messages * Fixed /list, allows no argument when focused diff --git a/config.php b/config.php index 2a815b2..596b594 100755 --- a/config.php +++ b/config.php @@ -18,7 +18,7 @@ $logfile = "irclog.txt"; // Log instances for each bouncer $ipcolor = "#00FF00"; ///// NO TOUCHY SECTION ///// -$version = "1.2.1"; // CWChat version +$version = "1.2.2"; // CWChat version function doLog($string) { file_put_contents($GLOBALS['logfile'], $string . "\r\n", FILE_APPEND); diff --git a/index.php b/index.php index 638b14c..3e830ca 100755 --- a/index.php +++ b/index.php @@ -282,13 +282,13 @@ if (!isset($_SESSION['idleirc-user'])) { Connect to server"; + echo "Connect to server"; } else { - echo "• Disconnect from server"; + echo "Disconnect from server"; } ?> - • Clear IRC logs - • IRC Logs + Clear IRC logs + IRC Logs
+
diff --git a/style.css b/style.css index 0053db9..8f5d681 100755 --- a/style.css +++ b/style.css @@ -24,12 +24,12 @@ body { } .info { - padding: 2px; + padding: 6px 6px 10px 6px; font-size: 18px; text-align: center; } -.logout { padding: 5px; text-align: center; } +.logout { padding: 5px; padding-bottom: 10px; text-align: center; } a { color: #0080ff; @@ -54,6 +54,20 @@ input, button, select, textarea{ text-align: center; } +.logout a { + background-color: #282828; + color: #ffffff; + padding: 3px 5px 3px 5px; + border-radius: 5px; + border: solid 1px #444444; + cursor: pointer; + text-decoration: none; +} + +.logout a:hover { + background-color: #353535; +} + .text { font-size: 14px; } @media only screen and (min-height: 20001px) { #msgs { height: 1700px; } } @@ -106,3 +120,9 @@ input, button, select, textarea{ #logmsgs tr:nth-child(even) { background-color: #262626; border: solid 1px #454545; } #logmsgs tr:nth-child(odd) { background-color: #141414; border: solid 1px #454545; } #logmsgs td { padding: 4px; } + +#footer { + text-align: center; + font-size: 14px; + padding: 8px; +}