Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(856)

Unified Diff: experimental/webtry/templates/index.html

Issue 246393002: Adding the ability to click on the images in the history and have that load (Closed) Base URL: https://skia.googlesource.com/skia.git@history
Patch Set: remove old logging code Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/webtry/js/run.js ('k') | experimental/webtry/templates/workspace.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/webtry/templates/index.html
diff --git a/experimental/webtry/templates/index.html b/experimental/webtry/templates/index.html
index b3f6b8f024e5e1e696f614da1c2200d8c4084885..a29bfd1b839655f471193bb33f9d682b5f5d9b72 100644
--- a/experimental/webtry/templates/index.html
+++ b/experimental/webtry/templates/index.html
@@ -21,7 +21,7 @@ void draw(SkCanvas* canvas) {
<input type="text" value="" id="embed" readonly style="display:none;">
<p>
- <img id='img' src=''/>
+ <img id='img' src='{{if .Hash}}/i/{{.Hash}}.png{{end}}'/>
</p>
<pre><code id='output'></code></pre>
« no previous file with comments | « experimental/webtry/js/run.js ('k') | experimental/webtry/templates/workspace.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698