summaryrefslogtreecommitdiff
path: root/webapp.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2013-04-25 09:33:03 +0200
committerHelmut Grohne <helmut@subdivi.de>2013-04-25 09:33:03 +0200
commita5512dcc709709adb00a989abd449bcdab6646b7 (patch)
treee027a55e738d11a58e3974d16bcdab3976b159f2 /webapp.py
parent2574c8e5d55371fed220b00ff6d1c1bc29b21e98 (diff)
downloaddebian-dedup-a5512dcc709709adb00a989abd449bcdab6646b7.tar.gz
webapp: top-align fields in /compare pages
Suggested by Paul Wise.
Diffstat (limited to 'webapp.py')
-rwxr-xr-xwebapp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/webapp.py b/webapp.py
index f4f2bc2..d5aa617 100755
--- a/webapp.py
+++ b/webapp.py
@@ -72,6 +72,7 @@ package_template = jinjaenv.from_string(
detail_template = jinjaenv.from_string(
"""{% extends "base.html" %}
{% block title %}sharing between {{ details1.package|e }} and {{ details2.package|e }}{% endblock%}
+{% block header %}<style type="text/css">td { vertical-align: top; } </style>{% endblock %}
{% block content %}
<h1><a href="../../binary/{{ details1.package|e }}">{{ details1.package|e }}</a> &lt;-&gt; <a href="../../binary/{{ details2.package|e }}">{{ details2.package|e }}</a></h1>
<table border='1'><tr><th colspan="2">{{ details1.package|e }}</th><th colspan="2">{{ details2.package|e }}</th></tr>