# HG changeset patch # User Jan Kanis # Date 1404911834 -7200 # Node ID 7aa28753d7b37763619398f1bcbf1b23e9ebb2b8 # Parent e17aae23cc1c270604d083c33cf284f5f02750a2 create document-wide h1 header, put other headers one size down diff -r e17aae23cc1c -r 7aa28753d7b3 blast2html.html.jinja --- a/blast2html.html.jinja Wed Jul 09 15:04:37 2014 +0200 +++ b/blast2html.html.jinja Wed Jul 09 15:17:14 2014 +0200 @@ -41,17 +41,24 @@ } h1 { + font-size: 200%; + } + + h2 { + font-size: 150%; + } + + h1, h2 { border-bottom: 1px solid #CCCCCC; - font-size: 150%; padding-bottom: 0.1em; } - h2 { + h3 { font-size: 120%; font-weight: bold; } - h4.darkHeader { + h5.darkHeader { color: #4D4D4D; letter-spacing: 0; font-weight: bold; @@ -386,16 +393,6 @@
- {% if not blast.BlastOutput_iterations.findall('Iteration') %} -
-

No data

-
- No matches -
-
- - {% else %} -

Nucleotide Blast results

@@ -408,9 +405,19 @@
+ {% if not blast.BlastOutput_iterations.findall('Iteration') %} +
+

No data

+
+ No matches +
+
+ + {% else %} + {% if blast.BlastOutput_iterations.findall('Iteration') | length > 1 %}
-

Queries

+

Queries

{% for result in blast.BlastOutput_iterations.Iteration %}