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

Unified Diff: experimental/webtry/templates/iframe.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/content.html ('k') | experimental/webtry/templates/index.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/webtry/templates/iframe.html
diff --git a/experimental/webtry/templates/iframe.html b/experimental/webtry/templates/iframe.html
index 01e529acbccd41043029af5af11978d668ca81c8..d7b165db2f36f0d6754c0a10e8a9bd1f6c39f197 100644
--- a/experimental/webtry/templates/iframe.html
+++ b/experimental/webtry/templates/iframe.html
@@ -6,17 +6,7 @@
<link rel='stylesheet' href='/css/' type='text/css' media='screen'>
</head>
<body class=iframe>
- <section id=content>
- <pre><code><textarea spellcheck=false name='code' id='code' rows='8' cols='80'>{{.UserCode}}</textarea></code></pre>
-
- <input type='button' value='Run' id='run'>
- <a href='/c/{{.Hash}}' target=_blank id=permalink>Share</a>
-
- <p><img id='img' src=''/></p>
-
- <pre><code id='output'></code></pre>
-
- </section>
+ {{template "content.html" .}}
<script type='text/javascript' charset='utf-8'>
// Not running in a workspace.
var workspaceName = '';
« no previous file with comments | « experimental/webtry/templates/content.html ('k') | experimental/webtry/templates/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698