diff --git a/libi2pd_webconsole/HTTPServer.cpp b/libi2pd_webconsole/HTTPServer.cpp index 574634cc..1ec0db67 100644 --- a/libi2pd_webconsole/HTTPServer.cpp +++ b/libi2pd_webconsole/HTTPServer.cpp @@ -58,7 +58,7 @@ namespace http { static void GetStyles (std::stringstream& s) { if (externalCSS.length() != 0) - s << "\r\n"; + s << externalCSS; else s << internalCSS; } @@ -182,9 +182,11 @@ namespace http { " \r\n" " \r\n" " \r\n" - "
HTTP {% tr(\"Proxy\") %} | \ +{% if httpproxy %}{% tr(\"Enabled\") %}{% else %}{% tr(\"Disabled\") %}{% endif %} | \ +
SOCKS {% tr(\"Proxy\") %} | \ +{% if socksproxy %}{% tr(\"Enabled\") %}{% else %}{% tr(\"Disabled\") %}{% endif %} | \ +
BOB | \ +{% if bob %}{% tr(\"Enabled\") %}{% else %}{% tr(\"Disabled\") %}{% endif %} | \ +
SAM | \ +{% if sam %}{% tr(\"Enabled\") %}{% else %}{% tr(\"Disabled\") %}{% endif %} | \ +
I2CP | \ +{% if i2cp %}{% tr(\"Enabled\") %}{% else %}{% tr(\"Disabled\") %}{% endif %} | \ +
I2PControl | \ +{% if i2pcontrol %}{% tr(\"Enabled\") %}{% else %}{% tr(\"Disabled\") %}{% endif %} | \ +