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

Side by Side Diff: experimental/webtry/templates/content.html

Issue 261533006: Display the color at a point. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: comments Created 6 years, 7 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/webtry.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 <section id=content> 2 <section id=content>
3 <pre><code>#include "SkCanvas.h" 3 <pre><code>#include "SkCanvas.h"
4 4
5 void draw(SkCanvas* canvas) { 5 void draw(SkCanvas* canvas) {
6 <textarea spellcheck=false name='code' id='code' rows='15' cols='80'>{{.Code}} </textarea> 6 <textarea spellcheck=false name='code' id='code' rows='15' cols='80'>{{.Code}} </textarea>
7 } 7 }
8 </code></pre> 8 </code></pre>
9 9
10 <input type='button' value='Run' id='run'> 10 <input type='button' value='Run' id='run'>
11 <a href='{{if .Hash}}/c/{{.Hash}}{{end}}' target=_blank id=permalink>Share</a> 11 <a href='{{if .Hash}}/c/{{.Hash}}{{end}}' target=_blank id=permalink>Share</a>
12 12
13 <input type='button' value='Embed' id='embedButton' disabled/> 13 <input type='button' value='Embed' id='embedButton' disabled/>
14 <input type="text" value="" id="embed" readonly style="display:none;"> 14 <input type="text" value="" id="embed" readonly style="display:none;">
15 15
16 <p> 16 <p>
17 <img class='zoom' id='img' src='{{if .Hash}}/i/{{.Hash}}.png{{end}}'/> 17 <img class='zoom' id='img' src='{{if .Hash}}/i/{{.Hash}}.png{{end}}'/>
18 </p> 18 </p>
19 <p id='zoomHex'></p>
19 20
20 <h2>Warnings and Errors</h2> 21 <h2>Warnings and Errors</h2>
21 <pre><code id='output'></code></pre> 22 <pre><code id='output'></code></pre>
22 <h2>Runtime output</h2> 23 <h2>Runtime output</h2>
23 <pre id='stdout'></pre> 24 <pre id='stdout'></pre>
24 25
25 </section> 26 </section>
OLDNEW
« no previous file with comments | « experimental/webtry/js/webtry.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698