Mercurial > repos > jankanis > blast2html
diff blast2html.html.jinja @ 27:4e6ac737ba17
improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
author | Jan Kanis <jan.code@jankanis.nl> |
---|---|
date | Thu, 15 May 2014 16:46:09 +0200 |
parents | eee23a36c582 |
children | 3bb5da68305e |
line wrap: on
line diff
--- a/blast2html.html.jinja Thu May 15 12:44:44 2014 +0200 +++ b/blast2html.html.jinja Thu May 15 16:46:09 2014 +0200 @@ -371,8 +371,16 @@ <body> - <div id="strip_html_warning" style="border: 3px solid red; color: red"> - This html seems to have been stripped by Galaxy. Disable Galaxy's html sanitization feature to view the full page, or download this page instead of viewing it in Galaxy. + + <div id="strip_html_warning"> + <!-- This div should be hidden by the header css block. Galaxy + strips all css, breaking this page but making this warning + visible. This warning contains some ugly old skool tabular html + layout that is not stripped. --> + <table bgcolor="#FFE5C9"><tr><td><font color="red"><b> + <font size=5><center>This html page seems to have been stripped by Galaxy.</center></font> + 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. + </b></font></td></tr></table> </div> <div id=content>