2014-04-19 13:55:50 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Workspace</title>
|
2014-05-19 16:40:08 +00:00
|
|
|
{{template "headercommon.html" .}}
|
|
|
|
<link rel='import' type='text/html' href='/res/imp/zoom.html'>
|
2014-04-19 13:55:50 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2014-04-21 17:36:44 +00:00
|
|
|
<template id=tryTemplate>
|
2014-05-19 16:40:08 +00:00
|
|
|
<div class=tries data-try=''>
|
|
|
|
<img width=64 height=64 src=''>
|
2014-04-22 19:32:06 +00:00
|
|
|
</div>
|
2014-04-21 17:36:44 +00:00
|
|
|
</template>
|
2014-04-28 15:33:31 +00:00
|
|
|
{{template "titlebar.html" .}}
|
2014-04-19 13:55:50 +00:00
|
|
|
{{if .Name}}
|
2014-04-22 21:13:45 +00:00
|
|
|
{{template "content.html" .}}
|
2014-04-19 13:55:50 +00:00
|
|
|
|
2014-04-22 21:13:45 +00:00
|
|
|
<section id=tryHistory>
|
2014-04-19 13:55:50 +00:00
|
|
|
</section>
|
2014-04-22 21:13:45 +00:00
|
|
|
|
2014-05-19 16:40:08 +00:00
|
|
|
<script type='text/javascript'>
|
2014-07-07 13:56:44 +00:00
|
|
|
var history_ = {{.Tries}};
|
|
|
|
console.log(history_);
|
2014-04-21 17:36:44 +00:00
|
|
|
</script>
|
2014-05-19 16:40:08 +00:00
|
|
|
<script type='text/javascript'>
|
2014-04-19 13:55:50 +00:00
|
|
|
// Set the workspace name so run.js also updates the history.
|
2014-05-19 16:40:08 +00:00
|
|
|
var workspaceName = '{{.Name}}';
|
2014-04-19 13:55:50 +00:00
|
|
|
</script>
|
|
|
|
{{else}}
|
2014-04-22 21:13:45 +00:00
|
|
|
<section id=content>
|
|
|
|
<h1>Create</h1>
|
|
|
|
Create a new workspace:
|
2014-05-19 16:40:08 +00:00
|
|
|
<form action='.' method='POST'>
|
|
|
|
<p><input type='submit' value='Create'></p>
|
2014-04-22 21:13:45 +00:00
|
|
|
</form>
|
2014-04-19 13:55:50 +00:00
|
|
|
</section>
|
2014-04-22 21:13:45 +00:00
|
|
|
{{end}}
|
2014-05-19 16:40:08 +00:00
|
|
|
{{template "footercommon.html" .}}
|
2014-04-19 13:55:50 +00:00
|
|
|
</body>
|
|
|
|
</html>
|