Index: experimental/webtry/templates/index.html |
diff --git a/experimental/webtry/templates/index.html b/experimental/webtry/templates/index.html |
index c79dc124c027612ecbcb7bd67ea31f68cd841ff5..b3f6b8f024e5e1e696f614da1c2200d8c4084885 100644 |
--- a/experimental/webtry/templates/index.html |
+++ b/experimental/webtry/templates/index.html |
@@ -11,14 +11,18 @@ |
<pre><code>#include "SkCanvas.h" |
void draw(SkCanvas* canvas) { |
- <textarea name='code' id='code' rows='15' cols='80'>{{.UserCode}}</textarea> |
+ <textarea spellcheck=false name='code' id='code' rows='15' cols='80'>{{.UserCode}}</textarea> |
} |
</code></pre> |
<input type='button' value='Run' id='run'> |
- <p>Image appears here:</p> |
+ <input type='button' value='Embed' id='embedButton' disabled/> |
+ <input type="text" value="" id="embed" readonly style="display:none;"> |
+ |
+ <p> |
<img id='img' src=''/> |
+ </p> |
<pre><code id='output'></code></pre> |
@@ -27,6 +31,6 @@ void draw(SkCanvas* canvas) { |
// Not running in a workspace. |
var workspaceName = ""; |
</script> |
- <script src="/js/run.js" type="text/javascript" charset="utf-8"></script> |
+ <script src="/js/" type="text/javascript" charset="utf-8"></script> |
</body> |
</html> |