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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Workspace</title> 4 <title>Workspace</title>
5 <meta charset='utf-8' /> 5 {{template "headercommon.html" .}}
6 <script src="/res/js/pointerevents.min.js" type="text/javascript" charset="u tf-8"></script> 6 <link rel='import' type='text/html' href='/res/imp/zoom.html'>
7 <link rel='stylesheet' href='/res/css/webtry.css' type='text/css' media='scr een'>
8 <link rel="stylesheet" href="/res/css/cm/codemirror.css" type="text/css" med ia="screen">
9 </head> 7 </head>
10 <body> 8 <body>
11 <template id=tryTemplate> 9 <template id=tryTemplate>
12 <div class=tries data-try=""> 10 <div class=tries data-try=''>
13 <img width=64 height=64 src=""> 11 <img width=64 height=64 src=''>
14 </div> 12 </div>
15 </template> 13 </template>
16 {{template "titlebar.html" .}} 14 {{template "titlebar.html" .}}
17 {{if .Name}} 15 {{if .Name}}
18 {{template "content.html" .}} 16 {{template "content.html" .}}
19 17
20 <section id=tryHistory> 18 <section id=tryHistory>
21 </section> 19 </section>
22 20
23 <script type="text/javascript" charset="utf-8"> 21 <script type='text/javascript'>
24 var history = {{.Tries}}; 22 var history = {{.Tries}};
25 </script> 23 </script>
26 <script type='text/javascript' charset='utf-8'> 24 <script type='text/javascript'>
27 // Set the workspace name so run.js also updates the history. 25 // Set the workspace name so run.js also updates the history.
28 var workspaceName = "{{.Name}}"; 26 var workspaceName = '{{.Name}}';
29 </script> 27 </script>
30 <script src="/res/js/webtry.js" type="text/javascript" charset="utf-8"></scrip t>
31 {{else}} 28 {{else}}
32 <section id=content> 29 <section id=content>
33 <h1>Create</h1> 30 <h1>Create</h1>
34 Create a new workspace: 31 Create a new workspace:
35 <form action="." method="POST" accept-charset="utf-8"> 32 <form action='.' method='POST'>
36 <p><input type="submit" value="Create"></p> 33 <p><input type='submit' value='Create'></p>
37 </form> 34 </form>
38 </section> 35 </section>
39 {{end}} 36 {{end}}
37 {{template "footercommon.html" .}}
40 </body> 38 </body>
41 </html> 39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698