forked from I2P_Developers/i2p.i2p
Console: Use green icon on /peers if status is OK
This commit is contained in:
@ -111,7 +111,10 @@ public class PeerHelper extends HelperBase {
|
|||||||
}
|
}
|
||||||
renderNavBar(out);
|
renderNavBar(out);
|
||||||
if (_transport == null) {
|
if (_transport == null) {
|
||||||
out.write("<p id=\"upnpstatus\"><b>");
|
if (_context.commSystem().getStatus() == CommSystemFacade.Status.OK)
|
||||||
|
out.write("<p id=\"statusok\"><b>");
|
||||||
|
else
|
||||||
|
out.write("<p id=\"upnpstatus\"><b>");
|
||||||
out.write(_t("Status"));
|
out.write(_t("Status"));
|
||||||
out.write(": ");
|
out.write(": ");
|
||||||
out.write(_context.commSystem().getLocalizedStatusString());
|
out.write(_context.commSystem().getLocalizedStatusString());
|
||||||
|
@ -3952,6 +3952,12 @@ p#gatherstats {
|
|||||||
padding: 15px 15px 15px 50px;
|
padding: 15px 15px 15px 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p#statusok {
|
||||||
|
background: #1F1A24 url(images/confirmed.png) 12px center no-repeat;
|
||||||
|
border: 1px solid #292929;
|
||||||
|
padding: 15px 15px 15px 50px;
|
||||||
|
}
|
||||||
|
|
||||||
p#gatherstats {
|
p#gatherstats {
|
||||||
margin-bottom: 28px !important;
|
margin-bottom: 28px !important;
|
||||||
}
|
}
|
||||||
|
@ -3205,6 +3205,14 @@ p#gatherstats {
|
|||||||
line-height: 130%;
|
line-height: 130%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p#statusok {
|
||||||
|
border: 1px solid #dee2e6;
|
||||||
|
padding: 15px 15px 15px 50px;
|
||||||
|
background: #fff url(images/confirmed.png) 12px center no-repeat;
|
||||||
|
background: url(images/confirmed.png) 12px center no-repeat, linear-gradient(135deg, #fafaff, #f8f8ff);
|
||||||
|
line-height: 130%;
|
||||||
|
}
|
||||||
|
|
||||||
p#upnpstatus,
|
p#upnpstatus,
|
||||||
p#keyringhelp,
|
p#keyringhelp,
|
||||||
.widescroll+p.infohelp,
|
.widescroll+p.infohelp,
|
||||||
|
Reference in New Issue
Block a user