mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-05 15:38:20 +01:00
update for retrieving replication-jobs.
This commit is contained in:
parent
bd88f01afe
commit
8659dc1988
@ -55,7 +55,7 @@
|
|||||||
<hr class="hr-line"/>
|
<hr class="hr-line"/>
|
||||||
<div class="form-inline">
|
<div class="form-inline">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input type="text" class="form-control" placeholder="" ng-model="vm.replicationJobName" size="30">
|
<input type="text" class="form-control" placeholder="" ng-model="vm.repositoryName" size="30">
|
||||||
<span class="input-group-btn">
|
<span class="input-group-btn">
|
||||||
<button class="btn btn-primary" type="button" ng-click="vm.searchReplicationJob()"><span class="glyphicon glyphicon-search"></span></button>
|
<button class="btn btn-primary" type="button" ng-click="vm.searchReplicationJob()"><span class="glyphicon glyphicon-search"></span></button>
|
||||||
</span>
|
</span>
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
|
|
||||||
return listReplicationJob;
|
return listReplicationJob;
|
||||||
|
|
||||||
function listReplicationJob(policyId, name) {
|
function listReplicationJob(policyId, repository) {
|
||||||
return $http
|
return $http
|
||||||
.get('/api/jobs/replication/', {
|
.get('/api/jobs/replication/', {
|
||||||
'params': {
|
'params': {
|
||||||
'policy_id': policyId,
|
'policy_id': policyId,
|
||||||
'name': name
|
'repository': repository
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user