blob: c08315941e3161ab956317ca941d1ddd9ed6ba33 [file] [log] [blame]
commit-bot@chromium.orgd04e1dd2014-04-19 13:55:50 +00001<!DOCTYPE html>
2<html>
3<head>
4 <title>Workspace</title>
5 <meta charset='utf-8' />
fmalita@google.com950306c2014-05-01 15:14:56 +00006 <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.orgd04e1dd2014-04-19 13:55:50 +00009</head>
10<body>
commit-bot@chromium.orgc3b738a2014-04-21 17:36:44 +000011 <template id=tryTemplate>
commit-bot@chromium.org35ffc442014-04-22 19:32:06 +000012 <div class=tries data-try="">
13 <img width=64 height=64 src="">
14 </div>
commit-bot@chromium.orgc3b738a2014-04-21 17:36:44 +000015 </template>
commit-bot@chromium.org472f8302014-04-28 15:33:31 +000016 {{template "titlebar.html" .}}
commit-bot@chromium.orgd04e1dd2014-04-19 13:55:50 +000017{{if .Name}}
commit-bot@chromium.org90041922014-04-22 21:13:45 +000018 {{template "content.html" .}}
commit-bot@chromium.orgd04e1dd2014-04-19 13:55:50 +000019
commit-bot@chromium.orgd04e1dd2014-04-19 13:55:50 +000020 <section id=tryHistory>
commit-bot@chromium.orgd04e1dd2014-04-19 13:55:50 +000021 </section>
22
commit-bot@chromium.org90041922014-04-22 21:13:45 +000023 <script type="text/javascript" charset="utf-8">
24 var history = {{.Tries}};
25 </script>
commit-bot@chromium.orgd04e1dd2014-04-19 13:55:50 +000026 <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.com950306c2014-05-01 15:14:56 +000030 <script src="/res/js/webtry.js" type="text/javascript" charset="utf-8"></script>
commit-bot@chromium.orgd04e1dd2014-04-19 13:55:50 +000031{{else}}
commit-bot@chromium.org90041922014-04-22 21:13:45 +000032 <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.orgd04e1dd2014-04-19 13:55:50 +000038 </section>
commit-bot@chromium.org90041922014-04-22 21:13:45 +000039{{end}}
commit-bot@chromium.orgd04e1dd2014-04-19 13:55:50 +000040</body>
41</html>