yomichan/tmpl/kanji.html

47 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-07-18 15:41:46 +00:00
<div class="action-bar" data-sequence="{{../sequence}}">
{{#if enableAnkiConnect}}
2016-10-09 01:47:24 +00:00
<a href="#" title="Add Kanji" class="action-add-note disabled" data-mode="kanji" data-index="{{@index}}"><img src="{{../root}}/fg/img/add_kanji.png"></a>
2016-07-18 15:41:46 +00:00
{{/if}}
2016-05-07 20:43:32 +00:00
</div>
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-08-08 02:56:50 +00:00
<div class="kanji-reading">
<table>
<tr>
<th>Kunyomi:</th>
<td>
{{#each kunyomi}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</td>
</tr>
<tr>
<th>Onyomi:</th>
<td>
{{#each onyomi}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</td>
</tr>
</table>
</div>
2016-04-18 01:35:22 +00:00
2016-08-08 02:56:50 +00:00
<div class="kanji-tags">
{{#each tags}}
<span class="tag tag-{{class}}" title="{{desc}}">{{name}}</span>
{{/each}}
</div>
2016-04-18 01:35:22 +00:00
2016-08-08 02:56:50 +00:00
<div class="kanji-glossary">
<ol>
{{#each glossary}}
<li><span>{{.}}</span></li>
{{/each}}
</ol>
2016-04-29 03:32:04 +00:00
</div>
2016-04-25 03:50:27 +00:00
</div>