forked from microsoft/pxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.html
More file actions
66 lines (48 loc) · 1.77 KB
/
script.html
File metadata and controls
66 lines (48 loc) · 1.77 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta charset="UTF-8">
<title>@name@</title>
<meta name="Description" content="@description@" />
<!-- @include meta.html -->
<!-- @include head.html -->
<link rel="alternate" type="application/json+oembed" href="@oembedurl@&format=json" />
<link rel="alternate" type="text/xml+oembed" href="@oembedurl@&format=xml" />
</head>
<body id='root' class='root'>
<!-- @include pageheader.html -->
<!-- @include macros.html -->
<aside id=main-container class=box>
@BODY@
</aside>
<div class="ui main container mainbody">
@breadcrumb@
<!-- @include abuse.html -->
<h1 class="ui header">
<div class="ui content">
@title@
<!-- @ifdef editbutton -->
<a href="/@versionsuff@#pub:@id@" class="ui primary button">Edit</a>
<!-- @endif -->
<div class='sub header humantime' data-time="@time@">@humantime@</span>
</div>
</h1>
<p class="ui content description">
@description@
</p>
<div class="ui container">
<div style="position:relative;height:0;padding-bottom:70%;overflow:hidden;">
<iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" src="/@versionsuff@#sandbox:@id@" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"
frameborder="0"></iframe>
</div>
</div>
@body@
</div>
<script>
const script = @JSON@;
// do something with it
</script>
<!-- @include footer.html -->
<!-- Do not add analytics!!!! -->
</body>
</html>