# HG changeset patch # User Jan Kanis # Date 1400144739 -7200 # Node ID 6995a6f34f3f8e21021b3e60b3f157d27330f4cb # Parent efce16c98650c9eb9a9dd191f84c034a68a45e63 fix sectioning, add footer diff -r efce16c98650 -r 6995a6f34f3f blast2html.html.jinja --- a/blast2html.html.jinja Thu May 15 10:48:09 2014 +0200 +++ b/blast2html.html.jinja Thu May 15 11:05:39 2014 +0200 @@ -340,6 +340,15 @@ color: #222222; } + footer { + text-align: center; + color: #cccccc; + font-size: 70%; + margin-top: 1em; + } + footer :link { + color: #5588cc; + } @@ -394,7 +403,7 @@ {% for param, value in params %} - + {% endfor %}
{{param}}:{{value}}
{{param}}:{{value}}
@@ -585,10 +594,15 @@ {% endif %} + + {% endfor %} + {% endif %} - {% endfor %} - {% endif %} + + diff -r efce16c98650 -r 6995a6f34f3f blast2html.py --- a/blast2html.py Thu May 15 10:48:09 2014 +0200 +++ b/blast2html.py Thu May 15 11:05:39 2014 +0200 @@ -232,11 +232,10 @@ percent_multiplier = 100 / query_length for i in range(1, query_length+1): if i % skip == 0: - yield dict(label = i, width = skip * percent_multiplier, shorter = False\) + yield dict(label = i, width = skip * percent_multiplier) if query_length % skip != 0: yield dict(label = query_length, - width = (query_length % skip) * percent_multiplier, - shorter = True) + width = (query_length % skip) * percent_multiplier) @filter def hit_info(self, result):