OLD | NEW |
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> |
OLD | NEW |