yomichan/tmpl/kanji.html

45 lines
1.2 KiB
HTML
Raw Normal View History

2016-04-29 03:32:04 +00:00
<div class="kanji-definition">
2016-10-19 15:52:22 +00:00
<div class="action-bar" data-sequence="{{sequence}}">
{{#if addable}}
<a href="#" title="Add Kanji" class="action-add-note disabled" data-mode="kanji" data-index="{{@index}}"><img src="{{root}}/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 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}}
2016-12-18 03:30:26 +00:00
<span class="tag tag-{{category}}" title="{{notes}}">{{name}}</span>
2016-08-08 02:56:50 +00:00
{{/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>