mirror of https://notabug.org/acetone/ircabot.git
airplane object CSS hover edited
parent
a59f91bcaf
commit
c87ecaafa4
|
@ -105,13 +105,12 @@ body {
|
|||
width: 6%;
|
||||
height: 50%;
|
||||
border: none;
|
||||
align-items: center;
|
||||
opacity: .6;
|
||||
margin-left: 1%;
|
||||
}
|
||||
|
||||
.main_header__title_airplaine:hover {
|
||||
width: 15%;
|
||||
height: 60%;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.main_header__search {
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
#include <QDir>
|
||||
|
||||
const char CRITICAL_ERROR[] {"<title>Critical error</title><center><h1>NOT FOUND</H1><p>Maybe it's compile time error</p></center>"};
|
||||
constexpr int MAX_MESSAGE_LENGTH_WITHOUT_WBR = 30;
|
||||
constexpr int MAX_NICKNAME_LENGTH_WITHOUT_WBR = 20;
|
||||
constexpr int BUFFER_SIZE = 2048;
|
||||
|
||||
HttpServer::HttpServer(const QString &address, quint16 port, const QString& logFolder,
|
||||
const QString& mainChannel, QObject *parent) :
|
||||
|
@ -1245,6 +1242,7 @@ void HttpServer::writeRealTimeChatPage(QTcpSocket *socket, QString &urlPath, boo
|
|||
replaceTag(page, "MAIN_HEADER", originalChannelName);
|
||||
replaceTag(page, "REALTIME_LINK", "/"+server+"/"+channel+"/"+year+"/"+month+"/"+day);
|
||||
replaceTag(page, "AIRPLAIN_TITLE", "Back to plain text log");
|
||||
page.replace("class=\"main_header__title_airplaine\"", "class=\"main_header__title_airplaine\" style=\"transform: scale(-1,1)\"");
|
||||
|
||||
int currentOnline = 0;
|
||||
QString onlineUserS;
|
||||
|
|
|
@ -8,7 +8,10 @@
|
|||
#include <map>
|
||||
#include <queue>
|
||||
|
||||
constexpr int MSECS_TO_AUTOREMOVE_MESSAGES_FROM_BUFFER {10000}; // 10 secs
|
||||
constexpr int MSECS_TO_AUTOREMOVE_MESSAGES_FROM_BUFFER {15000}; // 15 secs
|
||||
constexpr int MAX_MESSAGE_LENGTH_WITHOUT_WBR = 30;
|
||||
constexpr int MAX_NICKNAME_LENGTH_WITHOUT_WBR = 20;
|
||||
constexpr int BUFFER_SIZE = 2048;
|
||||
const QString HTTP_ACTUAL_ETAG {"2021-12-30 2.1.0"}; // Change it if svg, css or ico was modified
|
||||
|
||||
class Message : public QObject
|
||||
|
|
Loading…
Reference in New Issue