Files
nebula.js/commands/serve/web/eRender.html
Tobias Åström 034be90b51 feat: add useEmitter and corresponding viz api (#1168)
* feat: add useEmitter and corresponding viz api

* chore: update spec

* chore: remove change to model

* chore: align names
2023-03-28 18:16:40 +02:00

59 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<base href="/" />
<title>Nebula render</title>
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:light" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:semibold" rel="stylesheet" />
<% for (var stylesheet in htmlWebpackPlugin.options.stylesheets) { %>
<script type="text/javascript" src="<%= htmlWebpackPlugin.options.stylesheets[stylesheet] %>"></script>
<% } %> <% for (var script in htmlWebpackPlugin.options.scripts) { %>
<script type="text/javascript" src="<%= htmlWebpackPlugin.options.scripts[script] %>"></script>
<% } %>
<style>
html,
body {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
body {
background: linear-gradient(110deg, #92498f 0%, #45b3b2 100%);
font: normal 14px/16px 'Source Sans Pro', Arial, sans-serif;
-webkit-font-smoothing: antialiased;
}
#chart-container {
position: absolute;
left: 8px;
bottom: 8px;
right: 8px;
top: 64px;
background-color: white;
}
#events {
width: 0px;
height: 0px;
overflow: hidden;
}
#chart-container.full {
top: 0;
right: 0;
bottom: 0;
left: 0;
}
</style>
</head>
<body>
<div id="chart-container"></div>
<div id="events"></div>
</body>
</html>