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

Side by Side Diff: appengine/swarming/ui/res/imp/tasklist/task-list-demo.html

Issue 2696613007: Add the ability to filter by time to task list. (Closed)
Patch Set: Add lots of docs and rework setDate Created 3 years, 10 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-list Demo</title> 10 <title>task-list Demo</title>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/server\/permissions/, JSON.stringify(permissions)); 70 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/server\/permissions/, JSON.stringify(permissions));
71 server.respondWith("GET", /^\/api\/swarming\/v1\/server\/permissions/, JSON. stringify(permissions)); 71 server.respondWith("GET", /^\/api\/swarming\/v1\/server\/permissions/, JSON. stringify(permissions));
72 72
73 var details = { 73 var details = {
74 server_version: "1234-deadbeef", 74 server_version: "1234-deadbeef",
75 }; 75 };
76 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/server\/details/, JSON .stringify(details)); 76 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/server\/details/, JSON .stringify(details));
77 server.respondWith("GET", /^\/api\/swarming\/v1\/server\/details/, JSON.stri ngify(details)); 77 server.respondWith("GET", /^\/api\/swarming\/v1\/server\/details/, JSON.stri ngify(details));
78 78
79 var countDetails = { 79 var countDetails = {
80 count: 450, 80 count: 450000,
81 } 81 }
82 82
83 server.respondWith("GET", /^\/api\/swarming\/v1\/tasks\/count/, function(req uest){ 83 server.respondWith("GET", /^\/api\/swarming\/v1\/tasks\/count/, function(req uest){
84 countDetails.count++; 84 countDetails.count++;
85 request.respond(200, {}, JSON.stringify(countDetails)); 85 request.respond(200, {}, JSON.stringify(countDetails));
86 }); 86 });
87 87
88 var cancelCount = 0; 88 var cancelCount = 0;
89 server.respondWith("POST", /^\/api\/swarming\/v1\/tasks\/cancel/, function(r equest){ 89 server.respondWith("POST", /^\/api\/swarming\/v1\/tasks\/cancel/, function(r equest){
90 if (!request.requestHeaders.authorization) { 90 if (!request.requestHeaders.authorization) {
(...skipping 21 matching lines...) Expand all
112 <link rel="import" href="task-list.html"> 112 <link rel="import" href="task-list.html">
113 </head> 113 </head>
114 <body> 114 <body>
115 115
116 <task-list 116 <task-list
117 client_id="20770472288-t5smpbpjptka4nd888fv0ctd23ftba2o.apps.googleusercontent .com"> 117 client_id="20770472288-t5smpbpjptka4nd888fv0ctd23ftba2o.apps.googleusercontent .com">
118 </task-list> 118 </task-list>
119 119
120 </body> 120 </body>
121 </html> 121 </html>
OLDNEW
« no previous file with comments | « appengine/swarming/ui/res/imp/tasklist/task-list.html ('k') | appengine/swarming/ui/res/imp/tasklist/task-list-summary.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698