aboutsummaryrefslogtreecommitdiff
path: root/util/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-07 13:43:32 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-07 13:43:32 -0700
commit9b9985bd4ba810d5a4e985100c68c544df9bccaf (patch)
tree7d5ac749aa12a1a113a74731b33d81cbd960d91c /util/tmpl
parent8c1ebe6bcbc3511231c60133cd54722ae97e43ee (diff)
Improvements
Diffstat (limited to 'util/tmpl')
-rw-r--r--util/tmpl/kanji.html4
-rw-r--r--util/tmpl/term.html4
2 files changed, 5 insertions, 3 deletions
diff --git a/util/tmpl/kanji.html b/util/tmpl/kanji.html
index 2b195577..7a5affb7 100644
--- a/util/tmpl/kanji.html
+++ b/util/tmpl/kanji.html
@@ -1,7 +1,9 @@
<div class="kanji-definition">
{{#with options}}
{{#if enableAnkiConnect}}
- <a href="#" title="Add Kanji" class="action-link disabled" data-sequence="{{../sequence}}" data-mode="kanji" data-index="{{@index}}"><img src="{{../root}}/add_kanji.png"></a>
+ <div class="action-bar">
+ <a href="#" title="Add Kanji" class="action-link disabled" data-sequence="{{../sequence}}" data-mode="kanji" data-index="{{@index}}"><img src="{{../root}}/img/add_kanji.png"></a>
+ </div>
{{/if}}
{{/with}}
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
index 4d764f0a..216ccf0a 100644
--- a/util/tmpl/term.html
+++ b/util/tmpl/term.html
@@ -2,8 +2,8 @@
{{#with options}}
{{#if enableAnkiConnect}}
<div class="action-bar">
- <a href="#" title="Add 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 as reading" class="action-link disabled" data-sequence="{{../sequence}}" data-mode="vocabReading" data-index="{{@index}}"><img src="{{../root}}/img/add_reading.png"></a>
+ <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}}