From 8b4d19c9f2d35ef53bbd8543f1d39f95c355bf12 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 21 May 2016 16:36:41 -0700 Subject: [PATCH] WIP --- ext/bg/js/options-form.js | 2 +- ext/bg/options.html | 79 ++++++++++++++++++++++++++------------- 2 files changed, 53 insertions(+), 28 deletions(-) diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js index 53e65b6f..fec2494a 100644 --- a/ext/bg/js/options-form.js +++ b/ext/bg/js/options-form.js @@ -53,8 +53,8 @@ function onOptionsChanged() { $(document).ready(() => { loadOptions((opts) => { - updateVisibility(); optionsToForm(opts); + updateVisibility(); $('input').on('input paste change', onOptionsChanged); }); }); diff --git a/ext/bg/options.html b/ext/bg/options.html index b00d2d90..95236e6d 100644 --- a/ext/bg/options.html +++ b/ext/bg/options.html @@ -5,6 +5,11 @@ Yomichan Options +
@@ -14,52 +19,72 @@

General

-
-
-
- -
-
+
+
+ +
+
-
-
-
- -
+
+
+
+
+
-
-
-
- -
+
+
+
+
+
-
-
-
- -
+
+
+
+
+
-
-
-
- -
+
+
+
+
- +

Anki

+
+
+ +
+ + +
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+