Skip to content

Commit

Permalink
Merge pull request spacetelescope#1518 from mfixstsci/bad-pix-html-ex…
Browse files Browse the repository at this point in the history
…clude

Update Bad Pix Exclude Line
  • Loading branch information
mfixstsci authored Mar 15, 2024
2 parents 33c0619 + d0334d5 commit 03a687e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion jwql/website/apps/jwql/monitor_pages/monitor_bad_pixel_bokeh.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,16 @@ def modify_bokeh_saved_html(self):
lines_to_remove = ["<!DOCTYPE html>",
'<html lang="en">',
' </body>',
'</html>']
'</html>',
' <style>',
' html, body {',
' box-sizing: border-box;',
' display: flow-root;',
' height: 100%;',
' margin: 0;',
' padding: 0;',
' }',
' </style>']

# Our Django-related lines that need to be at the top of the file
hstring = """href="{{'/jwqldb/%s_bad_pixel_stats'%inst.lower()}}" name=test_link class="btn btn-primary my-2" type="submit">Go to JWQLDB page</a>"""
Expand Down

0 comments on commit 03a687e

Please sign in to comment.