mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 04:07:49 +02:00
Console: move Local Dest / ECIES to section title
This commit is contained in:
parent
b7587bc800
commit
e812f1b91c
2 changed files with 8 additions and 4 deletions
|
@ -495,7 +495,7 @@ namespace http {
|
||||||
s << "</head>\r\n"
|
s << "</head>\r\n"
|
||||||
"<body>\r\n"
|
"<body>\r\n"
|
||||||
"<div class=\"wrapper\">\r\n<table id=\"main\">\r\n"
|
"<div class=\"wrapper\">\r\n<table id=\"main\">\r\n"
|
||||||
"<tr><td class=\"center\" colspan=\"2\"><span class=\"header\">"
|
"<tr id=\"header\"><td class=\"center\" colspan=\"2\"><span class=\"header\">"
|
||||||
"<a id=\"home\" href=\"" << webroot << "\">" << tr("Main page") << "</a> "
|
"<a id=\"home\" href=\"" << webroot << "\">" << tr("Main page") << "</a> "
|
||||||
// TODO placeholder for graceful shutdown button (requires token)
|
// TODO placeholder for graceful shutdown button (requires token)
|
||||||
"<a id=\"shutdownbutton\" href=\"" << webroot << "?cmd="
|
"<a id=\"shutdownbutton\" href=\"" << webroot << "?cmd="
|
||||||
|
@ -862,7 +862,7 @@ namespace http {
|
||||||
<< "</td><td class=\"center thin\">" << it.second->GetNumOutgoingTags () << "</td></tr>\r\n";
|
<< "</td><td class=\"center thin\">" << it.second->GetNumOutgoingTags () << "</td></tr>\r\n";
|
||||||
out_tags += it.second->GetNumOutgoingTags ();
|
out_tags += it.second->GetNumOutgoingTags ();
|
||||||
}
|
}
|
||||||
s << "<tr><th colspan=\"2\">" << tr("Outgoing Session Tags")
|
s << "<tr><th class=\"sectiontitle\" colspan=\"2\"><span>" << tr("Outgoing Session Tags")
|
||||||
<< " <span class=\"hide\">[</span><span class=\"count\">" << out_tags
|
<< " <span class=\"hide\">[</span><span class=\"count\">" << out_tags
|
||||||
<< "</span><span class=\"hide\">]</span></th></tr>\r\n"
|
<< "</span><span class=\"hide\">]</span></th></tr>\r\n"
|
||||||
<< "<tr><td class=\"center nopadding\" colspan=\"2\"><table>\r\n"
|
<< "<tr><td class=\"center nopadding\" colspan=\"2\"><table>\r\n"
|
||||||
|
@ -873,7 +873,8 @@ namespace http {
|
||||||
|
|
||||||
auto numECIESx25519Tags = dest->GetNumIncomingECIESx25519Tags ();
|
auto numECIESx25519Tags = dest->GetNumIncomingECIESx25519Tags ();
|
||||||
if (numECIESx25519Tags > 0) {
|
if (numECIESx25519Tags > 0) {
|
||||||
s << "<tr><th colspan=\"2\">ECIESx25519<br>\r\n" << tr("Incoming Tags")
|
s << "<tr><th class=\"sectiontitle\" colspan=\"2\"><span>ECIESx25519</span></th></tr>";
|
||||||
|
s << "<tr><th colspan=\"2\">" << tr("Incoming Tags")
|
||||||
<< " <span class=\"hide\">[</span><span class=\"count\">" << numECIESx25519Tags
|
<< " <span class=\"hide\">[</span><span class=\"count\">" << numECIESx25519Tags
|
||||||
<< "</span><span class=\"hide\">]</span></th></tr>\r\n";
|
<< "</span><span class=\"hide\">]</span></th></tr>\r\n";
|
||||||
if (!dest->GetECIESx25519Sessions ().empty ())
|
if (!dest->GetECIESx25519Sessions ().empty ())
|
||||||
|
|
|
@ -570,10 +570,13 @@ td:last-child {
|
||||||
width: 13% !important;
|
width: 13% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#header, #navlinks {
|
||||||
|
background: var(--header);
|
||||||
|
}
|
||||||
|
|
||||||
#navlinks {
|
#navlinks {
|
||||||
padding: 10px 2px !important;
|
padding: 10px 2px !important;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
background: var(--header);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#navlinks a:hover {
|
#navlinks a:hover {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue