diff options
author | 2014-05-19 16:40:08 +0000 | |
---|---|---|
committer | 2014-05-19 16:40:08 +0000 | |
commit | 015c08e5ca44260b2f8edd6b70ae4eb05a05f2a9 (patch) | |
tree | f9351698d81b408d0c043cb4c92273299eace961 /experimental/webtry/templates/workspace.html | |
parent | 99bd7d817471ec903a7fe364b4e1d4477b1372b5 (diff) |
Move zooming into its own component, imported via HTML Imports.
Also, start building our own polyfill library (polyfill.js) using Grunt and Bower.
Finally, refactor all the web pages so that the common header and footer material comes from templates.
BUG=skia:
R=mtklein@google.com
Author: jcgregorio@google.com
Review URL: https://codereview.chromium.org/292433002
git-svn-id: http://skia.googlecode.com/svn/trunk@14783 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/webtry/templates/workspace.html')
-rw-r--r-- | experimental/webtry/templates/workspace.html | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/experimental/webtry/templates/workspace.html b/experimental/webtry/templates/workspace.html index d7d581a48d..9694a357b1 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> |