rebaseline_server UI: add link to raw JSON

patchset 3 from https://codereview.chromium.org/467843002

NOTREECHECKS=true
NOTRY=true
R=stephana@google.com
TBR=stephana

Author: epoger@google.com

Review URL: https://codereview.chromium.org/475623002
This commit is contained in:
epoger 2014-08-13 19:29:49 -07:00 committed by Commit bot
parent 4c808253f4
commit 30e26cdb41
2 changed files with 3 additions and 2 deletions

View File

@ -141,12 +141,12 @@ Loader.controller(
* Once the dictionary is loaded, unhide the page elements so they can
* render the data.
*/
var liveQueryUrl =
$scope.liveQueryUrl =
"/live-results/setADir=" + encodeURIComponent($scope.setADir) +
"&setASection=" + encodeURIComponent($scope.setASection) +
"&setBDir=" + encodeURIComponent($scope.setBDir) +
"&setBSection=" + encodeURIComponent($scope.setBSection);
$http.get(liveQueryUrl).success(
$http.get($scope.liveQueryUrl).success(
function(data, status, header, config) {
var dataHeader = data[constants.KEY__ROOT__HEADER];
if (dataHeader[constants.KEY__HEADER__SCHEMA_VERSION] !=

View File

@ -50,6 +50,7 @@
<div ng-show="header[constants.KEY__HEADER__TIME_UPDATED]">
setA: "{{setASection}}" within {{setADir}}<br>
setB: "{{setBSection}}" within {{setBDir}}<br>
<a href="{{liveQueryUrl}}">latest raw JSON diffs between these two sets</a><br>
These results current as of
{{localTimeString(header[constants.KEY__HEADER__TIME_UPDATED])}}
</div>