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

Unified Diff: experimental/webtry/templates/workspace.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/templates/index.html ('k') | experimental/webtry/webtry.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « experimental/webtry/templates/index.html ('k') | experimental/webtry/webtry.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698