Fix some UI issues, rename DNS->Home

This commit is contained in:
Andrey Meshkov
2018-10-14 17:49:07 +03:00
parent e356540872
commit e67695df8b
12 changed files with 21 additions and 19 deletions

View File

@@ -44,7 +44,7 @@ export default class UserRules extends Component {
domain and all its subdomains
</li>
<li>
<code>127.0.0.1 example.org</code> - AdGuard DNS will now return
<code>127.0.0.1 example.org</code> - AdGuard Home will now return
127.0.0.1 address for the example.org domain (but not its subdomains).
</li>
<li>

View File

@@ -74,7 +74,7 @@ class Filters extends Component {
<div className="col-md-12">
<Card
title="Filters and hosts blocklists"
subtitle="AdGuard DNS understands basic adblock rules and hosts files syntax."
subtitle="AdGuard Home understands basic adblock rules and hosts files syntax."
>
<ReactTable
data={filters}

View File

@@ -17,17 +17,17 @@ export default class Settings extends Component {
safebrowsing: {
enabled: false,
title: 'Use AdGuard browsing security web service',
subtitle: 'AdGuard DNS will check if domain is blacklisted by the browsing security web service. It will use privacy-friendly lookup API to perform the check: only a short prefix of the domain name SHA256 hash is sent to the server.',
subtitle: 'AdGuard Home will check if domain is blacklisted by the browsing security web service. It will use privacy-friendly lookup API to perform the check: only a short prefix of the domain name SHA256 hash is sent to the server.',
},
parental: {
enabled: false,
title: 'Use AdGuard parental control web service',
subtitle: 'AdGuard DNS will check if domain contains adult materials. It uses the same privacy-friendly API as the browsing security web service.',
subtitle: 'AdGuard Home will check if domain contains adult materials. It uses the same privacy-friendly API as the browsing security web service.',
},
safesearch: {
enabled: false,
title: 'Enforce safe search',
subtitle: 'AdGuard DNS can enforce safe search in the following search engines: Google, Bing, Yandex.',
subtitle: 'AdGuard Home can enforce safe search in the following search engines: Google, Bing, Yandex.',
},
};

View File

@@ -10,9 +10,12 @@ class Footer extends Component {
return (
<footer className="footer">
<div className="container">
<div className="row align-items-center flex-row-reverse">
<div className="col-12 col-lg-auto ml-lg-auto">
<div className="row align-items-center flex-row">
<div className="col-12 col-lg-auto mt-3 mt-lg-0 text-center">
<div className="row align-items-center justify-content-center">
<div className="col-auto">
Copyright © {this.getYear()} <a href="https://adguard.com/">AdGuard</a>
</div>
<div className="col-auto">
<ul className="list-inline text-center mb-0">
<li className="list-inline-item">
@@ -27,9 +30,6 @@ class Footer extends Component {
</div>
</div>
</div>
<div className="col-12 col-lg-auto mt-3 mt-lg-0 text-center">
Copyright © {this.getYear()} <a href="https://adguard.com/">AdGuard</a>.
</div>
</div>
</div>
</footer>

View File

@@ -15,7 +15,7 @@ class Popover extends Component {
<div className="popover__body">
<div className="popover__list">
<div className="popover__list-title">
This domain belongs to a known tracker.
This domain belongs to the Whotracksme database.
</div>
<div className="popover__list-item">
Name: <strong>{data.name}</strong>

View File

@@ -7,10 +7,10 @@ const Status = props => (
<div className="status">
<Card bodyType="card-body card-body--status">
<div className="h4 font-weight-light mb-4">
You are currently not using AdGuard DNS
You are currently not using AdGuard Home
</div>
<button className="btn btn-success" onClick={props.handleStatusChange}>
Enable AdGuard DNS
Enable AdGuard Home
</button>
</Card>
</div>