Index: experimental/webtry/templates/iframe.html |
diff --git a/experimental/webtry/templates/iframe.html b/experimental/webtry/templates/iframe.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..01e529acbccd41043029af5af11978d668ca81c8 |
--- /dev/null |
+++ b/experimental/webtry/templates/iframe.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <title>Skia WebTry</title> |
+ <meta charset='utf-8' /> |
+ <link rel='stylesheet' href='/css/' type='text/css' media='screen'> |
+</head> |
+<body class=iframe> |
+ <section id=content> |
+ <pre><code><textarea spellcheck=false name='code' id='code' rows='8' cols='80'>{{.UserCode}}</textarea></code></pre> |
+ |
+ <input type='button' value='Run' id='run'> |
+ <a href='/c/{{.Hash}}' target=_blank id=permalink>Share</a> |
+ |
+ <p><img id='img' src=''/></p> |
+ |
+ <pre><code id='output'></code></pre> |
+ |
+ </section> |
+ <script type='text/javascript' charset='utf-8'> |
+ // Not running in a workspace. |
+ var workspaceName = ''; |
+ </script> |
+ <script src='/js/' type='text/javascript' charset='utf-8'></script> |
+</body> |
+</html> |