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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « experimental/webtry/js/run.js ('k') | experimental/webtry/templates/workspace.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Skia WebTry</title> 4 <title>Skia WebTry</title>
5 <meta charset='utf-8' /> 5 <meta charset='utf-8' />
6 <link rel="stylesheet" href="/css/" type="text/css" media="screen"> 6 <link rel="stylesheet" href="/css/" type="text/css" media="screen">
7 </head> 7 </head>
8 <body> 8 <body>
9 {{template "titlebar.html"}} 9 {{template "titlebar.html"}}
10 <section id=content> 10 <section id=content>
11 <pre><code>#include "SkCanvas.h" 11 <pre><code>#include "SkCanvas.h"
12 12
13 void draw(SkCanvas* canvas) { 13 void draw(SkCanvas* canvas) {
14 <textarea spellcheck=false name='code' id='code' rows='15' cols='80'>{{.UserCo de}}</textarea> 14 <textarea spellcheck=false name='code' id='code' rows='15' cols='80'>{{.UserCo de}}</textarea>
15 } 15 }
16 </code></pre> 16 </code></pre>
17 17
18 <input type='button' value='Run' id='run'> 18 <input type='button' value='Run' id='run'>
19 19
20 <input type='button' value='Embed' id='embedButton' disabled/> 20 <input type='button' value='Embed' id='embedButton' disabled/>
21 <input type="text" value="" id="embed" readonly style="display:none;"> 21 <input type="text" value="" id="embed" readonly style="display:none;">
22 22
23 <p> 23 <p>
24 <img id='img' src=''/> 24 <img id='img' src='{{if .Hash}}/i/{{.Hash}}.png{{end}}'/>
25 </p> 25 </p>
26 26
27 <pre><code id='output'></code></pre> 27 <pre><code id='output'></code></pre>
28 28
29 </section> 29 </section>
30 <script type='text/javascript' charset='utf-8'> 30 <script type='text/javascript' charset='utf-8'>
31 // Not running in a workspace. 31 // Not running in a workspace.
32 var workspaceName = ""; 32 var workspaceName = "";
33 </script> 33 </script>
34 <script src="/js/" type="text/javascript" charset="utf-8"></script> 34 <script src="/js/" type="text/javascript" charset="utf-8"></script>
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW
« 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