# HG changeset patch # User Jan Kanis # Date 1400150684 -7200 # Node ID eee23a36c582663cc45e000f3d98a772720d5351 # Parent b77934f5752236b2fce5b0f4c0335d4a3113de98 add a warning if galaxy strips the html header/stylesheet diff -r b77934f57522 -r eee23a36c582 blast2html.html.jinja --- 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 @@ +
+ 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. +
+
{% if not blast.BlastOutput_iterations.findall('Iteration') %}