Index: experimental/webtry/templates/workspace.html |
diff --git a/experimental/webtry/templates/workspace.html b/experimental/webtry/templates/workspace.html |
index 3a461d61c5b1092f71bd895fea0ec440a94a2c9d..a802ea719ebb79e05f4bc94e226cc6db7e8713d0 100644 |
--- a/experimental/webtry/templates/workspace.html |
+++ b/experimental/webtry/templates/workspace.html |
@@ -6,13 +6,10 @@ |
<link rel="stylesheet" href="/css/" type="text/css" media="screen"> |
</head> |
<body> |
- |
<template id=tryTemplate> |
- <div class=tries> |
- <a href=""> |
- <img width=64 height=64 src=""> |
- </a> |
- </div> |
+ <div class=tries data-try=""> |
+ <img width=64 height=64 src=""> |
+ </div> |
</template> |
{{template "titlebar.html"}} |
<section id=content> |
@@ -25,9 +22,10 @@ void draw(SkCanvas* canvas) { |
</code></pre> |
<input type='button' value='Run' id='run'> |
+ <a href='{{if .Hash}}/c/{{.Hash}}{{end}}' target=_blank id=permalink>Share</a> |
<p>Image appears here:</p> |
- <img id='img' src=''/> |
+ <img id='img' src='{{if .Hash}}/i/{{.Hash}}.png{{end}}'/> |
<pre><code id='output'></code></pre> |
</section> |