aboutsummaryrefslogtreecommitdiff
path: root/util/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-17 18:35:22 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-17 18:35:22 -0700
commit52a8e2207c70573abd1e47cc8d019ba9e592a9dd (patch)
tree8aaef2a0c1b38493e48946b476c486c53a673b80 /util/tmpl
parent6f45cc287112030387f33169c762ee9448c0c65c (diff)
Fixups
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}}