Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: experimental/webtry/templates/workspace.html

Issue 656463002: add support for skfiddle width/height options (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add new db creation commands to the design documnt Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/webtry/templates/sidebar.html ('k') | experimental/webtry/webtry.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/webtry/templates/workspace.html
diff --git a/experimental/webtry/templates/workspace.html b/experimental/webtry/templates/workspace.html
index cb7a82740bbce52b3a4236184fc75b51b1605753..f1799ecfe75a87a75ff17115eeeb38040d75760d 100644
--- a/experimental/webtry/templates/workspace.html
+++ b/experimental/webtry/templates/workspace.html
@@ -6,35 +6,37 @@
<link rel='import' type='text/html' href='/res/imp/zoom.html'>
</head>
<body>
- <template id=tryTemplate>
+ <template id="tryTemplate">
<div class=tries data-try=''>
- <img width=64 height=64 src=''>
+ <img width="64" src=''>
</div>
</template>
- {{template "titlebar.html" .}}
-{{if .Name}}
- {{template "content.html" .}}
-
- <section id=tryHistory>
- </section>
+ <div id="wrapper">
+ {{template "titlebar.html" .}}
+ {{if .Name}}
+ <div id="lower-wrapper">
+ {{template "sidebar.html" .}}
+ {{template "content.html" .}}
+ </div>
+ <section id="tryHistory">
+ </section>
- <script type='text/javascript'>
- var history_ = {{.Tries}};
- console.log(history_);
- </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" .}}
+ <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>
+ <form action="" method="POST">
+ <input class='btn btn-primary btn-lg' type='submit' value='Create a new workspace'>
+ </form>
+ </section>
+ {{end}}
+ {{template "footercommon.html" .}}
+ </div>
</body>
</html>
« no previous file with comments | « experimental/webtry/templates/sidebar.html ('k') | experimental/webtry/webtry.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698