+ client: add icons to the whois info

This commit is contained in:
Ildar Kamalov
2019-09-24 15:28:59 +03:00
committed by Simon Zolin
parent fcf37da312
commit ba62d42949
13 changed files with 192 additions and 102 deletions

View File

@@ -129,3 +129,25 @@
white-space: nowrap;
overflow: hidden;
}
.logs__whois {
display: inline;
}
.logs__whois::after {
content: "|";
padding: 0 5px;
}
.logs__whois:last-child::after {
content: "";
}
.logs__whois-icon.icons {
position: relative;
top: -2px;
width: 16px;
height: 16px;
margin-right: 2px;
opacity: 0.6;
}

View File

@@ -191,7 +191,7 @@ class Logs extends Component {
};
getClientCell = ({ original, value }) => {
const { dashboard } = this.props;
const { dashboard, t } = this.props;
const { clients, autoClients } = dashboard;
const { reason, domain } = original;
const isFiltered = this.checkFiltered(reason);
@@ -200,7 +200,7 @@ class Logs extends Component {
return (
<Fragment>
<div className="logs__row logs__row--overflow logs__row--column">
{formatClientCell(value, clients, autoClients)}
{formatClientCell(value, clients, autoClients, t)}
</div>
{isRewrite ? (
<div className="logs__action">