summaryrefslogtreecommitdiff
path: root/tmpl/kanji.html
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/kanji.html')
-rw-r--r--tmpl/kanji.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index c3064526..bbc0fc9d 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -20,9 +20,6 @@ No data found
<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}}
- {{#if source}}
- <a href="#" class="source-term"><img src="/mixed/img/source-term.svg" title="Source term (Alt + B)" alt></a>
- {{/if}}
<img src="/mixed/img/entry-current.svg" class="current" title="Current entry (Alt + Up/Down/Home/End/PgUp/PgDn)" alt>
</div>
@@ -91,9 +88,13 @@ No data found
{{/inline}}
{{#if definitions}}
+<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 next}}class="next-term"{{else}}class="next-term term-button-fade"{{/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 source=../source root=../root}}
+{{> kanji debug=../debug addable=../addable root=../root}}
{{/each}}
{{else}}
<p class="note">No results found</p>