This repository was archived by the owner on Apr 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.html
More file actions
52 lines (47 loc) · 1.54 KB
/
app.html
File metadata and controls
52 lines (47 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html {{ HTML_ATTRS }}>
<head>
{{ HEAD }}
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@2/webcomponents-loader.js"></script>
<script src="https://unpkg.com/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js" onload="window.WebComponents._batchCustomElements()"></script>
</head>
<body {{ BODY_ATTRS }}>
<header id="head" class="hxBox hxMd">
<p>text</p>
</header>
<div id="app" class="hxBox hxMd">
{{ APP }}
</div>
<footer id="foot" class="hxRow hxGutterless">
<div class="hxCol">
© 2018 Rackspace US, Inc.
<nav>
<a href="https://www.rackspace.com/information/legal/websiteterms">Website Terms</a>
<a href="https://www.rackspace.com/information/legal/privacystatement">Privacy Policy</a>
</nav>
</div>
</footer></body>
<script>
if (window.netlifyIdentity) {
window.netlifyIdentity.on("init", user => {
if (!user) {
window.netlifyIdentity.on("login", () => {
document.location.href = "/admin/";
});
}
});
}
</script>
<!-- intelligently load ES5 Adapter (if needed) -->
<span id="ce-es5-adapter">
<script>
if (!window.customElements) {
var elAdapter = document.querySelector('#ce-es5-adapter');
elAdapter.parentElement.removeChild(elAdapter);
}
</script>
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@2/custom-elements-es5-adapter.js"></script>
</span>
<script src="/helix-ui/scripts/helix-ui.browser.js"></script>
</html>