summaryrefslogtreecommitdiff
path: root/util/tmpl/term.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-08 12:01:43 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-08 12:01:43 -0700
commit14ecb8f32831ef4747adef1de1af658dc7d4b298 (patch)
treeb3b765ef282b15dd31336ec7ab326a34510ea4c0 /util/tmpl/term.html
parent449ffc260a94cda0aca8edf33cf105378840effb (diff)
File reorg
Diffstat (limited to 'util/tmpl/term.html')
-rw-r--r--util/tmpl/term.html40
1 files changed, 0 insertions, 40 deletions
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
deleted file mode 100644
index 216ccf0a..00000000
--- a/util/tmpl/term.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<div class="term-definition">
- {{#with options}}
- {{#if enableAnkiConnect}}
- <div class="action-bar">
- <a href="#" title="Add term as expression" class="action-link disabled" data-sequence="{{../sequence}}" data-mode="vocabExp" data-index="{{@index}}"><img src="{{../root}}/img/add_expression.png"></a>
- <a href="#" title="Add term as reading" class="action-link disabled" data-sequence="{{../sequence}}" data-mode="vocabReading" data-index="{{@index}}"><img src="{{../root}}/img/add_reading.png"></a>
- </div>
- {{/if}}
- {{/with}}
-
- {{#if reading}}
- <div class="term-expression"><ruby>{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}<rt>{{reading}}</rt></ruby></div>
- {{else}}
- <div class="term-expression">{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}</div>
- {{/if}}
-
- {{#if rules}}
- <div class="term-rules">
- {{#each rules}}
- <span class="rule">{{.}}</span> {{#unless @last}}&laquo;{{/unless}}
- {{/each}}
- </div>
- {{/if}}
-
- {{#if tags}}
- <div class="term-tags">
- {{#each tags}}
- <span class="tag tag-{{class}}" title="{{desc}}">{{name}}</span>
- {{/each}}
- </div>
- {{/if}}
-
- <div class="term-glossary">
- <ol>
- {{#each glossary}}
- <li><span>{{.}}</span></li>
- {{/each}}
- </ol>
- </div>
-</div>