aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/settings2.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-14 22:42:11 -0500
committerGitHub <noreply@github.com>2021-01-14 22:42:11 -0500
commit1dcfbf6ba6516d05f756d26bf84049d94776ab14 (patch)
tree538a1a4346a4f98ba366949eda33b4e981e58766 /ext/bg/settings2.html
parentd9f5d21d15a8239ecf349d254606be2c8fa70d31 (diff)
Support suspending new anki cards (#1240)
* Add new option: anki.suspendNewCards * Update Anki APIs * Suspend card based on options * Add setting * Disable wrap for toggle property
Diffstat (limited to 'ext/bg/settings2.html')
-rw-r--r--ext/bg/settings2.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/ext/bg/settings2.html b/ext/bg/settings2.html
index 5b9d702d..f44b7eab 100644
--- a/ext/bg/settings2.html
+++ b/ext/bg/settings2.html
@@ -1357,7 +1357,7 @@
</div>
</div></div>
<div class="settings-item advanced-only">
- <div class="settings-item-inner settings-item-inner-wrappable">
+ <div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label">Check for card duplicates</div>
<div class="settings-item-description">When a card is detected as a duplicate, the add buttons will be disabled.</div>
@@ -1435,6 +1435,16 @@
</div>
</div>
</div></div>
+
+ <div class="settings-item advanced-only"><div class="settings-item-inner">
+ <div class="settings-item-left">
+ <div class="settings-item-label">Suspend new cards</div>
+ <div class="settings-item-description">New cards will be suspended when a note is added.</div>
+ </div>
+ <div class="settings-item-right">
+ <label class="toggle"><input type="checkbox" data-setting="anki.suspendNewCards"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
+ </div>
+ </div></div>
<div class="settings-item settings-item-button" data-modal-action="show,anki-cards"><div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label">Configure Anki card format&hellip;</div>