comparison 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
comparison
equal deleted inserted replaced
25:b77934f57522 26:eee23a36c582
18 18
19 .right { 19 .right {
20 float: right; 20 float: right;
21 } 21 }
22 22
23 /* Galaxy with html sanitization enabled strips the header of this html page. If so, show the user a warning.*/
24 #strip_html_warning {
25 display: none;
26 }
27
23 #content { 28 #content {
24 margin: 0 2em; 29 margin: 0 2em;
25 padding: 0.5em; 30 padding: 0.5em;
26 border: 1px solid #888888; 31 border: 1px solid #888888;
27 background-color: #d3dff5; 32 background-color: #d3dff5;
364 369
365 </head> 370 </head>
366 371
367 372
368 <body> 373 <body>
374 <div id="strip_html_warning" style="border: 3px solid red; color: red">
375 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.
376 </div>
377
369 <div id=content> 378 <div id=content>
370 379
371 {% if not blast.BlastOutput_iterations.findall('Iteration') %} 380 {% if not blast.BlastOutput_iterations.findall('Iteration') %}
372 <section class=nodata> 381 <section class=nodata>
373 <h1>No data</h1> 382 <h1>No data</h1>