commit-bot@chromium.org | d04e1dd | 2014-04-19 13:55:50 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>Workspace</title> |
| 5 | <meta charset='utf-8' /> |
fmalita@google.com | 950306c | 2014-05-01 15:14:56 +0000 | [diff] [blame^] | 6 | <link rel='stylesheet' href='/res/css/webtry.css' type='text/css' media='screen'> |
| 7 | <link rel="stylesheet" href="/res/css/cm/codemirror.css" type="text/css" media="screen"> |
| 8 | <link rel="stylesheet" href="/res/css/cm/ambiance.css" type="text/css" media="screen"> |
commit-bot@chromium.org | d04e1dd | 2014-04-19 13:55:50 +0000 | [diff] [blame] | 9 | </head> |
| 10 | <body> |
commit-bot@chromium.org | c3b738a | 2014-04-21 17:36:44 +0000 | [diff] [blame] | 11 | <template id=tryTemplate> |
commit-bot@chromium.org | 35ffc44 | 2014-04-22 19:32:06 +0000 | [diff] [blame] | 12 | <div class=tries data-try=""> |
| 13 | <img width=64 height=64 src=""> |
| 14 | </div> |
commit-bot@chromium.org | c3b738a | 2014-04-21 17:36:44 +0000 | [diff] [blame] | 15 | </template> |
commit-bot@chromium.org | 472f830 | 2014-04-28 15:33:31 +0000 | [diff] [blame] | 16 | {{template "titlebar.html" .}} |
commit-bot@chromium.org | d04e1dd | 2014-04-19 13:55:50 +0000 | [diff] [blame] | 17 | {{if .Name}} |
commit-bot@chromium.org | 9004192 | 2014-04-22 21:13:45 +0000 | [diff] [blame] | 18 | {{template "content.html" .}} |
commit-bot@chromium.org | d04e1dd | 2014-04-19 13:55:50 +0000 | [diff] [blame] | 19 | |
commit-bot@chromium.org | d04e1dd | 2014-04-19 13:55:50 +0000 | [diff] [blame] | 20 | <section id=tryHistory> |
commit-bot@chromium.org | d04e1dd | 2014-04-19 13:55:50 +0000 | [diff] [blame] | 21 | </section> |
| 22 | |
commit-bot@chromium.org | 9004192 | 2014-04-22 21:13:45 +0000 | [diff] [blame] | 23 | <script type="text/javascript" charset="utf-8"> |
| 24 | var history = {{.Tries}}; |
| 25 | </script> |
commit-bot@chromium.org | d04e1dd | 2014-04-19 13:55:50 +0000 | [diff] [blame] | 26 | <script type='text/javascript' charset='utf-8'> |
| 27 | // Set the workspace name so run.js also updates the history. |
| 28 | var workspaceName = "{{.Name}}"; |
| 29 | </script> |
fmalita@google.com | 950306c | 2014-05-01 15:14:56 +0000 | [diff] [blame^] | 30 | <script src="/res/js/webtry.js" type="text/javascript" charset="utf-8"></script> |
commit-bot@chromium.org | d04e1dd | 2014-04-19 13:55:50 +0000 | [diff] [blame] | 31 | {{else}} |
commit-bot@chromium.org | 9004192 | 2014-04-22 21:13:45 +0000 | [diff] [blame] | 32 | <section id=content> |
| 33 | <h1>Create</h1> |
| 34 | Create a new workspace: |
| 35 | <form action="." method="POST" accept-charset="utf-8"> |
| 36 | <p><input type="submit" value="Create"></p> |
| 37 | </form> |
commit-bot@chromium.org | d04e1dd | 2014-04-19 13:55:50 +0000 | [diff] [blame] | 38 | </section> |
commit-bot@chromium.org | 9004192 | 2014-04-22 21:13:45 +0000 | [diff] [blame] | 39 | {{end}} |
commit-bot@chromium.org | d04e1dd | 2014-04-19 13:55:50 +0000 | [diff] [blame] | 40 | </body> |
| 41 | </html> |