summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/bg/js/templates.js2
-rw-r--r--ext/mixed/css/display.css4
-rw-r--r--tmpl/kanji.html4
3 files changed, 6 insertions, 4 deletions
diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js
index 5d9bcf3c..70af31ea 100644
--- a/ext/bg/js/templates.js
+++ b/ext/bg/js/templates.js
@@ -31,7 +31,7 @@ templates['kanji.html'] = template({"1":function(container,depth0,helpers,partia
+ container.escapeExpression(((helper = (helper = helpers.character || (depth0 != null ? depth0.character : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"character","hash":{},"data":data}) : helper)))
+ "</div>\n\n <div>\n"
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.tags : depth0),{"name":"each","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
- + " </div>\n\n <br>\n\n <table class=\"table table-condensed\">\n <tr>\n <th>Readings</th>\n <th>Glossary</th>\n <th>Statistics</th>\n </tr>\n <tr>\n <td class=\"reading\">\n"
+ + " </div>\n\n <table class=\"table table-condensed glyph-data\">\n <tr>\n <th>Readings</th>\n <th>Glossary</th>\n <th>Statistics</th>\n </tr>\n <tr>\n <td class=\"reading\">\n"
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.kunyomi : depth0),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.onyomi : depth0),{"name":"if","hash":{},"fn":container.program(11, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " </td>\n <td class=\"glossary\">\n"
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index 6c7148dc..92480bab 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -148,3 +148,7 @@ hr {
padding: 0.01em;
vertical-align: top;
}
+
+.glyph-data {
+ margin-top: 10px;
+}
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index 4eb53048..f66b707e 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -19,9 +19,7 @@
{{/each}}
</div>
- <br>
-
- <table class="table table-condensed">
+ <table class="table table-condensed glyph-data">
<tr>
<th>Readings</th>
<th>Glossary</th>