diff options
author | Helmut Grohne <helmut@subdivi.de> | 2013-07-27 09:32:03 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2013-07-27 09:32:03 +0200 |
commit | 0c27c95a9c55b82b2c7e5e90b885c87578e895d0 (patch) | |
tree | f7b501e59dc15764a84ef9758f5b597e497719cf /dedup/templates/hash.html | |
parent | 03e7e27b440917081369e797e09de975912cb68c (diff) | |
download | debian-dedup-0c27c95a9c55b82b2c7e5e90b885c87578e895d0.tar.gz |
move templates to dedup package
They cluttered webapp.py and now vim can give proper highlighting for
the templates.
Diffstat (limited to 'dedup/templates/hash.html')
-rw-r--r-- | dedup/templates/hash.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dedup/templates/hash.html b/dedup/templates/hash.html new file mode 100644 index 0000000..7141f96 --- /dev/null +++ b/dedup/templates/hash.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} +{% block title %}information on {{ function|e }} hash {{ hashvalue|e }}{% endblock %} +{% block content %} +<h1>{{ function|e }} {{ hashvalue|e }}</h1> +<table border='1'><tr><th>package</th><th>filename</th><th>size</th><th>different function</th></tr> +{%- for entry in entries -%} + <tr><td><a href="../../binary/{{ entry.package|e }}"><span class="binary-package">{{ entry.package|e }}</span></a></td> + <td><span class="filename">{{ entry.filename|e }}</span></td><td>{{ entry.size|filesizeformat }}</td> + <td>{% if function != entry.function %}{{ entry.function|e }}{% endif %}</td></tr> +{%- endfor -%} +</table> +{% endblock %} |