diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp index 7defc770..fe6395c8 100644 --- a/daemon/HTTPServer.cpp +++ b/daemon/HTTPServer.cpp @@ -1164,7 +1164,7 @@ namespace http { s << "" << tr("Transit") << "" << transitCount << "" << "View\r\n"; } - s << ""; + s << ""; ShowI2PTunnels (s); s << "\r\n\r\n"; s << "\r\n"; @@ -1623,10 +1623,14 @@ namespace http { void ShowI2PTunnels (std::stringstream& s) { std::string webroot; i2p::config::GetOption("http.webroot", webroot); + s << "\r\n"; s << "
\r\n\r\n" << "\r\n"; s << "
\r\n"; +// s << "" << tr("Client Tunnels") << ""; + s << "
\r\n"; + s << "
" << tr("Client Tunnels") << "
"; for (auto& it: i2p::client::context.GetClientTunnels ()) { auto& ident = it.second->GetLocalDestination ()->GetIdentHash(); @@ -1657,7 +1661,9 @@ namespace http { auto& serverTunnels = i2p::client::context.GetServerTunnels (); if (!serverTunnels.empty ()) { - s << "" << tr("Server Tunnels") << "\r\n
\r\n"; + s << "" << tr("Server Tunnels") << "\r\n"; + s << "\r\n"; + s << "
\r\n"; for (auto& it: serverTunnels) { auto& ident = it.second->GetLocalDestination ()->GetIdentHash(); @@ -1667,13 +1673,14 @@ namespace http { s << ":" << it.second->GetLocalPort (); s << "
\r\n" << std::endl; } - s << "
\r\n"; + s << "
\r\n
\r\n\r\n"; } auto& clientForwards = i2p::client::context.GetClientForwards (); if (!clientForwards.empty ()) { - s << "" << tr("Client Forwards") << "\r\n
\r\n"; + s << "" << tr("Client Forwards") << "" + << "\r\n
\r\n"; for (auto& it: clientForwards) { auto& ident = it.second->GetLocalDestination ()->GetIdentHash(); @@ -1687,8 +1694,9 @@ namespace http { auto& serverForwards = i2p::client::context.GetServerForwards (); if (!serverForwards.empty ()) { - s << "" << tr("Server Forwards") << "\r\n" - << "\r\n
\r\n"; + s << "" << tr("Server Forwards") << "\r\n"; + s << "\r\n"; + s << "
\r\n"; for (auto& it: serverForwards) { auto& ident = it.second->GetLocalDestination ()->GetIdentHash(); @@ -1812,7 +1820,7 @@ namespace http { } // HTML head start ShowPageHead (s); - if (req.uri.find("summary") != std::string::npos || + if (/*req.uri.find("summary") != std::string::npos ||*/ req.uri.find("commands") != std::string::npos || (req.uri.find("local_destinations") != std::string::npos && req.uri.find("b32") == std::string::npos)) diff --git a/webconsole/style.css b/webconsole/style.css index e86eabcb..62c0b324 100644 --- a/webconsole/style.css +++ b/webconsole/style.css @@ -496,10 +496,11 @@ th:not(.sectiontitle)[colspan="2"], .slide label { font-size: 95%; } -th.sectiontitle { +th.sectiontitle, .sectiontitle { padding: 0 0 10px !important; font-weight: 700; border-bottom: none; + background: var(--th_multicolumn); } .sectiontitle span {