diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp
index 1f90a197..fbc42488 100644
--- a/daemon/HTTPServer.cpp
+++ b/daemon/HTTPServer.cpp
@@ -737,14 +737,6 @@ namespace http {
s << " I2PControl";
s << "\r\n\r\n";
}
-/*
- s << "
" << "HTTP " << tr("Proxy") << " | " << (socksproxy ? tr("Enabled") : tr("Disabled")) << " |
\r\n";
- s << "" << "BOB" << " | " << (sam ? tr("Enabled") : tr("Disabled")) << " |
\r\n";
- s << "" << "I2CP" << " | " << (i2pcontrol ? tr("Enabled") : tr("Disabled")) << " |
\r\n";
-*/
}
s << "\r\n";
@@ -753,19 +745,21 @@ namespace http {
void ShowLocalDestinations (std::stringstream& s)
{
std::string webroot; i2p::config::GetOption("http.webroot", webroot);
- s << "" << tr("Local Destinations") << " |
\r\n\r\n";
+ s << " " << tr("Client Destinations")
+ << " |
---|
\r\n \r\n";
for (auto& it: i2p::client::context.GetDestinations ())
{
auto ident = it.second->GetIdentHash ();
s << " \r\n" << std::endl;
}
- s << " | \r\n";
+ s << " \r\n |
\r\n";
auto i2cpServer = i2p::client::context.GetI2CPServer ();
if (i2cpServer && !(i2cpServer->GetSessions ().empty ()))
{
- s << "I2CP "<< tr("Local Destinations") << " |
\r\n\r\n";
+ s << " I2CP " << tr("Server Destinations")
+ << " |
---|
\r\n \r\n";
for (auto& it: i2cpServer->GetSessions ())
{
auto dest = it.second->GetDestination ();
@@ -774,10 +768,11 @@ namespace http {
auto ident = dest->GetIdentHash ();
auto& name = dest->GetNickname ();
s << " \r\n" << std::endl;
+ s << name << " ] ⇔ "
+ << i2p::client::context.GetAddressBook ().ToAddress(ident) <<" \r\n" << std::endl;
}
}
- s << " | \r\n";
+ s << " \r\n |
\r\n";
}
}
@@ -1272,12 +1267,10 @@ namespace http {
std::string styleFile = i2p::fs::DataDirPath ("webconsole/style.css");
if (i2p::fs::Exists(styleFile)) {
-// s << ""
s << ""
<< tr("Reload external CSS stylesheet") << "";
-// << "\r\n |
";
}
s << " "
<< tr("Force shutdown") << "\r\n";
+
/* TODO graceful shutdown button in header with .notify dialog if transit tunnels
active to offer option to shutdown immediately
only one option? displayed in the header
@@ -1334,9 +1328,9 @@ namespace http {
s << " "
- << tr("Shutdown") << "\r\n";
+ << tr("Shutdown") << "";
}
-
+ s << "\r\n";
s << "\r\n "
<< tr("Note: Configuration changes made here persist for the duration of the router session and will not be saved to your config file.")
<< " \r\n |
";