summaryrefslogtreecommitdiff
path: root/tmpl/kanji.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-27 15:12:21 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-16 22:39:26 -0500
commit6c58cbcf51b4ecd587ee780b5fcecac9ead9a1bd (patch)
treeb02c7781f0c54c52a6f28e4e5bd20d068a5c3ae3 /tmpl/kanji.html
parent24832be63693d8f04797ed45041ffbd3e8ac3f9d (diff)
Remove kanji.html and terms.html
Diffstat (limited to 'tmpl/kanji.html')
-rw-r--r--tmpl/kanji.html101
1 files changed, 0 insertions, 101 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
deleted file mode 100644
index d205cda5..00000000
--- a/tmpl/kanji.html
+++ /dev/null
@@ -1,101 +0,0 @@
-{{#*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}}
-
-{{#*inline "kanji"}}
-<div class="entry" data-type="kanji">
- <div class="actions">
- {{#if addable}}
- <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>
- {{/if}}
- <img src="/mixed/img/entry-current.svg" class="current" title="Current entry (Alt + Up/Down/Home/End/PgUp/PgDn)" alt>
- </div>
-
- <div class="glyph expression-scan-toggle">{{character}}</div>
-
- {{#if frequencies}}
- <div>
- {{#each frequencies}}
- <span class="label label-default tag-frequency">{{dictionary}}:{{frequency}}</span>
- {{/each}}
- </div>
- {{/if}}
-
- {{#if tags}}
- <div>
- {{#each tags}}
- <span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span>
- {{/each}}
- </div>
- {{/if}}
-
- <table class="table table-condensed glyph-data">
- <tr>
- <th>Glossary</th>
- <th>Readings</th>
- <th>Statistics</th>
- </tr>
- <tr>
- <td class="glossary">
- {{#if glossary.[1]}}
- <ol>{{#each glossary}}<li><span class="glossary-item">{{.}}</span></li>{{/each}}</ol>
- {{else}}
- <span class="glossary-item">{{glossary.[0]}}</span>
- {{/if}}
- </td>
- <td class="reading">
- {{#if onyomi}}<dl>{{#each onyomi}}<dd>{{.}}</dd>{{/each}}</dl>{{/if}}
- {{#if kunyomi}}<dl>{{#each kunyomi}}<dd>{{.}}</dd>{{/each}}</dl>{{/if}}
- </td>
- <td>{{> table data=stats.misc}}</td>
- </tr>
- <tr>
- <th colspan="3">Classifications</th>
- </tr>
- <tr>
- <td colspan="3">{{> table data=stats.class}}</td>
- </tr>
- <tr>
- <th colspan="3">Codepoints</th>
- </tr>
- <tr>
- <td colspan="3">{{> table data=stats.code}}</td>
- </tr>
- <tr>
- <th colspan="3">Dictionary Indices</th>
- </tr>
- <tr>
- <td colspan="3">{{> table data=stats.index}}</td>
- </tr>
- </table>
-
- {{#if debug}}
- <pre>{{#dumpObject}}{{{.}}}{{/dumpObject}}</pre>
- {{/if}}
-</div>
-{{/inline}}
-
-{{#if definitions}}
-<div class="term-navigation">
- <a href="#" {{#if source}}class="source-term"{{else}}class="source-term invisible"{{/if}}><img src="/mixed/img/source-term.svg" title="Source term (Alt + B)" alt></a>
- <a href="#" {{#if next}}class="next-term"{{else}}class="next-term invisible"{{/if}}><img src="/mixed/img/source-term.svg" style="transform: scaleX(-1);" title="Next term (Alt + F)" alt></a>
-</div>
-{{#each definitions}}
-{{#unless @first}}<hr>{{/unless}}
-{{> kanji debug=../debug addable=../addable root=../root}}
-{{/each}}
-{{else}}
-<p class="note">No results found</p>
-{{/if}}