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

Side by Side Diff: appengine/swarming/elements/res/imp/common/swarming-app.html

Issue 2366663003: Use non-proxied links (Closed) Base URL: git@github.com:luci/luci-py@manual-add
Patch Set: Created 4 years, 3 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 This in an HTML Import-able file that contains the definition 6 This in an HTML Import-able file that contains the definition
7 of the following elements: 7 of the following elements:
8 8
9 <swarming-app> 9 <swarming-app>
10 10
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 value: false, 185 value: false,
186 }, 186 },
187 _busy2: { 187 _busy2: {
188 type: Boolean, 188 type: Boolean,
189 value: false, 189 value: false,
190 } 190 }
191 191
192 }, 192 },
193 193
194 _load: function() { 194 _load: function() {
195 this._getJsonAsync("permissions", "/_ah/api/swarming/v1/server/permissio ns", 195 this._getJsonAsync("permissions", "/api/swarming/v1/server/permissions",
196 "_busy1", this.auth_headers); 196 "_busy1", this.auth_headers);
197 this._getJsonAsync("server_version", "/_ah/api/swarming/v1/server/detail s", 197 this._getJsonAsync("server_version", "/api/swarming/v1/server/details",
198 "_busy2", this.auth_headers) 198 "_busy2", this.auth_headers)
199 }, 199 },
200 200
201 _versionLink: function(version) { 201 _versionLink: function(version) {
202 if (!version || !version.server_version) { 202 if (!version || !version.server_version) {
203 return undefined; 203 return undefined;
204 } 204 }
205 var split = version.server_version.split("-"); 205 var split = version.server_version.split("-");
206 if (split.length !== 2) { 206 if (split.length !== 2) {
207 return undefined; 207 return undefined;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 border: none; 293 border: none;
294 line-height: 20px; 294 line-height: 20px;
295 vertical-align: middle; 295 vertical-align: middle;
296 } 296 }
297 297
298 select { 298 select {
299 overflow-y: auto; 299 overflow-y: auto;
300 } 300 }
301 </style> 301 </style>
302 </dom-module> 302 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698