summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuuuube <61125188+Kuuuube@users.noreply.github.com>2024-05-14 00:00:10 -0400
committerGitHub <noreply@github.com>2024-05-14 04:00:10 +0000
commitc9d704733f9e832d3af4b393fe55e4c3cdc208d0 (patch)
tree6205c39c164ca0f78b6053ea8b30479c63c42547
parent81390468b95e786e2aabb41ddcbdd91ab9b345c3 (diff)
Add permissions page link in settings (#932)
-rw-r--r--ext/settings.html18
1 files changed, 13 insertions, 5 deletions
diff --git a/ext/settings.html b/ext/settings.html
index 8dfd6f51..dbfcf580 100644
--- a/ext/settings.html
+++ b/ext/settings.html
@@ -40,7 +40,7 @@
<a href="#!shortcuts" class="button outline-item"><span class="outline-item-left"><span class="outline-item-icon icon" data-icon="keyboard"></span></span><span class="outline-item-label">Shortcuts</span></a>
<a href="#!backup" class="button outline-item"><span class="outline-item-left"><span class="outline-item-icon icon" data-icon="backup"></span></span><span class="outline-item-label">Backup</span></a>
<a href="#!accessibility" class="button outline-item"><span class="outline-item-left"><span class="outline-item-icon icon" data-icon="accessibility"></span></span><span class="outline-item-label">Accessibility</span></a>
- <a href="#!security" class="button outline-item advanced-only"><span class="outline-item-left"><span class="outline-item-icon icon" data-icon="lock"></span></span><span class="outline-item-label">Security</span></a>
+ <a href="#!security" class="button outline-item"><span class="outline-item-left"><span class="outline-item-icon icon" data-icon="lock"></span></span><span class="outline-item-label">Security</span></a>
</div>
<div class="sidebar-bottom">
<label class="button outline-item"><span class="outline-item-left">
@@ -2096,12 +2096,20 @@
</div>
<!-- Security -->
- <div class="heading-container advanced-only">
+ <div class="heading-container">
<div class="heading-container-icon"><span class="icon" data-icon="lock"></span></div>
<div class="heading-container-left"><h2 id="security"><a href="#!security">Security</a></h2></div>
</div>
- <div class="settings-group advanced-only">
- <div class="settings-item">
+ <div class="settings-group">
+ <a href="/permissions.html" rel="noopener" class="settings-item settings-item-button"><div class="settings-item-inner">
+ <div class="settings-item-left">
+ <div class="settings-item-label">Configure Yomitan Permissions</div>
+ </div>
+ <div class="settings-item-right open-panel-button-container">
+ <button type="button" class="icon-button"><span class="icon-button-inner"><span class="icon" data-icon="material-right-arrow"></span></span></button>
+ </div>
+ </div></a>
+ <div class="settings-item advanced-only">
<div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label">
@@ -2125,7 +2133,7 @@
</p>
</div>
</div>
- <div class="settings-item">
+ <div class="settings-item advanced-only">
<div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label">