2017-09-22 03:52:18 +00:00
|
|
|
{{#*inline "table"}}
|
|
|
|
{{#if data}}
|
|
|
|
<table class="info-output">
|
|
|
|
{{#each data}}
|
|
|
|
<tr>
|
|
|
|
<th>{{#if notes}}{{notes}}{{else}}{{name}}{{/if}}</th>
|
|
|
|
<td>{{value}}</td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</table>
|
|
|
|
{{else}}
|
|
|
|
No data found
|
|
|
|
{{/if}}
|
|
|
|
{{/inline}}
|
|
|
|
|
2017-01-10 03:05:21 +00:00
|
|
|
{{#*inline "kanji"}}
|
2017-03-26 01:08:42 +00:00
|
|
|
<div class="entry" data-type="kanji">
|
2017-03-04 04:25:14 +00:00
|
|
|
<div class="actions">
|
2017-01-09 06:44:13 +00:00
|
|
|
{{#if addable}}
|
2019-10-07 01:05:27 +00:00
|
|
|
<a href="#" class="action-view-note pending disabled"><img src="/mixed/img/view-note.svg" title="View added note (Alt + V)" alt></a>
|
|
|
|
<a href="#" class="action-add-note pending disabled" data-mode="kanji"><img src="/mixed/img/add-term-kanji.svg" title="Add Kanji (Alt + K)" alt></a>
|
2017-01-09 06:44:13 +00:00
|
|
|
{{/if}}
|
2019-10-07 01:05:27 +00:00
|
|
|
<img src="/mixed/img/entry-current.svg" class="current" title="Current entry (Alt + Up/Down/Home/End/PgUp/PgDn)" alt>
|
2017-01-09 06:44:13 +00:00
|
|
|
</div>
|
|
|
|
|
2019-11-09 10:28:12 +00:00
|
|
|
<div class="glyph expression-scan-toggle">{{character}}</div>
|
2017-01-09 06:44:13 +00:00
|
|
|
|
2017-09-18 02:16:08 +00:00
|
|
|
{{#if frequencies}}
|
|
|
|
<div>
|
|
|
|
{{#each frequencies}}
|
|
|
|
<span class="label label-default tag-frequency">{{dictionary}}:{{frequency}}</span>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if tags}}
|
2017-03-04 04:25:14 +00:00
|
|
|
<div>
|
2017-01-09 06:44:13 +00:00
|
|
|
{{#each tags}}
|
2017-03-18 16:48:53 +00:00
|
|
|
<span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span>
|
2017-01-09 06:44:13 +00:00
|
|
|
{{/each}}
|
|
|
|
</div>
|
2017-09-18 02:16:08 +00:00
|
|
|
{{/if}}
|
2017-01-09 06:44:13 +00:00
|
|
|
|
2017-09-15 21:03:05 +00:00
|
|
|
<table class="table table-condensed glyph-data">
|
2017-09-15 20:18:21 +00:00
|
|
|
<tr>
|
|
|
|
<th>Glossary</th>
|
2017-09-22 03:59:43 +00:00
|
|
|
<th>Readings</th>
|
2017-09-22 06:10:43 +00:00
|
|
|
<th>Statistics</th>
|
2017-09-15 20:18:21 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="glossary">
|
|
|
|
{{#if glossary.[1]}}
|
2017-09-22 03:52:18 +00:00
|
|
|
<ol>{{#each glossary}}<li><span class="glossary-item">{{.}}</span></li>{{/each}}</ol>
|
2017-09-15 20:18:21 +00:00
|
|
|
{{else}}
|
|
|
|
<span class="glossary-item">{{glossary.[0]}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</td>
|
2017-09-22 03:52:18 +00:00
|
|
|
<td class="reading">
|
2017-09-22 06:10:43 +00:00
|
|
|
{{#if onyomi}}<dl>{{#each onyomi}}<dd>{{.}}</dd>{{/each}}</dl>{{/if}}
|
|
|
|
{{#if kunyomi}}<dl>{{#each kunyomi}}<dd>{{.}}</dd>{{/each}}</dl>{{/if}}
|
2017-09-22 03:52:18 +00:00
|
|
|
</td>
|
2017-09-22 03:59:43 +00:00
|
|
|
<td>{{> table data=stats.misc}}</td>
|
2017-09-22 03:52:18 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-09-22 06:10:43 +00:00
|
|
|
<th colspan="3">Classifications</th>
|
2017-09-22 03:52:18 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-09-22 06:21:34 +00:00
|
|
|
<td colspan="3">{{> table data=stats.class}}</td>
|
2017-09-22 06:10:43 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th colspan="3">Codepoints</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="3">{{> table data=stats.code}}</td>
|
2017-09-17 19:56:34 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th colspan="3">Dictionary Indices</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-09-22 03:52:18 +00:00
|
|
|
<td colspan="3">{{> table data=stats.index}}</td>
|
2017-09-15 20:18:21 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2017-05-24 04:27:20 +00:00
|
|
|
|
|
|
|
{{#if debug}}
|
|
|
|
<pre>{{#dumpObject}}{{{.}}}{{/dumpObject}}</pre>
|
|
|
|
{{/if}}
|
2017-03-18 03:45:47 +00:00
|
|
|
</div>
|
2017-01-09 06:44:13 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
2016-11-14 02:06:49 +00:00
|
|
|
{{#if definitions}}
|
2019-11-28 16:06:24 +00:00
|
|
|
<div class="term-navigation">
|
|
|
|
<a href="#" {{#if source}}class="source-term"{{else}}class="source-term term-button-fade"{{/if}}><img src="/mixed/img/source-term.svg" title="Source term (Alt + B)" alt></a>
|
|
|
|
<a href="#" {{#if history}}class="history-term"{{else}}class="history-term term-button-fade"{{/if}}><img src="/mixed/img/source-term.svg" style="transform: scaleX(-1);" title="History term (Alt + F)" alt></a>
|
|
|
|
</div>
|
2017-03-18 16:48:53 +00:00
|
|
|
{{#each definitions}}
|
|
|
|
{{#unless @first}}<hr>{{/unless}}
|
2019-11-28 16:06:24 +00:00
|
|
|
{{> kanji debug=../debug addable=../addable root=../root}}
|
2017-03-18 16:48:53 +00:00
|
|
|
{{/each}}
|
2016-11-14 02:06:49 +00:00
|
|
|
{{else}}
|
2017-09-17 19:56:34 +00:00
|
|
|
<p class="note">No results found</p>
|
2016-11-14 02:06:49 +00:00
|
|
|
{{/if}}
|