summaryrefslogtreecommitdiff
path: root/util/tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'util/tmpl')
-rw-r--r--util/tmpl/kanji.html13
-rw-r--r--util/tmpl/term.html4
2 files changed, 15 insertions, 2 deletions
diff --git a/util/tmpl/kanji.html b/util/tmpl/kanji.html
new file mode 100644
index 00000000..66e4647e
--- /dev/null
+++ b/util/tmpl/kanji.html
@@ -0,0 +1,13 @@
+<div class="kanji">{{character}}</div>
+
+<div class="reading">
+ {{kunyomi}}
+</div>
+
+<div class="reading">
+ {{onyomi}}
+</div>
+
+<div class="glossary">
+ {{glossary}}
+</div>
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
index 6894dde3..6c4d31ed 100644
--- a/util/tmpl/term.html
+++ b/util/tmpl/term.html
@@ -1,7 +1,7 @@
{{#if reading}}
-<div class="expression"><ruby>{{expression}}<rt>{{reading}}</rt></ruby></div>
+<div class="term"><ruby>{{expression}}<rt>{{reading}}</rt></ruby></div>
{{else}}
-<div class="expression">{{expression}}</div>
+<div class="term">{{expression}}</div>
{{/if}}
{{#if rules}}