Mercurial > repos > jankanis > blast2html
diff blast2html.html.jinja @ 26:eee23a36c582
add a warning if galaxy strips the html header/stylesheet
author | Jan Kanis <jan.code@jankanis.nl> |
---|---|
date | Thu, 15 May 2014 12:44:44 +0200 |
parents | c8347745bbad |
children | 4e6ac737ba17 |
line wrap: on
line diff
--- a/blast2html.html.jinja Thu May 15 12:24:02 2014 +0200 +++ b/blast2html.html.jinja Thu May 15 12:44:44 2014 +0200 @@ -20,6 +20,11 @@ float: right; } + /* Galaxy with html sanitization enabled strips the header of this html page. If so, show the user a warning.*/ + #strip_html_warning { + display: none; + } + #content { margin: 0 2em; padding: 0.5em; @@ -366,6 +371,10 @@ <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> + <div id=content> {% if not blast.BlastOutput_iterations.findall('Iteration') %}