From 0c27c95a9c55b82b2c7e5e90b885c87578e895d0 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sat, 27 Jul 2013 09:32:03 +0200 Subject: move templates to dedup package They cluttered webapp.py and now vim can give proper highlighting for the templates. --- dedup/templates/source.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dedup/templates/source.html (limited to 'dedup/templates/source.html') diff --git a/dedup/templates/source.html b/dedup/templates/source.html new file mode 100644 index 0000000..fc679b0 --- /dev/null +++ b/dedup/templates/source.html @@ -0,0 +1,15 @@ +{% extends "base.html" %} +{% block title %}overview of {{ source|e }}{% endblock %} +{% block content %} +

overview of {{ source|e }}

+ +{%- for package, sharing in packages.items() -%} + +{%- endfor -%} +
binary from {{ source|e }}savableother package
{{ package|e }} + {%- if sharing -%} + {{ sharing.savable|filesizeformat }}{{ sharing.package|e }} compare + {%- else -%}{%- endif -%} +
+

Note: Not all sharing listed here. Click on binary packages with non-zero savable to see more.

+{% endblock %} -- cgit v1.2.3