diff --git a/HTTPServer.cpp b/HTTPServer.cpp index 82589765..4229acac 100644 --- a/HTTPServer.cpp +++ b/HTTPServer.cpp @@ -635,7 +635,20 @@ namespace util s << "
"; // TODO: Find something to parse html/template system. This is horrible. s << "i2pd webconsole
"; + s << "";
s << "Uptime: " << boost::posix_time::to_simple_string (
boost::posix_time::time_duration (boost::posix_time::seconds (
i2p::context.GetUptime ()))) << "
";
@@ -688,25 +705,22 @@ namespace util
}
s << address.host.to_string() << ":" << address.port << "
";
}
- s << "
Routers: " << i2p::data::netdb.GetNumRouters () << " ";
- s << "Floodfills: " << i2p::data::netdb.GetNumFloodfills () << " ";
- s << "LeaseSets: " << i2p::data::netdb.GetNumLeaseSets () << "
";
-
- s << "
Local destinations";
- s << "
Tunnels";
- s << "
Transit tunnels";
- s << "
Transports";
+ s << "
Routers: " << i2p::data::netdb.GetNumRouters () << " ";
+ s << "Floodfills: " << i2p::data::netdb.GetNumFloodfills () << " ";
+ s << "LeaseSets: " << i2p::data::netdb.GetNumLeaseSets () << "
";
+ s << "
[ Local destinations ]
";
+ s << "[ Tunnels ]
";
+ s << "[ Transit tunnels ]
";
+ s << "[ Transports ]
";
if (i2p::client::context.GetSAMBridge ())
- s << "
SAM sessions";
- s << "
";
-
+ s << "[ SAM sessions ]
";
if (i2p::context.AcceptsTunnels ())
- s << "
Stop accepting tunnels
";
+ s << "[ Stop accepting tunnels ]
";
else
- s << "
Start accepting tunnels
";
- s << "
Run peer test
";
-
- s << "