2017-06-30 18:39:25 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="author" content="bradrydzewski">
|
|
|
|
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
|
|
|
|
|
2017-07-16 16:27:01 +00:00
|
|
|
<link rel="shortcut icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
|
|
<link rel="shortcut icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
|
|
|
2017-06-30 18:39:25 +00:00
|
|
|
<title></title>
|
|
|
|
<script>
|
|
|
|
window.ENV = {};
|
|
|
|
window.ENV.server = window.location.protocol+"//"+window.location.host;
|
|
|
|
{{ if .csrf }}window.ENV.csrf = "{{ .csrf }}"{{ end }}
|
|
|
|
{{ if .user }}
|
|
|
|
window.USER = {{ json .user }};
|
|
|
|
{{ end }}
|
|
|
|
</script>
|
2017-07-24 19:57:07 +00:00
|
|
|
<script>
|
|
|
|
// TODO load a polyfill for SSE for the Edge browser. Consider downloading
|
|
|
|
// with bower instead of loading from cndjs.
|
|
|
|
if (!window.EventSource) {
|
|
|
|
var ssePolyfill = document.createElement("script");
|
|
|
|
ssePolyfill.src = "https://cdnjs.cloudflare.com/ajax/libs/event-source-polyfill/0.0.9/eventsource.min.js";
|
|
|
|
document.body.appendChild(ssePolyfill);
|
|
|
|
}
|
|
|
|
</script>
|
2017-06-30 18:39:25 +00:00
|
|
|
<script src="/bower_components/webcomponentsjs/webcomponents-loader.js"></script>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono">
|
|
|
|
<link rel="import" href="/src/drone/drone-app.html">
|
|
|
|
|
|
|
|
<style>
|
|
|
|
html, body {
|
|
|
|
padding:0px;
|
|
|
|
margin:0px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<drone-app></drone-app>
|
|
|
|
</body>
|
|
|
|
</html>
|