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

Side by Side Diff: appengine/swarming/ui/res/imp/taskpage/task-page-demo.html

Issue 2813593002: Add editing of dimensions on retry (Closed)
Patch Set: Address feedback Created 3 years, 8 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
OLDNEW
1 <!-- 1 <!--
2 Copyright 2016 The LUCI Authors. All rights reserved. 2 Copyright 2016 The LUCI Authors. All rights reserved.
3 Use of this source code is governed under the Apache License, Version 2.0 3 Use of this source code is governed under the Apache License, Version 2.0
4 that can be found in the LICENSE file. 4 that can be found in the LICENSE file.
5 5
6 --> 6 -->
7 <!DOCTYPE html> 7 <!DOCTYPE html>
8 <html> 8 <html>
9 <head> 9 <head>
10 <title>task-page Demo</title> 10 <title>task-page Demo</title>
(...skipping 12 matching lines...) Expand all
23 <!-- Makes a var called stdouts. It's an array of things that could be return ed--> 23 <!-- Makes a var called stdouts. It's an array of things that could be return ed-->
24 <script type="text/javascript" src="task-stdout-demo.json"></script> 24 <script type="text/javascript" src="task-stdout-demo.json"></script>
25 <!-- Makes a var called newResponse. It is an object.--> 25 <!-- Makes a var called newResponse. It is an object.-->
26 <script type="text/javascript" src="new-task-demo.json"></script> 26 <script type="text/javascript" src="new-task-demo.json"></script>
27 27
28 <script type="text/javascript" charset="utf-8"> 28 <script type="text/javascript" charset="utf-8">
29 sinon.format = function(object) {return JSON.stringify(object);} 29 sinon.format = function(object) {return JSON.stringify(object);}
30 sinon.log = function(message) {console.log(message);}; 30 sinon.log = function(message) {console.log(message);};
31 var server = sinon.fakeServer.create(); 31 var server = sinon.fakeServer.create();
32 server.autoRespond = true; 32 server.autoRespond = true;
33 server.autoRespondAfter = 7000; 33 server.autoRespondAfter = 500;
34 34
35 var genResponse = function(arr) { 35 var genResponse = function(arr) {
36 return function(request){ 36 return function(request){
37 if (!request.requestHeaders.authorization) { 37 if (!request.requestHeaders.authorization) {
38 sinon.log("You must be logged in (check your Oauth?)"); 38 sinon.log("You must be logged in (check your Oauth?)");
39 request.respond(403, {}, "You must be logged in (check your Oauth?)"); 39 request.respond(403, {}, "You must be logged in (check your Oauth?)");
40 return; 40 return;
41 } 41 }
42 sinon.log("User authenticated :) "+ request.requestHeaders.authorization ); 42 sinon.log("User authenticated :) "+ request.requestHeaders.authorization );
43 sinon.log("Bot Request: "+sinon.format(request)); 43 sinon.log("Bot Request: "+sinon.format(request));
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 </head> 123 </head>
124 <body> 124 <body>
125 125
126 <task-page 126 <task-page
127 task_id="abcdef000" 127 task_id="abcdef000"
128 client_id="20770472288-t5smpbpjptka4nd888fv0ctd23ftba2o.apps.googleusercontent .com"> 128 client_id="20770472288-t5smpbpjptka4nd888fv0ctd23ftba2o.apps.googleusercontent .com">
129 </task-page> 129 </task-page>
130 130
131 </body> 131 </body>
132 </html> 132 </html>
OLDNEW
« no previous file with comments | « appengine/swarming/ui/res/imp/taskpage/task-page.html ('k') | appengine/swarming/ui/res/imp/taskpage/task-retry-prompt.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698