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

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

Issue 242613005: iframe (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
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 name='code' id='code' rows='15' cols='80'>{{.UserCode}}</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 <p>Image appears here:</p> 20 <input type='button' value='Embed' id='embedButton' disabled/>
21 <input type="text" value="" id="embed" readonly style="display:none;">
22
23 <p>
21 <img id='img' src=''/> 24 <img id='img' src=''/>
25 </p>
22 26
23 <pre><code id='output'></code></pre> 27 <pre><code id='output'></code></pre>
24 28
25 </section> 29 </section>
26 <script type='text/javascript' charset='utf-8'> 30 <script type='text/javascript' charset='utf-8'>
27 // Not running in a workspace. 31 // Not running in a workspace.
28 var workspaceName = ""; 32 var workspaceName = "";
29 </script> 33 </script>
30 <script src="/js/run.js" type="text/javascript" charset="utf-8"></script> 34 <script src="/js/" type="text/javascript" charset="utf-8"></script>
31 </body> 35 </body>
32 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698