client: fix styles, add titles and descrs
This commit is contained in:
parent
97e31cff70
commit
48b62b0f18
|
@ -523,7 +523,10 @@
|
||||||
"statistics_retention_confirm": "Are you sure you want to change statistics retention? If you decrease the interval value, some data will be lost",
|
"statistics_retention_confirm": "Are you sure you want to change statistics retention? If you decrease the interval value, some data will be lost",
|
||||||
"statistics_cleared": "Statistics successfully cleared",
|
"statistics_cleared": "Statistics successfully cleared",
|
||||||
"statistics_enable": "Enable statistics",
|
"statistics_enable": "Enable statistics",
|
||||||
"statistics_ignore_domains": "Ignore domains (separated by newline)",
|
"ignore_domains": "Ignored domains (separated by newline)",
|
||||||
|
"ignore_domains_title": "Ignored domains",
|
||||||
|
"ignore_domains_desc_stats": "Queries for these domains are not written to the statistics",
|
||||||
|
"ignore_domains_desc_query": "Queries for these domains are not written to the query log",
|
||||||
"interval_hours": "{{count}} hour",
|
"interval_hours": "{{count}} hour",
|
||||||
"interval_hours_plural": "{{count}} hours",
|
"interval_hours_plural": "{{count}} hours",
|
||||||
"filters_configuration": "Filters configuration",
|
"filters_configuration": "Filters configuration",
|
||||||
|
|
|
@ -76,12 +76,19 @@ const Form = (props) => {
|
||||||
{getIntervalFields(processing, t, toFloatNumber)}
|
{getIntervalFields(processing, t, toFloatNumber)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<label className="form__label form__label--with-desc">
|
||||||
|
<Trans>ignore_domains_title</Trans>
|
||||||
|
</label>
|
||||||
|
<div className="form__desc form__desc--top">
|
||||||
|
<Trans>ignore_domains_desc_query</Trans>
|
||||||
|
</div>
|
||||||
<div className="form__group form__group--settings">
|
<div className="form__group form__group--settings">
|
||||||
<Field
|
<Field
|
||||||
name="ignored"
|
name="ignored"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
|
className="form-control form-control--textarea font-monospace text-input"
|
||||||
component={renderTextareaField}
|
component={renderTextareaField}
|
||||||
placeholder={t('statistics_ignore_domains')}
|
placeholder={t('ignore_domains')}
|
||||||
disabled={processing}
|
disabled={processing}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -70,12 +70,19 @@ const Form = (props) => {
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<label className="form__label form__label--with-desc">
|
||||||
|
<Trans>ignore_domains_title</Trans>
|
||||||
|
</label>
|
||||||
|
<div className="form__desc form__desc--top">
|
||||||
|
<Trans>ignore_domains_desc_stats</Trans>
|
||||||
|
</div>
|
||||||
<div className="form__group form__group--settings">
|
<div className="form__group form__group--settings">
|
||||||
<Field
|
<Field
|
||||||
name="ignored"
|
name="ignored"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
|
className="form-control form-control--textarea font-monospace text-input"
|
||||||
component={renderTextareaField}
|
component={renderTextareaField}
|
||||||
placeholder={t('statistics_ignore_domains')}
|
placeholder={t('ignore_domains')}
|
||||||
disabled={processing}
|
disabled={processing}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue