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

Unified Diff: experimental/webtry/templates/index.html

Issue 246823004: Factor out common template code. Send stdout back to web page. (Closed) Base URL: https://skia.googlesource.com/skia.git@clickhistory
Patch Set: rebase 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/iframe.html ('k') | experimental/webtry/templates/template.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/webtry/templates/index.html
diff --git a/experimental/webtry/templates/index.html b/experimental/webtry/templates/index.html
index a29bfd1b839655f471193bb33f9d682b5f5d9b72..bab6c005457dc314e99968db5232c06ed81ec37e 100644
--- a/experimental/webtry/templates/index.html
+++ b/experimental/webtry/templates/index.html
@@ -7,26 +7,8 @@
</head>
<body>
{{template "titlebar.html"}}
- <section id=content>
- <pre><code>#include "SkCanvas.h"
+ {{template "content.html" .}}
-void draw(SkCanvas* canvas) {
- <textarea spellcheck=false name='code' id='code' rows='15' cols='80'>{{.UserCode}}</textarea>
-}
-</code></pre>
-
- <input type='button' value='Run' id='run'>
-
- <input type='button' value='Embed' id='embedButton' disabled/>
- <input type="text" value="" id="embed" readonly style="display:none;">
-
- <p>
- <img id='img' src='{{if .Hash}}/i/{{.Hash}}.png{{end}}'/>
- </p>
-
- <pre><code id='output'></code></pre>
-
- </section>
<script type='text/javascript' charset='utf-8'>
// Not running in a workspace.
var workspaceName = "";
« no previous file with comments | « experimental/webtry/templates/iframe.html ('k') | experimental/webtry/templates/template.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698