diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-01-08 22:44:13 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-01-08 22:44:13 -0800 |
commit | 60e23ab42c86fbc74a6e16d6fd29fcc6761bfb36 (patch) | |
tree | cfc270d272270bcada3b9799959553a967c73193 /tmpl/kanji.html | |
parent | 3b83f8b7fef9978b79517aeda95fa89de071ba54 (diff) |
simplify templates
Diffstat (limited to 'tmpl/kanji.html')
-rw-r--r-- | tmpl/kanji.html | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html deleted file mode 100644 index bb4ce61f..00000000 --- a/tmpl/kanji.html +++ /dev/null @@ -1,48 +0,0 @@ -<div class="kanji-definition"> - <div class="action-bar"> - {{#if addable}} - <a href="#" title="Add Kanji" class="action-add-note pending disabled" data-mode="kanji" data-index="{{@index}}"><img src="img/add_kanji.png"></a> - {{/if}} - </div> - - <div class="kanji-glyph">{{character}}</div> - - <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> - - <div class="kanji-tags"> - {{#each tags}} - <span class="tag tag-{{category}}" title="{{notes}}">{{name}}</span> - {{/each}} - </div> - - <div class="kanji-glossary"> - {{#if glossary.[1]}} - <ol "kanji-glossary-group"> - {{#each glossary}} - <li><span class="kanji-glossary-item">{{.}}</span></li> - {{/each}} - </ol> - {{else}} - <div class="kanji-glossary-group kanji-glossary-item">{{glossary.[0]}}</div> - {{/if}} - </div> -</div> |