Index: experimental/webtry/templates/index.html |
diff --git a/experimental/webtry/templates/index.html b/experimental/webtry/templates/index.html |
index a29bfd1b839655f471193bb33f9d682b5f5d9b72..bab6c005457dc314e99968db5232c06ed81ec37e 100644 |
--- a/experimental/webtry/templates/index.html |
+++ b/experimental/webtry/templates/index.html |
@@ -7,26 +7,8 @@ |
</head> |
<body> |
{{template "titlebar.html"}} |
- <section id=content> |
- <pre><code>#include "SkCanvas.h" |
+ {{template "content.html" .}} |
-void draw(SkCanvas* canvas) { |
- <textarea spellcheck=false name='code' id='code' rows='15' cols='80'>{{.UserCode}}</textarea> |
-} |
-</code></pre> |
- |
- <input type='button' value='Run' id='run'> |
- |
- <input type='button' value='Embed' id='embedButton' disabled/> |
- <input type="text" value="" id="embed" readonly style="display:none;"> |
- |
- <p> |
- <img id='img' src='{{if .Hash}}/i/{{.Hash}}.png{{end}}'/> |
- </p> |
- |
- <pre><code id='output'></code></pre> |
- |
- </section> |
<script type='text/javascript' charset='utf-8'> |
// Not running in a workspace. |
var workspaceName = ""; |