Skip to content
Snippets Groups Projects
Commit b19561a2 authored by Severine Duvaud's avatar Severine Duvaud
Browse files

Added mention to Beacon v0.3 to the home page

parent 576aa549
Branches
No related tags found
No related merge requests found
...@@ -25,6 +25,15 @@ arrayMap.controller('BeaconController', ['$scope', '$location', function ($scope ...@@ -25,6 +25,15 @@ arrayMap.controller('BeaconController', ['$scope', '$location', function ($scope
"variantClass": "DEL" "variantClass": "DEL"
} }
$scope.getNewApiUrl = function () {
return $location.absUrl() + "v0.3/query?" +
"referenceName=11" +
"&start=34439881" +
"&assemblyId=GRCh38" +
"&datasetIds=8070/3" +
"&variantClass=DEL";
};
$scope.getInfoUrl = function () { $scope.getInfoUrl = function () {
return $location.absUrl() + "info" return $location.absUrl() + "info"
}; };
......
...@@ -64,5 +64,13 @@ ...@@ -64,5 +64,13 @@
<a target="beacon" ng-href="{{getInfoUrl()}}" class="btn btn-info">Beacon Info</a> <a target="beacon" ng-href="{{getInfoUrl()}}" class="btn btn-info">Beacon Info</a>
</div> </div>
</div> </div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-8">
<a target="beacon" ng-href="{{getNewApiUrl()}}">{{getNewApiUrl()}}</a>
</div>
<div class="col-sm-2">
<a target="beacon" ng-href="{{getNewApiUrl()}}" class="btn btn-info">Beacon v0.3</a>
</div>
</div>
</form> </form>
</div> </div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment