summaryrefslogtreecommitdiff
path: root/ext/bg/context.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-08 17:52:46 -0500
committerGitHub <noreply@github.com>2021-02-08 17:52:46 -0500
commit4b6703114c3fedaaf24cc7a376d885e22dfdc4f3 (patch)
tree5065ab70a1e56ee6187aeb9af46491ab1667b524 /ext/bg/context.html
parent849e4fabe1dffc2851fcb338dae8400d6c8e46ca (diff)
Improve dictionaries not enabled badges (#1349)
* Improve badges on the settings page * Add badges on the context page
Diffstat (limited to 'ext/bg/context.html')
-rw-r--r--ext/bg/context.html13
1 files changed, 11 insertions, 2 deletions
diff --git a/ext/bg/context.html b/ext/bg/context.html
index afd89207..76e4db2a 100644
--- a/ext/bg/context.html
+++ b/ext/bg/context.html
@@ -30,7 +30,12 @@
<optgroup label="Primary Profile" id="profile-select-option-group"></optgroup>
</select></span>
</button>
- <a class="nav-button action-open-settings" data-icon="cog" title="Settings" data-hotkey='["global:openSettingsPage","title","Settings ({0})"]'></a>
+ <a class="nav-button action-open-settings" data-icon="cog" title="Settings" data-hotkey='["global:openSettingsPage","title","Settings ({0})"]'>
+ <div class="nav-button-warning-badge no-dictionaries-enabled-warning" hidden>
+ <div class="nav-button-warning-badge-outer"></div>
+ <div class="nav-button-warning-badge-inner"></div>
+ </div>
+ </a>
<a class="nav-button action-open-search" data-icon="magnifying-glass" title="Search" data-hotkey='["global:openSearchPage","title","Search ({0})"]'></a>
<a class="nav-button action-open-info" data-icon="question-mark" title="Information" data-hotkey='["global:openInfoPage","title","Information ({0})"]'></a>
</div>
@@ -42,7 +47,11 @@
<span class="link-group-icon"><input type="checkbox" id="enable-search2"></span><span class="link-group-label">Enable content scanning</span>
</label>
<a class="link-group action-open-settings">
- <span class="link-group-icon" data-icon="chevron"></span><span class="link-group-label">Settings</span>
+ <span class="link-group-icon" data-icon="chevron"></span>
+ <span class="link-group-label">Settings</span>
+ <span class="link-group-badge">
+ <div class="flex-margin-left warning-badge no-dictionaries-enabled-warning" hidden><span class="icon" data-icon="exclamation-point-short"></span></div>
+ </span>
</a>
<a class="link-group action-open-search">
<span class="link-group-icon" data-icon="chevron"></span><span class="link-group-label">Search</span>