diff --git a/src/base/http/connection.cpp b/src/base/http/connection.cpp index 47ccf8f67..92c4eca72 100644 --- a/src/base/http/connection.cpp +++ b/src/base/http/connection.cpp @@ -79,7 +79,7 @@ void Connection::read() return; case RequestParser::ParseStatus::BadRequest: { - Logger::instance()->addMessage(tr("Bad Http request, closing socket. IP: %s") + Logger::instance()->addMessage(tr("Bad Http request, closing socket. IP: %1") .arg(m_socket->peerAddress().toString()), Log::WARNING); Response resp(400, "Bad Request"); diff --git a/src/webui/www/private/css/noscript.css b/src/webui/www/private/css/noscript.css new file mode 100644 index 000000000..090b572b8 --- /dev/null +++ b/src/webui/www/private/css/noscript.css @@ -0,0 +1,8 @@ +#desktop { + display: none; +} + +#noscript { + color: #f00; + text-align: center; +} diff --git a/src/webui/www/private/index.html b/src/webui/www/private/index.html index b1dbba99c..56260ba9b 100644 --- a/src/webui/www/private/index.html +++ b/src/webui/www/private/index.html @@ -13,6 +13,9 @@ + @@ -26,6 +29,9 @@
+