mirror of https://notabug.org/acetone/ircabot.git
bit html
parent
d9d1c5ba74
commit
a89e8064b3
|
@ -286,7 +286,6 @@ void HttpServer::reader()
|
|||
else if (urlPath.startsWith("/serverinformation/")) {
|
||||
writeAboutServerPage(socket, urlPath, isHeadRequest);
|
||||
}
|
||||
// plaint dynamic page
|
||||
else {
|
||||
writeMainPage(socket, urlPath, isHeadRequest);
|
||||
}
|
||||
|
|
|
@ -191,13 +191,13 @@ Content-Length: {{SIZE}}\r\n\r\n";
|
|||
const QString HTML_PAYLOAD_ERROR = "\
|
||||
<div class=\"main_payload__error\">\n\
|
||||
<span style=\"color: red; display: block; font-size: 24px;\">{{ERROR_TITLE}}</span><br>\n\
|
||||
{{ERROR_TEXT}}\n\
|
||||
{{ERROR_TEXT}}\n\
|
||||
</div>";
|
||||
|
||||
const QString HTML_PAYLOAD_ABOUT = "\
|
||||
<div class=\"main_payload__about\">\n\
|
||||
<span style=\"color: green; display: block; font-size: 24px; text-align: center;\">{{ABOUT_TITLE}}</span><br>\n\
|
||||
{{ABOUT_TEXT}}\n\
|
||||
{{ABOUT_TEXT}}\n\
|
||||
</div>";
|
||||
|
||||
private slots:
|
||||
|
|
Loading…
Reference in New Issue