aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/settings.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-14 14:15:17 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-29 12:33:28 -0500
commit5045a9a3a063bafae94bc855627cd85f61671d62 (patch)
tree673a18be80de08e7dfd1fc50ff70b3b902df9eb0 /ext/bg/settings.html
parentd2da4f7e62c42ed7f9fd82c8af2f1d9968bec2ce (diff)
Implement settings export
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r--ext/bg/settings.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html
index e0036f57..ec0e2939 100644
--- a/ext/bg/settings.html
+++ b/ext/bg/settings.html
@@ -853,6 +853,22 @@
</ul>
</div>
+
+ <div>
+ <h3>Backup</h3>
+
+ <p class="help-block">
+ Yomichan can import and export settings files which can be used to restore settings,
+ share settings across devices, or help to debug problems.
+ These files will only contain settings and will not contain dictionaries.
+ Dictionaries must be imported separately.
+ </p>
+
+ <div>
+ <button class="btn btn-default" id="settings-export">Export Settings</button>
+ </div>
+ </div>
+
<div>
<h3>Support Development</h3>
@@ -901,6 +917,7 @@
<script src="/bg/js/settings/anki-templates.js"></script>
<script src="/bg/js/settings/audio.js"></script>
<script src="/bg/js/settings/audio-ui.js"></script>
+ <script src="/bg/js/settings/backup.js"></script>
<script src="/bg/js/settings/conditions-ui.js"></script>
<script src="/bg/js/settings/dictionaries.js"></script>
<script src="/bg/js/settings/popup-preview.js"></script>