mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 12:21:02 +01:00
28 lines
869 B
Plaintext
28 lines
869 B
Plaintext
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
window.__SHARED_DASHBOARD__ = {
|
|
id: {{dashboard.id}},
|
|
share_token: '{{dashboard.share_token}}',
|
|
name: `{{dashboard.name}}`,
|
|
description: `{{dashboard.description}}`,
|
|
team_name: `{{team_name}}`
|
|
}
|
|
</script>
|
|
{% include "head.html" %}
|
|
<%= htmlWebpackPlugin.tags.headTags %><%/* This adds the main.css file! */%>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
if (typeof Object.entries === 'undefined') {
|
|
var div = document.createElement("div");
|
|
div.style.color='#fef6f6'; div.style.background='#920c0c'; div.style.padding='5px 10px';
|
|
div.innerHTML = "You are using a really old browser. Please upgrade to fully enjoy PostHog!"
|
|
document.body.prepend(div);
|
|
}
|
|
</script>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|