Mercurial > repos > jankanis > blast2html
annotate blast2html.html.jinja @ 115:0c2a03f9740b
make external gene bank name configurable
author | Jan Kanis <jan.code@jankanis.nl> |
---|---|
date | Mon, 14 Jul 2014 15:01:32 +0200 |
parents | 5d3840a1635e |
children | 7f3f8c10f44b |
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; |
113 | 65 font-size: 108%; |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
66 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
67 |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
68 #nodata { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
69 font-weight: bold; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
70 } |
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
|
71 |
21 | 72 .index { |
73 margin-bottom: 3em; | |
74 } | |
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
|
75 .index div.indexentry { |
21 | 76 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
|
77 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
|
78 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
|
79 } |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
80 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
81 .headerdata { |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
82 font-size: 90%; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
83 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
84 .headerdata .param { |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
85 font-weight: bold; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
86 text-align: right; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
87 padding: 0 1em; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
88 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
89 |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
90 .grey { |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
91 background-color: #eeeeee; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
92 border: 1px solid #cccccc; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
93 padding: 1em; |
7
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 |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
96 .white { |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
97 background-color: white; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
98 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
|
99 padding: 1.5em 2%; |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
100 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
101 |
8 | 102 .graphicrow { |
103 clear: left; | |
104 width: 100%; | |
105 } | |
106 | |
107 .graphicitem { | |
108 float: left; | |
109 } | |
110 | |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
111 |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
112 |
16 | 113 .graphics .grey { |
114 text-align: center; | |
115 } | |
116 | |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
117 .graphic { |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
118 background-color: white; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
119 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
|
120 padding: 1.5em; |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
121 margin: auto; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
122 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
123 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
124 .centered, .defline, div.legend, div.tablewrapper { |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
125 margin-left: auto; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
126 margin-right: auto; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
127 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
128 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
129 .defline { |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
130 background-color: white; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
131 border: 1px solid black; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
132 margin: .5em auto; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
133 padding-left: .2em; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
134 padding-right: .2em; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
135 max-width: 50em; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
136 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
|
137 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
|
138 overflow: hidden; |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
139 } |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
140 |
8 | 141 div.legend { |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
142 max-width: 40em; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
143 } |
8 | 144 div.legend div { |
145 width: 100%; | |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
146 color: white; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
147 font-weight: bold; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
148 border-spacing: 0; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
149 } |
8 | 150 div.legend div .graphicitem { |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
151 width: 20%; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
152 padding: 0; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
153 margin: 0; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
154 border: none; |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
155 } |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
156 |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
157 div.tablewrapper { |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
158 width: 50%; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
159 min-width: 60em; |
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 |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
162 /* 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
|
163 @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
|
164 div.tablewrapper { |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
165 width: 100%; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
166 min-width: 0px; |
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 |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
170 .scale { |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
171 width: 100%; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
172 margin: .5em 0; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
173 font-weight: bold; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
174 } |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
175 .scale div { |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
176 color: red; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
177 text-align: left; |
6 | 178 } |
8 | 179 .scale .graphicrow { |
180 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
|
181 color: white; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
182 } |
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
|
183 .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
|
184 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
|
185 } |
8 | 186 .scale .graphicitem div { |
187 margin: 0 1px; | |
188 padding: 0 2px; | |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
189 text-align: right; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
190 background-color: red; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
191 color: white; |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
192 } |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
193 .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
|
194 margin-left: 0px; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
195 } |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
196 .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
|
197 margin-right: 0px; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
198 } |
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
|
199 .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
|
200 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
|
201 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
|
202 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
|
203 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
|
204 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
|
205 } |
8 | 206 |
207 a.matchresult { | |
208 display: block; | |
209 margin: 0; | |
210 padding: 0; | |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
211 } |
8 | 212 div.matchrow { |
213 margin-top: 4px; | |
6 | 214 } |
8 | 215 div.matchrow, div.matchitem { |
216 height: 4px; | |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
217 } |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
218 |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
219 |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
220 table.descriptiontable { |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
221 font-size: 85%; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
222 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
|
223 border-spacing: 0; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
224 color: #222222; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
225 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
|
226 background-color: white; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
227 } |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
228 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
|
229 width: 100%; |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
230 } |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
231 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
|
232 background-color: #D5DEE3; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
233 } |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
234 table.descriptiontable th { |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
235 color: #14376C; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
236 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
|
237 background-color: #F0F0F0; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
238 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
|
239 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
|
240 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
|
241 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
|
242 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
|
243 } |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
244 table.descriptiontable td { |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
245 overflow: hidden; |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
246 text-align: center; |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
247 padding: .4em .8em; |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
248 } |
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
249 table.descriptiontable td div { |
9 | 250 width: 1em; |
251 overflow: visible; | |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
252 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
|
253 text-align: left; |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
254 } |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
255 |
7
9e7927673089
intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents:
6
diff
changeset
|
256 |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
257 |
17 | 258 .alignments .white { |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
259 padding: 1.5em 1em; |
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 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
262 .alignment { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
263 border-top: 1px solid black; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
264 padding-left: 1em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
265 padding-right: 1em; |
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 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
268 div.linkheader { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
269 padding-top: .2em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
270 font-size: 85%; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
271 color: #14376C; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
272 } |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
273 div.linkheader a.linkheader { |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
274 margin-right: 1em; |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
275 } |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
276 div.linkheader .right a { |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
277 text-decoration: none; |
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 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
280 .title .hittitle { |
16 | 281 color: #222222; |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
282 margin-bottom: .3em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
283 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
284 .title .titleinfo { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
285 font-size: 80%; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
286 margin-top: 0; |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
287 margin-bottom: .3em; |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
288 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
289 .title .titleinfo .b { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
290 color: #606060; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
291 font-weight: bold; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
292 font-size: 90%; |
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 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
295 .moretitles { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
296 margin: 1.2em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
297 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
298 .moretitles .titleinfo { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
299 margin: 0; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
300 padding: 0; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
301 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
302 .moretitles .hittitle { |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
303 margin: .4em 0 .2em 0; |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
304 padding: 0; |
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 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
307 a.showmoretitles { |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
308 font-size: 75%; |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
309 color: #336699; |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
310 font-weight: bold; |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
311 margin-top: 0; |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
312 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
313 a.showmoretitles:hover { |
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 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
316 .hotspot { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
317 color: #606060; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
318 font-family: verdana, arial, sans-serif; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
319 margin-bottom: 2.5em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
320 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
321 |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
322 .hotspot p.range { |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
323 font-size: 70%; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
324 margin-top: 0; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
325 margin-top: 1em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
326 margin-bottom: .2em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
327 } |
12
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
328 .hotspot p.range span.range { |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
329 font-weight: bold; |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
330 } |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
331 .hotspot p.range a.range { |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
332 margin-left: .5em; |
a459c754cdb5
add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents:
11
diff
changeset
|
333 } |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
334 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
335 table.hotspotstable { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
336 border-top: 1px solid; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
337 border-bottom: 1px solid; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
338 text-align: left; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
339 border-collapse: collapse; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
340 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
341 table.hotspotstable th, table.hotspotstable td { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
342 padding: .1em 1em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
343 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
344 table.hotspotstable th { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
345 font-size: 70%; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
346 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
347 table.hotspotstable td { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
348 min-width: 7em; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
349 color: #222222; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
350 font-size: 80%; |
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 |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
353 pre.alignmentgraphic { |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
354 color: #222222; |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
355 } |
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
356 |
23 | 357 footer { |
358 text-align: center; | |
359 color: #cccccc; | |
360 font-size: 70%; | |
361 margin-top: 1em; | |
362 } | |
363 footer :link { | |
364 color: #5588cc; | |
365 } | |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
366 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
367 </style> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
368 |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
369 <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
|
370 function toggle_visibility(id) { |
16 | 371 var e = document.getElementById(id); |
372 if(e.style.display != 'block') | |
373 e.style.display = 'block'; | |
374 else | |
375 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
|
376 } |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
377 </script> |
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
378 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
379 </head> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
380 |
11
7660519f2dc9
proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents:
10
diff
changeset
|
381 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
382 <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
|
383 |
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 <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
|
385 <!-- 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
|
386 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
|
387 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
|
388 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
|
389 <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
|
390 <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
|
391 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
|
392 </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
|
393 </div> |
eee23a36c582
add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents:
24
diff
changeset
|
394 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
395 <div id=content> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
396 |
110
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
397 <section class=header> |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
398 |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
399 <h1>Nucleotide Blast results</h1> |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
400 |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
401 <table class=headerdata> |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
402 {% for param, value in params %} |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
403 <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
|
404 {% endfor %} |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
405 </table> |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
406 |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
407 </section> |
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
408 |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
409 {% 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
|
410 <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
|
411 <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
|
412 <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
|
413 No matches |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
414 </div> |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
415 </section> |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
416 |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
417 {% else %} |
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
418 |
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
|
419 {% 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
|
420 <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
|
421 <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
|
422 |
53cd304c5f26
Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents:
19
diff
changeset
|
423 {% 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
|
424 <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
|
425 {% 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
|
426 {{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
|
427 ({{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
|
428 </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
|
429 {% endfor %} |
21 | 430 |
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
|
431 </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
|
432 {% 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
|
433 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
434 {% for result in blast.BlastOutput_iterations.Iteration %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
435 |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
436 <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
|
437 |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
438 <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
|
439 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
440 <section class=header> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
441 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
442 <table class=headerdata> |
110
e17aae23cc1c
report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents:
96
diff
changeset
|
443 {% for param, value in result|params %} |
23 | 444 <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
|
445 {% endfor %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
446 </table> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
447 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
448 </section> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
449 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
450 {% set hits = result|hits %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
451 {% if not hits %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
452 <section> |
111
7aa28753d7b3
create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents:
110
diff
changeset
|
453 <h3>No Hits</h3> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
454 <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
|
455 <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
|
456 <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
|
457 </table> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
458 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
459 </section> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
460 {% else %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
461 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
462 <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
|
463 <h3>Graphic Summary</h3> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
464 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
465 <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
|
466 <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
|
467 |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
468 <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
|
469 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
|
470 </div> |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
471 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
472 <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
|
473 <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
|
474 <div class=legend><div class=graphicrow> |
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[0]}}"><40</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[1]}}">40–50</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[2]}}">50–80</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[3]}}">80–200</div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
479 <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
|
480 </div></div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
481 <div style="clear: left"></div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
482 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
483 <div class=tablewrapper> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
484 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
485 <div class=scale> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
486 <div>query:</div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
487 <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
|
488 <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
|
489 {% for s in result|queryscale %} |
76
7d0d46168fd5
Format all numbers in a predictable way
Jan Kanis <jan.code@jankanis.nl>
parents:
75
diff
changeset
|
490 <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
|
491 {% 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
|
492 <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
|
493 {% 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
|
494 <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
|
495 <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
|
496 {% 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
|
497 </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
|
498 {% endfor %} |
19
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> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
501 <div style="clear: left"></div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
502 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
503 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
504 {% for line in result|match_colors %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
505 <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
|
506 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
|
507 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
|
508 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
|
509 title="{{line.defline}}"> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
510 <div class="matchrow graphicrow"> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
511 {% for hit in line.colors %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
512 <div class="matchitem graphicitem" |
76
7d0d46168fd5
Format all numbers in a predictable way
Jan Kanis <jan.code@jankanis.nl>
parents:
75
diff
changeset
|
513 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
|
514 {% endfor %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
515 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
516 </a> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
517 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
518 {% endfor %} |
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 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
522 </section> |
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 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
526 <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
|
527 <h3>Descriptions</h3> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
528 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
529 <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
|
530 <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
|
531 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
532 <table class=descriptiontable> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
533 <col/><col/><col/><col/><col/><col/><col/> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
534 <tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
535 <th>Description</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
536 <th>Max score</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
537 <th>Total score</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
538 <th>Query cover</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
539 <th>E value</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
540 <th>Ident</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
541 <th>Accession</th> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
542 </tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
543 {% for hit in result|hit_info %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
544 <tr> |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
545 <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
|
546 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
|
547 id="description{{hit.hit|nodeid}}"> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
548 {{hit.title}} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
549 </a></div></td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
550 <td>{{hit.maxscore}}</td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
551 <td>{{hit.totalscore}}</td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
552 <td>{{hit.cover}}</td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
553 <td>{{hit.e_value}}</td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
554 <td>{{hit.ident}}</td> |
95
4378d11f0ed7
implement configurable gene bank links
Jan Kanis <jan.code@jankanis.nl>
parents:
76
diff
changeset
|
555 <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
|
556 </tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
557 {% endfor %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
558 </table> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
559 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
560 </div></div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
561 </section> |
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 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
565 <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
|
566 <h3>Alignments</h3> |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
567 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
568 <div class=grey><div class=white> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
569 {% 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
|
570 <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
|
571 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
572 <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
|
573 <div class=right><a href="#description{{hit|nodeid}}">Descriptions</a></div> |
115
0c2a03f9740b
make external gene bank name configurable
Jan Kanis <jan.code@jankanis.nl>
parents:
113
diff
changeset
|
574 {{ hit|genelink(text_from='dbname', cssclass='linkheader', display_nolink=False) }} |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
575 </div> |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
576 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
577 <div class=title> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
578 <p class=hittitle>{{hit|firsttitle}}</p> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
579 <p class=titleinfo> |
95
4378d11f0ed7
implement configurable gene bank links
Jan Kanis <jan.code@jankanis.nl>
parents:
76
diff
changeset
|
580 <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
|
581 <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
|
582 <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
|
583 </p> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
584 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
585 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
586 {% 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
|
587 <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
|
588 See {{hit|othertitles|length}} more title(s) |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
589 </a> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
590 |
53
4217bb9cf1d3
depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents:
33
diff
changeset
|
591 <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
|
592 {% for title in hit|othertitles %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
593 <div class=title> |
96 | 594 <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
|
595 <p class=titleinfo> |
95
4378d11f0ed7
implement configurable gene bank links
Jan Kanis <jan.code@jankanis.nl>
parents:
76
diff
changeset
|
596 <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
|
597 </p> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
598 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
599 {% endfor %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
600 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
601 {% endif %} |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
602 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
603 {% 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
|
604 <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
|
605 <p class=range> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
606 <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
|
607 </p> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
608 |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
609 <table class=hotspotstable> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
610 <tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
611 <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
|
612 </tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
613 <tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
614 <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
|
615 <td>{{hsp.Hsp_evalue|fmt('.1f')}}</td> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
616 <td>{{ hsp.Hsp_identity }}/{{ hsp|len }}({{ |
75 | 617 ((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
|
618 <td>{{ hsp.Hsp_gaps }}/{{ hsp|len |
75 | 619 }}({{ ((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
|
620 <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
|
621 </tr> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
622 </table> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
623 |
67
19c48f2ec775
wrap alignments if they are too long
Jan Kanis <jan.code@jankanis.nl>
parents:
53
diff
changeset
|
624 {% 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
|
625 <pre class=alignmentgraphic>{{alignment_line}}</pre> |
19c48f2ec775
wrap alignments if they are too long
Jan Kanis <jan.code@jankanis.nl>
parents:
53
diff
changeset
|
626 {% endfor %} |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
627 </div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
628 {% endfor %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
629 |
16 | 630 </div> |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
631 |
19
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
632 {% endfor %} |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
633 </div></div> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
634 </section> |
67ddcb807b7d
make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents:
17
diff
changeset
|
635 {% endif %} |
23 | 636 </section> |
637 {% endfor %} | |
638 {% endif %} | |
10
2fbdf2eb27b4
All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents:
9
diff
changeset
|
639 |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
640 </div> |
23 | 641 |
642 <footer> | |
33
3bb5da68305e
add test update script, add url to github page
Jan Kanis <jan.code@jankanis.nl>
parents:
27
diff
changeset
|
643 This page was generated by <a href="https://github.com/thehyve/blast2html/">blast2html</a>. |
23 | 644 </footer> |
5
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
645 </body> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
646 </html> |
1df2bfce5c24
first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff
changeset
|
647 |
16 | 648 {# |
649 Local Variables: | |
650 tab-width: 2 | |
651 indent-tabs-mode: nil | |
652 End: | |
653 #} |