diff options
author | Helmut Grohne <helmut@subdivi.de> | 2013-04-25 14:10:18 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2013-04-25 14:10:18 +0200 |
commit | a241ae82ae98b5e94215a62a7d8d39e003012f27 (patch) | |
tree | ddfc02b445522f050a56a5f346219331c9541d80 | |
parent | a463f39d0cfa0a692191154bb323d9e41c21c444 (diff) | |
download | debian-dedup-a241ae82ae98b5e94215a62a7d8d39e003012f27.tar.gz |
webapp: turn the <br> after filename into a style
-rw-r--r-- | static/style.css | 3 | ||||
-rwxr-xr-x | webapp.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css index b6032a5..34d069a 100644 --- a/static/style.css +++ b/static/style.css @@ -4,3 +4,6 @@ td { vertical-align: top; } +.filename { + display: block; +} @@ -79,7 +79,7 @@ detail_template = jinjaenv.from_string( <tr><th>size</th><th>filename</th><th>hash functions</th><th>filename</th></tr> {%- for entry in shared -%} <tr><td rowspan={{ entry.matches|length }}>{{ entry.size|format_size }}</td><td rowspan={{ entry.matches|length }}> - {%- for filename in entry.filenames %}<span class="filename">{{ filename|e }}</span>{% if not loop.last %}<br>{% endif %}{% endfor -%}</td><td> + {%- for filename in entry.filenames %}<span class="filename">{{ filename|e }}</span>{% endfor -%}</td><td> {% for filename, match in entry.matches.items() -%} {% if not loop.first %}<tr><td>{% endif -%} {%- for funccomb, hashvalue in match.items() -%} |