summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/skia/experimental/webtry/templates/workspace.html
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/experimental/webtry/templates/workspace.html')
-rw-r--r--chromium/third_party/skia/experimental/webtry/templates/workspace.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/chromium/third_party/skia/experimental/webtry/templates/workspace.html b/chromium/third_party/skia/experimental/webtry/templates/workspace.html
new file mode 100644
index 00000000000..9694a357b10
--- /dev/null
+++ b/chromium/third_party/skia/experimental/webtry/templates/workspace.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Workspace</title>
+ {{template "headercommon.html" .}}
+ <link rel='import' type='text/html' href='/res/imp/zoom.html'>
+</head>
+<body>
+ <template id=tryTemplate>
+ <div class=tries data-try=''>
+ <img width=64 height=64 src=''>
+ </div>
+ </template>
+ {{template "titlebar.html" .}}
+{{if .Name}}
+ {{template "content.html" .}}
+
+ <section id=tryHistory>
+ </section>
+
+ <script type='text/javascript'>
+ var history = {{.Tries}};
+ </script>
+ <script type='text/javascript'>
+ // Set the workspace name so run.js also updates the history.
+ var workspaceName = '{{.Name}}';
+ </script>
+{{else}}
+ <section id=content>
+ <h1>Create</h1>
+ Create a new workspace:
+ <form action='.' method='POST'>
+ <p><input type='submit' value='Create'></p>
+ </form>
+ </section>
+{{end}}
+ {{template "footercommon.html" .}}
+</body>
+</html>