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

Side by Side Diff: experimental/webtry/templates/workspace.html

Issue 363003004: Fix history handling for workspaces, issue with M36 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 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 unified diff | Download patch
« no previous file with comments | « experimental/webtry/res/js/webtry.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Workspace</title> 4 <title>Workspace</title>
5 {{template "headercommon.html" .}} 5 {{template "headercommon.html" .}}
6 <link rel='import' type='text/html' href='/res/imp/zoom.html'> 6 <link rel='import' type='text/html' href='/res/imp/zoom.html'>
7 </head> 7 </head>
8 <body> 8 <body>
9 <template id=tryTemplate> 9 <template id=tryTemplate>
10 <div class=tries data-try=''> 10 <div class=tries data-try=''>
11 <img width=64 height=64 src=''> 11 <img width=64 height=64 src=''>
12 </div> 12 </div>
13 </template> 13 </template>
14 {{template "titlebar.html" .}} 14 {{template "titlebar.html" .}}
15 {{if .Name}} 15 {{if .Name}}
16 {{template "content.html" .}} 16 {{template "content.html" .}}
17 17
18 <section id=tryHistory> 18 <section id=tryHistory>
19 </section> 19 </section>
20 20
21 <script type='text/javascript'> 21 <script type='text/javascript'>
22 var history = {{.Tries}}; 22 var history_ = {{.Tries}};
23 console.log(history_);
23 </script> 24 </script>
24 <script type='text/javascript'> 25 <script type='text/javascript'>
25 // Set the workspace name so run.js also updates the history. 26 // Set the workspace name so run.js also updates the history.
26 var workspaceName = '{{.Name}}'; 27 var workspaceName = '{{.Name}}';
27 </script> 28 </script>
28 {{else}} 29 {{else}}
29 <section id=content> 30 <section id=content>
30 <h1>Create</h1> 31 <h1>Create</h1>
31 Create a new workspace: 32 Create a new workspace:
32 <form action='.' method='POST'> 33 <form action='.' method='POST'>
33 <p><input type='submit' value='Create'></p> 34 <p><input type='submit' value='Create'></p>
34 </form> 35 </form>
35 </section> 36 </section>
36 {{end}} 37 {{end}}
37 {{template "footercommon.html" .}} 38 {{template "footercommon.html" .}}
38 </body> 39 </body>
39 </html> 40 </html>
OLDNEW
« no previous file with comments | « experimental/webtry/res/js/webtry.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698