diff --git a/HTTPServer.cpp b/HTTPServer.cpp index e6099053..f19abff4 100644 --- a/HTTPServer.cpp +++ b/HTTPServer.cpp @@ -358,27 +358,23 @@ namespace util std::stringstream s; // Html5 head start s << "\n"; // TODO: Add support for locale. - s << ""; // TODO: Find something to parse html/template system. This is horrible. - s << "Purple I2P " << VERSION " Webconsole"; + s << ""; // TODO: Find something to parse html/template system. This is horrible. + s << ""; + s << "Purple I2P " << VERSION " Webconsole"; s << ""; - s << ""; - s << "
"; - s << "

i2pd webconsole

"; - s << "
"; + s << ""; + s << "
i2pd webconsole
"; s << "
"; s << "
"; s << "Main page

"; @@ -611,8 +607,8 @@ namespace util << it.second->GetSocket ().remote_endpoint().address ().to_string (); if (!it.second->IsOutgoing ()) s << "-->"; s << " [" << it.second->GetNumSentBytes () << ":" << it.second->GetNumReceivedBytes () << "]"; + s << "
" << std::endl; } - s << "
" << std::endl; } } auto ssuServer = i2p::transport::transports.GetSSUServer (); @@ -901,3 +897,4 @@ namespace util } } +