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

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

Issue 292433002: Move zooming into its own component, imported via HTML Imports. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
OLDNEW
1 1
2 <section id=content> 2 <section id=content>
3 <script src="/res/js/cm/codemirror.js"></script>
4 <script src="/res/js/cm/clike.js"></script>
5
6 <pre> 3 <pre>
7 <textarea spellcheck=false name='code' id='code' rows='15' cols='100'>{{.Cod e}}</textarea> 4 <textarea spellcheck=false name='code' id='code' rows='15' cols='100'>{{.Cod e}}</textarea>
8 </pre> 5 </pre>
9 6
10 <input type='button' value='Run' id='run'> 7 <input type='button' value='Run' id='run'>
11 <a href='{{if .Hash}}/c/{{.Hash}}{{end}}' target=_blank id=permalink>Share</a> 8 <a href='{{if .Hash}}/c/{{.Hash}}{{end}}' target=_blank id=permalink>Share</a>
12 9
13 <input type='button' value='Embed' id='embedButton' disabled/> 10 <input type='button' value='Embed' id='embedButton' disabled/>
14 <input type="text" value="" id="embed" readonly style="display:none;"> 11 <input type="text" value="" id="embed" readonly style="display:none;">
15 12
16 <p> 13 <p>
17 <img touch-action='none' class='zoom' id='img' src='{{if .Hash}}/i/{{.Hash}}. png{{end}}'/> 14 <img touch-action='none' class='zoom' id='img' src='{{if .Hash}}/i/{{.Hash}}. png{{end}}'/>
18 </p> 15 </p>
19 <p id='zoomHex'></p> 16 <p id='zoomHex'></p>
20 17
21 <h2>Warnings and Errors</h2> 18 <h2>Warnings and Errors</h2>
22 <pre><code id='output'></code></pre> 19 <pre><code id='output'></code></pre>
23 <h2>Runtime output</h2> 20 <h2>Runtime output</h2>
24 <pre id='stdout'></pre> 21 <pre id='stdout'></pre>
25 22
26 </section> 23 </section>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698