Show parameters for thumbnail as table.

This commit is contained in:
2018-10-11 19:01:48 -07:00
parent 67ba66bdf7
commit fa7d79b112
3 changed files with 46 additions and 8 deletions

View File

@@ -14,7 +14,13 @@
<a href="{{ np.big_url()|safe }}">
<img width="{{ np.width }}" height="{{ np.height }}" src="{{ np.url()|safe }}"/>
</a>
<figcaption>{{ np.compact_string() }}</figcaption>
<figcaption>
<table>
{% for p in np.noise.parameters() %}
<tr><th>{{ p.0 }}</th><td>{{ p.1 }}</td></tr>
{% endfor %}
</table>
</figcaption>
</figure>
{% endfor %}
{% endfor %}

View File

@@ -5,6 +5,11 @@ figure p {
figure {
display: inline-block;
margin: 0.25em;
text-align: center;
font-size: smaller;
text-align: left;
line-height: .75em;
}
figure table tr th {
font-weight: bold;
}