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

Unified Diff: experimental/webtry/templates/workspace.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 side-by-side diff with in-line comments
Download patch
Index: experimental/webtry/templates/workspace.html
diff --git a/experimental/webtry/templates/workspace.html b/experimental/webtry/templates/workspace.html
index d7d581a48da38e57c99fae3ae6c48c4869a37caa..9694a357b105ad0a58193937f0999dbb2d4e850a 100644
--- a/experimental/webtry/templates/workspace.html
+++ b/experimental/webtry/templates/workspace.html
@@ -2,15 +2,13 @@
<html>
<head>
<title>Workspace</title>
- <meta charset='utf-8' />
- <script src="/res/js/pointerevents.min.js" type="text/javascript" charset="utf-8"></script>
- <link rel='stylesheet' href='/res/css/webtry.css' type='text/css' media='screen'>
- <link rel="stylesheet" href="/res/css/cm/codemirror.css" type="text/css" media="screen">
+ {{template "headercommon.html" .}}
+ <link rel='import' type='text/html' href='/res/imp/zoom.html'>
</head>
<body>
<template id=tryTemplate>
- <div class=tries data-try="">
- <img width=64 height=64 src="">
+ <div class=tries data-try=''>
+ <img width=64 height=64 src=''>
</div>
</template>
{{template "titlebar.html" .}}
@@ -20,22 +18,22 @@
<section id=tryHistory>
</section>
- <script type="text/javascript" charset="utf-8">
+ <script type='text/javascript'>
var history = {{.Tries}};
</script>
- <script type='text/javascript' charset='utf-8'>
+ <script type='text/javascript'>
// Set the workspace name so run.js also updates the history.
- var workspaceName = "{{.Name}}";
+ var workspaceName = '{{.Name}}';
</script>
- <script src="/res/js/webtry.js" type="text/javascript" charset="utf-8"></script>
{{else}}
<section id=content>
<h1>Create</h1>
Create a new workspace:
- <form action="." method="POST" accept-charset="utf-8">
- <p><input type="submit" value="Create"></p>
+ <form action='.' method='POST'>
+ <p><input type='submit' value='Create'></p>
</form>
</section>
{{end}}
+ {{template "footercommon.html" .}}
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698