yomichan/tmpl/kanji.html

44 lines
1.2 KiB
HTML
Raw Normal View History

2016-04-29 03:32:04 +00:00
<div class="kanji-definition">
2016-05-04 05:18:03 +00:00
{{#with options}}
2016-05-05 01:58:12 +00:00
{{#if enableAnkiConnect}}
2016-05-07 20:43:32 +00:00
<div class="action-bar">
<a href="#" title="Add Kanji" class="action-link disabled" data-sequence="{{../sequence}}" data-mode="kanji" data-index="{{@index}}"><img src="{{../root}}/img/add_kanji.png"></a>
</div>
2016-05-05 01:58:12 +00:00
{{/if}}
2016-05-04 05:18:03 +00:00
{{/with}}
2016-05-04 03:53:53 +00:00
2016-04-29 03:32:04 +00:00
<div class="kanji-glyph">{{character}}</div>
2016-05-04 03:53:53 +00:00
2016-04-29 03:32:04 +00:00
<div class="kanji-info">
<dl>
{{#if glossary}}
<dt>Meanings</dt>
<dd>
{{#each glossary}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</dd>
{{/if}}
2016-04-18 01:35:22 +00:00
2016-04-29 03:32:04 +00:00
{{#if kunyomi}}
2016-05-10 02:23:40 +00:00
<dt>Kun'yomi</dt>
2016-05-10 02:07:39 +00:00
<dd class="kanji-reading">
2016-04-29 03:32:04 +00:00
{{#each kunyomi}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</dd>
{{/if}}
2016-04-18 01:35:22 +00:00
2016-04-29 03:32:04 +00:00
{{#if onyomi}}
2016-05-10 02:23:40 +00:00
<dt>On'yomi</dt>
2016-05-10 02:07:39 +00:00
<dd class="kanji-reading">
2016-04-29 03:32:04 +00:00
{{#each onyomi}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</dd>
{{/if}}
</dl>
</div>
2016-04-25 03:50:27 +00:00
</div>
2016-04-18 01:35:22 +00:00
</div>