diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-01-24 22:32:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-24 22:32:29 -0500 |
commit | bab6c6fba9100ea01f4eb60dcc6960c5ed88c682 (patch) | |
tree | f4a235349f0f348203975457a0eec4538381300a /ext/bg/settings2.html | |
parent | 4430446731b1bec045823103b6bfda485ce3ecf9 (diff) |
Update badges (#1309)
* Update badge indications to be based off current profile
* Update warning badge to display when no dictionaries are enabled
* Show how many dictionaries are enabled
Diffstat (limited to 'ext/bg/settings2.html')
-rw-r--r-- | ext/bg/settings2.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/settings2.html b/ext/bg/settings2.html index 02bddb71..3bad1217 100644 --- a/ext/bg/settings2.html +++ b/ext/bg/settings2.html @@ -22,7 +22,7 @@ <div class="sidebar"><div class="sidebar-inner"> <div class="sidebar-body"> <a href="#!profile" class="outline-item"><span class="outline-item-left"><span class="outline-item-icon icon" data-icon="profile"></span></span><span class="outline-item-label">Profile</span></a> - <a href="#!dictionaries" class="outline-item"><span class="outline-item-left"><span class="outline-item-icon icon" data-icon="book"></span><span class="outline-item-left-warning-badge no-dictionaries-installed-warning" hidden><span class="icon" data-icon="exclamation-point-short"></span></span></span><span class="outline-item-label">Dictionaries</span></a> + <a href="#!dictionaries" class="outline-item"><span class="outline-item-left"><span class="outline-item-icon icon" data-icon="book"></span><span class="outline-item-left-warning-badge no-dictionaries-enabled-warning" hidden><span class="icon" data-icon="exclamation-point-short"></span></span></span><span class="outline-item-label">Dictionaries</span></a> <a href="#!general" class="outline-item"><span class="outline-item-left"><span class="outline-item-icon icon" data-icon="cog"></span></span><span class="outline-item-label">General</span></a> <a href="#!scanning" class="outline-item"><span class="outline-item-left"><span class="outline-item-icon icon" data-icon="scanning"></span></span><span class="outline-item-label">Scanning</span></a> <a href="#!popup" class="outline-item"><span class="outline-item-left"><span class="outline-item-icon icon" data-icon="popup"></span></span><span class="outline-item-label">Popup</span></a> @@ -119,7 +119,7 @@ <!-- Dictionaries --> <div class="heading-container"> <div class="heading-container-icon"><span class="icon" data-icon="book"></span></div> - <div class="heading-container-left"><h2 id="dictionaries"><a href="#!dictionaries">Dictionaries</a> <span class="heading-sub-text no-wrap" data-modal-action="show,dictionaries">(<span id="dictionary-install-count">#</span> installed)</span></h2></div> + <div class="heading-container-left"><h2 id="dictionaries"><a href="#!dictionaries">Dictionaries</a> <span class="heading-sub-text no-wrap" data-modal-action="show,dictionaries">(<span id="dictionary-install-count">#</span> installed, <span id="dictionary-enabled-count">#</span> enabled)</span></h2></div> </div> <div class="settings-group"> <div class="settings-item settings-item-button" data-modal-action="show,dictionaries"><div class="settings-item-inner"> |