diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-01-08 19:03:48 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-01-08 19:03:48 -0800 |
commit | 3b83f8b7fef9978b79517aeda95fa89de071ba54 (patch) | |
tree | 39ee9396b1d305ec794d7069a97211d0aa534ede /tmpl/kanji.html | |
parent | 67ca7adc4cabb79a87b51ebd9b112e641de31af9 (diff) |
styling
Diffstat (limited to 'tmpl/kanji.html')
-rw-r--r-- | tmpl/kanji.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html index a14fff78..bb4ce61f 100644 --- a/tmpl/kanji.html +++ b/tmpl/kanji.html @@ -1,7 +1,7 @@ <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> + <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> @@ -13,7 +13,7 @@ <th>Kunyomi:</th> <td> {{#each kunyomi}} - {{.}}{{#unless @last}}, {{/unless}} + {{.}}{{#unless @last}}, {{/unless}} {{/each}} </td> </tr> @@ -21,7 +21,7 @@ <th>Onyomi:</th> <td> {{#each onyomi}} - {{.}}{{#unless @last}}, {{/unless}} + {{.}}{{#unless @last}}, {{/unless}} {{/each}} </td> </tr> @@ -30,19 +30,19 @@ <div class="kanji-tags"> {{#each tags}} - <span class="tag tag-{{category}}" title="{{notes}}">{{name}}</span> + <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> + <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> + <div class="kanji-glossary-group kanji-glossary-item">{{glossary.[0]}}</div> {{/if}} </div> </div> |