-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add scripts from cli * add warning when including scripts * flake8 fixes * confirm scripts injection
- Loading branch information
Showing
3 changed files
with
66 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,42 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>cellxgene</title> | ||
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:400,400i,700" rel="stylesheet"> | ||
<style> | ||
html, body, p, h1, h2, h3, h4, h5, h6, span, button, input, label, text, div { | ||
font-family: 'Roboto Condensed','Helvetica Neue','Helvetica','Arial',sans-serif; | ||
font-size: 14px; | ||
} | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
html, body, p, h1, h2, h3, h4, h5, h6, span, button, input, label, text, div { | ||
font-family: 'Roboto Condensed', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif; | ||
font-size: 14px; | ||
} | ||
|
||
* { | ||
box-sizing: border-box; | ||
} | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
* { | ||
box-sizing: border-box; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
</head> | ||
<body> | ||
<script type="text/javascript"> | ||
window.CELLXGENE = {}; | ||
window.CELLXGENE.API = { | ||
prefix: window.location.href + "api/", | ||
version: "v0.2/" | ||
}; | ||
window.CELLXGENE = {}; | ||
window.CELLXGENE.API = { | ||
prefix: window.location.href + "api/", | ||
version: "v0.2/" | ||
}; | ||
</script> | ||
<noscript>If you're seeing this message, that means <strong>JavaScript has been disabled on your browser</strong>, please <strong>enable JS</strong> to make this app work.</noscript> | ||
<noscript>If you're seeing this message, that means <strong>JavaScript has been disabled on your browser</strong>, | ||
please <strong>enable JS</strong> to make this app work. | ||
</noscript> | ||
|
||
<div id="root"></div> | ||
</body> | ||
<div id="root"></div> | ||
{% for script in SCRIPTS %} | ||
<script type="text/javascript" src="{{script | safe}}"></script> | ||
{% endfor %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters