-
Notifications
You must be signed in to change notification settings - Fork 868
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorganize settings webui #20160
Reorganize settings webui #20160
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,33 +44,6 @@ | |
</div> | ||
</div> | ||
</div> | ||
<settings-toggle-button | ||
class="cr-row" | ||
pref="{{prefs.brave.shields.stats_badge_visible}}" | ||
label="$i18n{showStatsBlockedBadgeLabel}"> | ||
</settings-toggle-button> | ||
<settings-toggle-button | ||
class="cr-row" | ||
pref="{{prefs.brave.de_amp.enabled}}" | ||
label="$i18n{deAmpSettingLabel}" | ||
sub-label="$i18n{deAmpSettingSubLabel}" | ||
learn-more-url="$i18n{deAmpLearnMoreURL}"> | ||
</settings-toggle-button> | ||
<template is="dom-if" if="[[isDebounceFeatureEnabled_]]"> | ||
<settings-toggle-button | ||
class="cr-row" | ||
pref="{{prefs.brave.debounce.enabled}}" | ||
label="$i18n{debounceSettingLabel}" | ||
sub-label="$i18n{debounceSettingSubLabel}" | ||
learn-more-url="$i18n{debounceLearnMoreURL}"> | ||
</settings-toggle-button> | ||
</template> | ||
<settings-toggle-button | ||
class="cr-row" | ||
pref="{{prefs.brave.reduce_language}}" | ||
label="$i18n{reduceLanguageControlLabel}" | ||
sub-label="$i18n{reduceLanguageDesc}"> | ||
</settings-toggle-button> | ||
<div class="settings-box"> | ||
<div class="start">$i18n{adControlLabel}</div> | ||
<select id="adControlType" class="md-select" | ||
|
@@ -150,3 +123,32 @@ | |
</settings-subpage> | ||
</template> | ||
</settings-animated-pages> | ||
<div hidden="[[isAdBlockRoute_]]"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. q. I'm curious why this was added. Was it removed accidentally? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This page is used for two screen.
Above second screen is shown when we click |
||
<settings-toggle-button | ||
class="cr-row" | ||
pref="{{prefs.brave.shields.stats_badge_visible}}" | ||
label="$i18n{showStatsBlockedBadgeLabel}"> | ||
</settings-toggle-button> | ||
<settings-toggle-button | ||
class="cr-row" | ||
pref="{{prefs.brave.de_amp.enabled}}" | ||
label="$i18n{deAmpSettingLabel}" | ||
sub-label="$i18n{deAmpSettingSubLabel}" | ||
learn-more-url="$i18n{deAmpLearnMoreURL}"> | ||
</settings-toggle-button> | ||
<template is="dom-if" if="[[isDebounceFeatureEnabled_]]"> | ||
<settings-toggle-button | ||
class="cr-row" | ||
pref="{{prefs.brave.debounce.enabled}}" | ||
label="$i18n{debounceSettingLabel}" | ||
sub-label="$i18n{debounceSettingSubLabel}" | ||
learn-more-url="$i18n{debounceLearnMoreURL}"> | ||
</settings-toggle-button> | ||
</template> | ||
<settings-toggle-button | ||
class="cr-row" | ||
pref="{{prefs.brave.reduce_language}}" | ||
label="$i18n{reduceLanguageControlLabel}" | ||
sub-label="$i18n{reduceLanguageDesc}"> | ||
</settings-toggle-button> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this was copied from the upstream code. It might be worth leaving comment about where it's from.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added