summaryrefslogtreecommitdiff
path: root/tmpl/kanji.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-03 20:25:14 -0800
committerAlex Yatskov <alex@foosoft.net>2017-03-03 20:25:14 -0800
commitacb0bc2e9e9c7be173366f4c05f477bfdaaf8a01 (patch)
tree2e4de17abea5a0a76421cf65bda9782d2009fbee /tmpl/kanji.html
parentfaf13d696c874a0c546f5c862a2567032f423d09 (diff)
style fixes
Diffstat (limited to 'tmpl/kanji.html')
-rw-r--r--tmpl/kanji.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index 3f6d8084..43c57aed 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -1,14 +1,14 @@
{{#*inline "kanji"}}
-<div class="kanji-definition">
- <div class="action-bar">
+<p>
+ <div class="actions">
{{#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="glyph">{{character}}</div>
- <div class="kanji-reading">
+ <div class="reading">
<table>
<tr>
<th>Kunyomi:</th>
@@ -29,24 +29,24 @@
</table>
</div>
- <div class="kanji-tags">
+ <div>
{{#each tags}}
- <span class="tag tag-{{category}}" title="{{notes}}">{{name}}</span>
+ <span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span>
{{/each}}
</div>
- <div class="kanji-glossary">
+ <div class="glossary">
{{#if glossary.[1]}}
- <ol "kanji-glossary-group">
+ <ol>
{{#each glossary}}
- <li><span class="kanji-glossary-item">{{#multiLine}}{{.}}{{/multiLine}}</span></li>
+ <li><span class="glossary-item">{{#multiLine}}{{.}}{{/multiLine}}</span></li>
{{/each}}
</ol>
{{else}}
- <div class="kanji-glossary-group kanji-glossary-item">{{#multiLine}}{{glossary.[0]}}{{/multiLine}}</div>
+ <div class="glossary-item">{{#multiLine}}{{glossary.[0]}}{{/multiLine}}</div>
{{/if}}
</div>
-</div>
+</p>
{{/inline}}
{{#if definitions}}