-
-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1530 from lasantosr/altair-source
Add altair source
- Loading branch information
Showing
4 changed files
with
696 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
|
||
{{#if title}} | ||
<title>{{ title }}</title> | ||
{{else}} | ||
<title>Altair</title> | ||
{{/if}} | ||
|
||
<base href="https://unpkg.com/altair-static@latest/build/dist/"> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="icon" type="image/x-icon" href="favicon.ico"> | ||
<link rel="stylesheet" href="styles.css"> | ||
</head> | ||
|
||
<body> | ||
<script> | ||
document.addEventListener('DOMContentLoaded', () => { | ||
{{#if options}} | ||
AltairGraphQL.init({{{ toJson options }}}); | ||
{{else}} | ||
AltairGraphQL.init(); | ||
{{/if}} | ||
}); | ||
</script> | ||
<app-root> | ||
<style> | ||
.loading-screen { | ||
/*Prevents the loading screen from showing until CSS is downloaded*/ | ||
display: none; | ||
} | ||
</style> | ||
<div class="loading-screen styled"> | ||
<div class="loading-screen-inner"> | ||
<div class="loading-screen-logo-container"> | ||
<img src="assets/img/logo_350.svg" alt="Altair"> | ||
</div> | ||
<div class="loading-screen-loading-indicator"> | ||
<span class="loading-indicator-dot"></span> | ||
<span class="loading-indicator-dot"></span> | ||
<span class="loading-indicator-dot"></span> | ||
</div> | ||
</div> | ||
</div> | ||
</app-root> | ||
<script type="text/javascript" src="runtime.js"></script> | ||
<script type="text/javascript" src="polyfills.js"></script> | ||
<script type="text/javascript" src="main.js"></script> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.