OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <title>Workspace</title> | |
5 {{template "headercommon.html" .}} | |
6 <link rel='import' type='text/html' href='/res/imp/zoom.html'> | |
7 </head> | |
8 <body> | |
9 <template id="tryTemplate"> | |
10 <div class=tries data-try=''> | |
11 <img width="64" src=''> | |
12 </div> | |
13 </template> | |
14 <div id="wrapper"> | |
15 {{template "titlebar.html" .}} | |
16 {{if .Name}} | |
17 <div id="lower-wrapper"> | |
18 {{template "sidebar.html" .}} | |
19 {{template "content.html" .}} | |
20 </div> | |
21 <section id="tryHistory"> | |
22 </section> | |
23 | |
24 <script type='text/javascript'> | |
25 var history_ = {{.Tries}}; | |
26 </script> | |
27 <script type='text/javascript'> | |
28 // Set the workspace name so run.js also updates the history. | |
29 var workspaceName = '{{.Name}}'; | |
30 </script> | |
31 {{else}} | |
32 <section id="content"> | |
33 <h1>Create</h1> | |
34 <form action="" method="POST"> | |
35 <input class='btn btn-primary btn-lg' type='submit' value='Create a new
workspace'> | |
36 </form> | |
37 </section> | |
38 {{end}} | |
39 {{template "footercommon.html" .}} | |
40 </div> | |
41 </body> | |
42 </html> | |
OLD | NEW |