Mercurial > repos > jankanis > blast2html
annotate blast2html.html.jinja @ 111:7aa28753d7b3
create document-wide h1 header, put other headers one size down
author | Jan Kanis <jan.code@jankanis.nl> |
---|---|
date | Wed, 09 Jul 2014 15:17:14 +0200 |
parents | e17aae23cc1c |
children | 4c154760deba |
rev | line source |
---|---|
73
67b1a319c6dc
First go at 2.6 compatibility
Jan Kanis <jan.code@jankanis.nl>
parents:
67
diff
changeset
|
1 {# -*- coding: utf-8 -*- #} |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
2 <!DOCTYPE html> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
3 <html> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
4 <head> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
5 <meta charset="UTF-8"> |
33
3bb5da68305e
add test update script, add url to github page
Jan Kanis <jan.code@jankanis.nl>
parents:
27
diff
changeset
|
6 <meta name=generator content="blast2html; see https://github.com/thehyve/blast2html/"> |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
7 |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
8 <title>Blast output</title> |
16 | 9 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
10 <style> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
11 body { |
16 | 12 color: #333333; |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
13 font-family: Arial,Sans-Serif; |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
14 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
15 |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
16 :link { |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
17 color: #336699; |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
18 } |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
19 |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
20 .right { |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
21 float: right; |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
22 } |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
23 |
26
eee23a36c582
add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents:
24
diff
changeset
|
24 /* Galaxy with html sanitization enabled strips the header of this html page. If so, show the user a warning.*/ |
eee23a36c582
add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents:
24
diff
changeset
|
25 #strip_html_warning { |
eee23a36c582
add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents:
24
diff
changeset
|
26 display: none; |
eee23a36c582
add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents:
24
diff
changeset
|
27 } |
eee23a36c582
add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents:
24
diff
changeset
|
28 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
29 #content { |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
30 margin: 0 2em; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
31 padding: 0.5em; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
32 border: 1px solid #888888; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
33 background-color: #d3dff5; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
34 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
35 |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
36 h1, h2, h3, h4, h5, h6 { |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
37 color: #2A6979; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
38 font-family: arial,verdana,sans-serif; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
39 letter-spacing: -1px; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
40 margin: 1.2em 0 0.3em; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
41 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
42 |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
43 h1 { |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
44 font-size: 200%; |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
45 } |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
46 |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
47 h2 { |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
48 font-size: 150%; |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
49 } |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
50 |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
51 h1, h2 { |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
52 border-bottom: 1px solid #CCCCCC; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
53 padding-bottom: 0.1em; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
54 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
55 |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
56 h3 { |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
57 font-size: 120%; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
58 font-weight: bold; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
59 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
60 |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
61 h5.darkHeader { |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
62 color: #4D4D4D; |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
63 letter-spacing: 0; |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
64 font-weight: bold; |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
65 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
66 |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
67 #nodata { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
68 font-weight: bold; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
69 } |
20
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
70 |
21 | 71 .index { |
72 margin-bottom: 3em; | |
73 } | |
20
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
74 .index div.indexentry { |
21 | 75 margin: 1.2em 1.6em; |
20
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
76 font-weight: bold; |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
77 font-size: 100%; |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
78 } |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
79 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
80 .headerdata { |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
81 font-size: 90%; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
82 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
83 .headerdata .param { |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
84 font-weight: bold; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
85 text-align: right; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
86 padding: 0 1em; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
87 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
88 |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
89 .grey { |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
90 background-color: #eeeeee; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
91 border: 1px solid #cccccc; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
92 padding: 1em; |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
93 } |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
94 |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
95 .white { |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
96 background-color: white; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
97 border: 1px solid #cccccc; |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
98 padding: 1.5em 2%; |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
99 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
100 |
8 | 101 .graphicrow { |
102 clear: left; | |
103 width: 100%; | |
104 } | |
105 | |
106 .graphicitem { | |
107 float: left; | |
108 } | |
109 | |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
110 |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
111 |
16 | 112 .graphics .grey { |
113 text-align: center; | |
114 } | |
115 | |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
116 .graphic { |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
117 background-color: white; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
118 border: 2px solid black; |
20
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
119 padding: 1.5em; |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
120 margin: auto; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
121 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
122 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
123 .centered, .defline, div.legend, div.tablewrapper { |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
124 margin-left: auto; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
125 margin-right: auto; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
126 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
127 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
128 .defline { |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
129 background-color: white; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
130 border: 1px solid black; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
131 margin: .5em auto; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
132 padding-left: .2em; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
133 padding-right: .2em; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
134 max-width: 50em; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
135 text-align: left; |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
136 height: 2.8em; |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
137 overflow: hidden; |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
138 } |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
139 |
8 | 140 div.legend { |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
141 max-width: 40em; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
142 } |
8 | 143 div.legend div { |
144 width: 100%; | |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
145 color: white; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
146 font-weight: bold; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
147 border-spacing: 0; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
148 } |
8 | 149 div.legend div .graphicitem { |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
150 width: 20%; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
151 padding: 0; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
152 margin: 0; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
153 border: none; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
154 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
155 |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
156 div.tablewrapper { |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
157 width: 50%; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
158 min-width: 60em; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
159 } |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
160 |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
161 /* For small widths we give the graphic 100% */ |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
162 @media (max-width: 72.5em) { |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
163 div.tablewrapper { |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
164 width: 100%; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
165 min-width: 0px; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
166 } |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
167 } |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
168 |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
169 .scale { |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
170 width: 100%; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
171 margin: .5em 0; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
172 font-weight: bold; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
173 } |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
174 .scale div { |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
175 color: red; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
176 text-align: left; |
6 | 177 } |
8 | 178 .scale .graphicrow { |
179 margin: .5em 0 .5em 0; | |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
180 color: white; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
181 } |
20
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
182 .scale .graphicitem { |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
183 position: relative; |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
184 } |
8 | 185 .scale .graphicitem div { |
186 margin: 0 1px; | |
187 padding: 0 2px; | |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
188 text-align: right; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
189 background-color: red; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
190 color: white; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
191 } |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
192 .scale .graphicitem:first-child div { |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
193 margin-left: 0px; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
194 } |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
195 .scale .graphicitem:last-child div { |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
196 margin-right: 0px; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
197 } |
20
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
198 .scale .graphicitem .lastlabel { |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
199 position: absolute; |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
200 top: 0px; |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
201 left: 100%; |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
202 background-color: transparent; |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
203 color: red; |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
204 } |
8 | 205 |
206 a.matchresult { | |
207 display: block; | |
208 margin: 0; | |
209 padding: 0; | |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
210 } |
8 | 211 div.matchrow { |
212 margin-top: 4px; | |
6 | 213 } |
8 | 214 div.matchrow, div.matchitem { |
215 height: 4px; | |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
216 } |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
217 |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
218 |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
219 table.descriptiontable { |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
220 font-size: 85%; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
221 border: 1px solid #97b0c8; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
222 border-spacing: 0; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
223 color: #222222; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
224 line-height: 1.3em; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
225 background-color: white; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
226 } |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
227 table.descriptiontable col:first-child { |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
228 width: 100%; |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
229 } |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
230 table.descriptiontable tr:hover { |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
231 background-color: #D5DEE3; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
232 } |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
233 table.descriptiontable th { |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
234 color: #14376C; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
235 font-weight: normal; |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
236 background-color: #F0F0F0; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
237 background: linear-gradient(#FFFFFF, #F0F0F0); |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
238 border-bottom: 1px solid #D4DFE9; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
239 border-right: 1px solid #CFCFCF; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
240 border-left: 0px solid black; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
241 border-top: 0px solid black; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
242 } |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
243 table.descriptiontable td { |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
244 overflow: hidden; |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
245 text-align: center; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
246 padding: .4em .8em; |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
247 } |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
248 table.descriptiontable td div { |
9 | 249 width: 1em; |
250 overflow: visible; | |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
251 white-space: nowrap; |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
252 text-align: left; |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
253 } |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
254 |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
255 |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
256 |
17 | 257 .alignments .white { |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
258 padding: 1.5em 1em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
259 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
260 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
261 .alignment { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
262 border-top: 1px solid black; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
263 padding-left: 1em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
264 padding-right: 1em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
265 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
266 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
267 div.linkheader { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
268 padding-top: .2em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
269 font-size: 85%; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
270 color: #14376C; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
271 } |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
272 div.linkheader a.linkheader { |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
273 margin-right: 1em; |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
274 } |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
275 div.linkheader .right a { |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
276 text-decoration: none; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
277 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
278 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
279 .title .hittitle { |
16 | 280 color: #222222; |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
281 margin-bottom: .3em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
282 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
283 .title .titleinfo { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
284 font-size: 80%; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
285 margin-top: 0; |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
286 margin-bottom: .3em; |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
287 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
288 .title .titleinfo .b { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
289 color: #606060; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
290 font-weight: bold; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
291 font-size: 90%; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
292 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
293 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
294 .moretitles { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
295 margin: 1.2em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
296 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
297 .moretitles .titleinfo { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
298 margin: 0; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
299 padding: 0; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
300 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
301 .moretitles .hittitle { |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
302 margin: .4em 0 .2em 0; |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
303 padding: 0; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
304 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
305 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
306 a.showmoretitles { |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
307 font-size: 75%; |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
308 color: #336699; |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
309 font-weight: bold; |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
310 margin-top: 0; |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
311 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
312 a.showmoretitles:hover { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
313 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
314 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
315 .hotspot { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
316 color: #606060; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
317 font-family: verdana, arial, sans-serif; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
318 margin-bottom: 2.5em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
319 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
320 |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
321 .hotspot p.range { |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
322 font-size: 70%; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
323 margin-top: 0; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
324 margin-top: 1em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
325 margin-bottom: .2em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
326 } |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
327 .hotspot p.range span.range { |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
328 font-weight: bold; |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
329 } |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
330 .hotspot p.range a.range { |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
331 margin-left: .5em; |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
332 } |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
333 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
334 table.hotspotstable { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
335 border-top: 1px solid; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
336 border-bottom: 1px solid; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
337 text-align: left; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
338 border-collapse: collapse; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
339 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
340 table.hotspotstable th, table.hotspotstable td { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
341 padding: .1em 1em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
342 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
343 table.hotspotstable th { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
344 font-size: 70%; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
345 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
346 table.hotspotstable td { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
347 min-width: 7em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
348 color: #222222; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
349 font-size: 80%; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
350 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
351 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
352 pre.alignmentgraphic { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
353 color: #222222; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
354 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
355 |
23 | 356 footer { |
357 text-align: center; | |
358 color: #cccccc; | |
359 font-size: 70%; | |
360 margin-top: 1em; | |
361 } | |
362 footer :link { | |
363 color: #5588cc; | |
364 } | |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
365 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
366 </style> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
367 |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
368 <script type="text/javascript"> |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
369 function toggle_visibility(id) { |
16 | 370 var e = document.getElementById(id); |
371 if(e.style.display != 'block') | |
372 e.style.display = 'block'; | |
373 else | |
374 e.style.display = 'none'; | |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
375 } |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
376 </script> |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
377 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
378 </head> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
379 |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
380 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
381 <body> |
27
4e6ac737ba17
improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents:
26
diff
changeset
|
382 |
4e6ac737ba17
improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents:
26
diff
changeset
|
383 <div id="strip_html_warning"> |
4e6ac737ba17
improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents:
26
diff
changeset
|
384 <!-- This div should be hidden by the header css block. Galaxy |
4e6ac737ba17
improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents:
26
diff
changeset
|
385 strips all css, breaking this page but making this warning |
4e6ac737ba17
improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents:
26
diff
changeset
|
386 visible. This warning contains some ugly old skool tabular html |
4e6ac737ba17
improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents:
26
diff
changeset
|
387 layout that is not stripped. --> |
4e6ac737ba17
improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents:
26
diff
changeset
|
388 <table bgcolor="#FFE5C9"><tr><td><font color="red"><b> |
4e6ac737ba17
improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents:
26
diff
changeset
|
389 <font size=5><center>This html page seems to have been stripped by Galaxy.</center></font> |
4e6ac737ba17
improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents:
26
diff
changeset
|
390 Disable Galaxy's html sanitization feature to view the full page (see <font face=monospace>sanitize_all_html</font> in your galaxy's universe_wsgi.ini), or download this page instead of viewing it in Galaxy. |
4e6ac737ba17
improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents:
26
diff
changeset
|
391 </b></font></td></tr></table> |
26
eee23a36c582
add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents:
24
diff
changeset
|
392 </div> |
eee23a36c582
add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents:
24
diff
changeset
|
393 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
394 <div id=content> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
395 |
110
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
396 <section class=header> |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
397 |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
398 <h1>Nucleotide Blast results</h1> |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
399 |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
400 <table class=headerdata> |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
401 {% for param, value in params %} |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
402 <tr><td class=param>{{param}}:</td><td>{{value}}</td></tr> |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
403 {% endfor %} |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
404 </table> |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
405 |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
406 </section> |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
407 |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
408 {% if not blast.BlastOutput_iterations.findall('Iteration') %} |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
409 <section class=nodata> |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
410 <h2>No data</h2> |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
411 <div class=grey> |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
412 No matches |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
413 </div> |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
414 </section> |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
415 |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
416 {% else %} |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
417 |
20
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
418 {% if blast.BlastOutput_iterations.findall('Iteration') | length > 1 %} |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
419 <section class=index> |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
420 <h2>Queries</h2> |
20
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
421 |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
422 {% for result in blast.BlastOutput_iterations.Iteration %} |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
423 <div class=indexentry><a href="#match{{result|nodeid}}"> |
20
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
424 {% set hits = result|hits %} |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
425 {{result['Iteration_query-ID']}}: {{result['Iteration_query-def']}} |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
426 ({{result|len}} letters, {{hits|length}} hits) |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
427 </a></div> |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
428 {% endfor %} |
21 | 429 |
20
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
430 </section> |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
431 {% endif %} |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
432 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
433 {% for result in blast.BlastOutput_iterations.Iteration %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
434 |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
435 <section class=match id=match{{result|nodeid}}> |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
436 |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
437 <h2>Nucleotide Sequence ({{result|len}} letters)</h2> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
438 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
439 <section class=header> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
440 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
441 <table class=headerdata> |
110
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
442 {% for param, value in result|params %} |
23 | 443 <tr><td class=param>{{param}}:</td><td>{{value}}</td></tr> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
444 {% endfor %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
445 </table> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
446 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
447 </section> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
448 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
449 {% set hits = result|hits %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
450 {% if not hits %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
451 <section> |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
452 <h3>No Hits</h3> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
453 <div class=grey> |
24
c8347745bbad
use Iteration_message tag; also work with unexpected Hit_id values
Jan Kanis <jan.code@jankanis.nl>
parents:
23
diff
changeset
|
454 <table class=headerdata> |
c8347745bbad
use Iteration_message tag; also work with unexpected Hit_id values
Jan Kanis <jan.code@jankanis.nl>
parents:
23
diff
changeset
|
455 <tr><td class=param>Message:</td><td>{{result.Iteration_message}}</td></tr> |
c8347745bbad
use Iteration_message tag; also work with unexpected Hit_id values
Jan Kanis <jan.code@jankanis.nl>
parents:
23
diff
changeset
|
456 </table> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
457 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
458 </section> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
459 {% else %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
460 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
461 <section class=graphics> |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
462 <h3>Graphic Summary</h3> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
463 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
464 <div class=grey> |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
465 <h4 class=centered>Distribution of {{result|length}} Blast Hits on the Query Sequence</h4> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
466 |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
467 <div class=defline id=defline{{result|nodeid}}> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
468 Mouse-over to show defline and scores, click to show alignments |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
469 </div> |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
470 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
471 <div class=graphic> |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
472 <h5 class=darkHeader>Color key for alignment scores</h5> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
473 <div class=legend><div class=graphicrow> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
474 <div class=graphicitem style="background-color: {{colors[0]}}"><40</div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
475 <div class=graphicitem style="background-color: {{colors[1]}}">40–50</div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
476 <div class=graphicitem style="background-color: {{colors[2]}}">50–80</div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
477 <div class=graphicitem style="background-color: {{colors[3]}}">80–200</div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
478 <div class=graphicitem style="background-color: {{colors[4]}}">200≤</div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
479 </div></div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
480 <div style="clear: left"></div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
481 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
482 <div class=tablewrapper> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
483 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
484 <div class=scale> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
485 <div>query:</div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
486 <div class=graphicrow> |
20
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
487 <div> |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
488 {% for s in result|queryscale %} |
76
7d0d46168fd5
Format all numbers in a predictable way
Jan Kanis <jan.code@jankanis.nl>
parents:
75
diff
changeset
|
489 <div class=graphicitem style="width: {{s.width|numfmt}}%"> |
20
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
490 {% if s.width > 3.0 %} |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
491 <div>{{s.label}}</div> |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
492 {% else %} |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
493 <div> </div> |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
494 <div class=lastlabel>{{s.label}}</div> |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
495 {% endif %} |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
496 </div> |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
497 {% endfor %} |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
498 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
499 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
500 <div style="clear: left"></div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
501 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
502 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
503 {% for line in result|match_colors %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
504 <a class=matchresult |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
505 href="#hit{{line.hit|nodeid}}" |
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
506 onmouseover='document.getElementById("defline{{result|nodeid}}").innerHTML="{{line.defline|js_string_escape}}"' |
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
507 onmouseout='document.getElementById("defline{{result|nodeid}}").innerHTML="Mouse-over to show defline and scores, click to show alignments"' |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
508 title="{{line.defline}}"> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
509 <div class="matchrow graphicrow"> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
510 {% for hit in line.colors %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
511 <div class="matchitem graphicitem" |
76
7d0d46168fd5
Format all numbers in a predictable way
Jan Kanis <jan.code@jankanis.nl>
parents:
75
diff
changeset
|
512 style="background-color: {{hit[1]}}; width: {{hit[0]|numfmt}}%"></div> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
513 {% endfor %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
514 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
515 </a> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
516 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
517 {% endfor %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
518 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
519 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
520 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
521 </section> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
522 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
523 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
524 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
525 <section class=descriptions> |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
526 <h3>Descriptions</h3> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
527 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
528 <div class=grey><div class=white> |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
529 <h5 class=darkHeader>Sequences producing significant alignments:</h5> |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
530 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
531 <table class=descriptiontable> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
532 <col/><col/><col/><col/><col/><col/><col/> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
533 <tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
534 <th>Description</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
535 <th>Max score</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
536 <th>Total score</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
537 <th>Query cover</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
538 <th>E value</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
539 <th>Ident</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
540 <th>Accession</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
541 </tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
542 {% for hit in result|hit_info %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
543 <tr> |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
544 <td><div><a href="#hit{{hit.hit|nodeid}}" |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
545 title="{{hit.title}}" |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
546 id="description{{hit.hit|nodeid}}"> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
547 {{hit.title}} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
548 </a></div></td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
549 <td>{{hit.maxscore}}</td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
550 <td>{{hit.totalscore}}</td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
551 <td>{{hit.cover}}</td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
552 <td>{{hit.e_value}}</td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
553 <td>{{hit.ident}}</td> |
95
4378d11f0ed7
implement configurable gene bank links
Jan Kanis <jan.code@jankanis.nl>
parents:
76
diff
changeset
|
554 <td>{{hit.hit|genelink(hit.hit.Hit_accession)}}</td> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
555 </tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
556 {% endfor %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
557 </table> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
558 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
559 </div></div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
560 </section> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
561 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
562 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
563 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
564 <section class=alignments> |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
565 <h3>Alignments</h3> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
566 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
567 <div class=grey><div class=white> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
568 {% for hit in hits %} |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
569 <div class=alignment id=hit{{hit|nodeid}}> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
570 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
571 <div class=linkheader> |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
572 <div class=right><a href="#description{{hit|nodeid}}">Descriptions</a></div> |
95
4378d11f0ed7
implement configurable gene bank links
Jan Kanis <jan.code@jankanis.nl>
parents:
76
diff
changeset
|
573 {{ hit|genelink('Gene Bank', clas='linkheader', display_nolink=False) }} |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
574 </div> |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
575 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
576 <div class=title> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
577 <p class=hittitle>{{hit|firsttitle}}</p> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
578 <p class=titleinfo> |
95
4378d11f0ed7
implement configurable gene bank links
Jan Kanis <jan.code@jankanis.nl>
parents:
76
diff
changeset
|
579 <span class=b>Sequence ID:</span> {{ hit|genelink }} |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
580 <span class=b>Length:</span> {{hit.Hit_len}} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
581 <span class=b>Number of Matches:</span> {{hit.Hit_hsps.Hsp|length}} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
582 </p> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
583 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
584 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
585 {% if hit|othertitles|length %} |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
586 <a class=showmoretitles onclick="toggle_visibility('moretitles{{hit|nodeid|js_string_escape}}'); return false;" href=''> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
587 See {{hit|othertitles|length}} more title(s) |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
588 </a> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
589 |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
590 <div class=moretitles id=moretitles{{hit|nodeid}} style="display: none"> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
591 {% for title in hit|othertitles %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
592 <div class=title> |
96 | 593 <p class=hittitle>{{title.Hit_def}}</p> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
594 <p class=titleinfo> |
95
4378d11f0ed7
implement configurable gene bank links
Jan Kanis <jan.code@jankanis.nl>
parents:
76
diff
changeset
|
595 <span class=b>Sequence ID:</span> {{ title|genelink }} |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
596 </p> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
597 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
598 {% endfor %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
599 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
600 {% endif %} |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
601 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
602 {% for hsp in hit.Hit_hsps.Hsp %} |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
603 <div class=hotspot id=hotspot{{hsp|nodeid}}> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
604 <p class=range> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
605 <span class=range>Range {{hsp.Hsp_num}}: {{hsp['Hsp_hit-from']}} to {{hsp['Hsp_hit-to']}}</span> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
606 </p> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
607 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
608 <table class=hotspotstable> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
609 <tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
610 <th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
611 </tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
612 <tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
613 <td>{{hsp['Hsp_bit-score']|fmt('.1f')}} bits({{hsp.Hsp_score}})</td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
614 <td>{{hsp.Hsp_evalue|fmt('.1f')}}</td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
615 <td>{{ hsp.Hsp_identity }}/{{ hsp|len }}({{ |
75 | 616 ((hsp.Hsp_identity|float)/hsp|len) | fmt('.0%') }})</td> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
617 <td>{{ hsp.Hsp_gaps }}/{{ hsp|len |
75 | 618 }}({{ ((hsp.Hsp_gaps|float) / hsp|len) | fmt('.0%') }})</td> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
619 <td>{{ hsp['Hsp_query-frame']|asframe }}/{{ hsp['Hsp_hit-frame']|asframe }}</td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
620 </tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
621 </table> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
622 |
67
19c48f2ec775
wrap alignments if they are too long
Jan Kanis <jan.code@jankanis.nl>
parents:
53
diff
changeset
|
623 {% for alignment_line in hsp|alignment_pre %} |
19c48f2ec775
wrap alignments if they are too long
Jan Kanis <jan.code@jankanis.nl>
parents:
53
diff
changeset
|
624 <pre class=alignmentgraphic>{{alignment_line}}</pre> |
19c48f2ec775
wrap alignments if they are too long
Jan Kanis <jan.code@jankanis.nl>
parents:
53
diff
changeset
|
625 {% endfor %} |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
626 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
627 {% endfor %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
628 |
16 | 629 </div> |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
630 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
631 {% endfor %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
632 </div></div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
633 </section> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
634 {% endif %} |
23 | 635 </section> |
636 {% endfor %} | |
637 {% endif %} | |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
638 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
639 </div> |
23 | 640 |
641 <footer> | |
33
3bb5da68305e
add test update script, add url to github page
Jan Kanis <jan.code@jankanis.nl>
parents:
27
diff
changeset
|
642 This page was generated by <a href="https://github.com/thehyve/blast2html/">blast2html</a>. |
23 | 643 </footer> |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
644 </body> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
645 </html> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
646 |
16 | 647 {# |
648 Local Variables: | |
649 tab-width: 2 | |
650 indent-tabs-mode: nil | |
651 End: | |
652 #} |