Merge remote-tracking branch 'hupstream/master'

This commit is contained in:
Henry Zhang 2016-07-14 18:46:58 +08:00
commit f36cd2a80b
6 changed files with 12 additions and 11 deletions

View File

@ -54,7 +54,7 @@
cursor: all-scroll; cursor: all-scroll;
} }
#down-pane { #down-pane {
height: 530px; height: 582px;
} }
.sub-pane-split { .sub-pane-split {

View File

@ -57,9 +57,9 @@
</form> </form>
</div> </div>
<div class="col-xs-2 col-md-2"> <div class="col-xs-2 col-md-2">
<form> <form>
<div class="form-group" style="margin-top: 69%;"> <div class="form-group" style="position: relative; top: 100px;">
<button type="button" class="btn btn-primary" ng-click="vm.doSearch({op: vm.op})">// 'search' | tr //</button> <button type="button" class="btn btn-primary" ng-click="vm.doSearch({op: vm.op})">// 'search' | tr //</button>
</div> </div>
</form> </form>

View File

@ -126,7 +126,7 @@
</thead> </thead>
</table> </table>
</div> </div>
<div class="table-body-container" style="height: 370px;"> <div class="table-body-container" style="height: 510px;">
<table class="table table-pane"> <table class="table table-pane">
<tbody> <tbody>
<tr ng-if="vm.replicationJobs.length == 0"> <tr ng-if="vm.replicationJobs.length == 0">
@ -146,7 +146,8 @@
</table> </table>
</div> </div>
</div> </div>
</div> </div>
<div class="col-xs-4 col-md-12 well well-sm well-custom well-split"><div class="col-md-offset-10">//vm.replicationJobs ? vm.replicationJobs.length : 0// // 'items' | tr //</div></div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -42,7 +42,7 @@
function ListReplicationController($scope, getParameterByName, $location, ListReplicationPolicyService, ToggleReplicationPolicyService, ListReplicationJobService, $window, $filter, trFilter, jobStatus) { function ListReplicationController($scope, getParameterByName, $location, ListReplicationPolicyService, ToggleReplicationPolicyService, ListReplicationJobService, $window, $filter, trFilter, jobStatus) {
var vm = this; var vm = this;
vm.sectionHeight = {'min-height': '1200px'}; vm.sectionHeight = {'min-height': '1260px'};
$scope.$on('$locationChangeSuccess', function() { $scope.$on('$locationChangeSuccess', function() {
vm.projectId = getParameterByName('project_id', $location.absUrl()); vm.projectId = getParameterByName('project_id', $location.absUrl());

View File

@ -264,7 +264,7 @@ var locale_messages = {
'found_error_in_replication_job': 'Found $0 error(s).', 'found_error_in_replication_job': 'Found $0 error(s).',
'caution': 'Caution', 'caution': 'Caution',
'confirm_to_toggle_enabled_policy_title': 'Enable Policy', 'confirm_to_toggle_enabled_policy_title': 'Enable Policy',
'confirm_to_toggle_enabled_policy': 'After enabling the policy, replication jobs will be triggered to replicate all repositories under the project to the destination of the policy. Please confirm to continue.', 'confirm_to_toggle_enabled_policy': 'After enabling the replication policy, all repositories under the project will be replicated to the destination registry. Please confirm to continue.',
'confirm_to_toggle_disabled_policy_title': 'Disable Policy', 'confirm_to_toggle_disabled_policy_title': 'Disable Policy',
'confirm_to_toggle_disabled_policy': 'After disabling the policy, running replication jobs of this policy will be canceled. Please confirm to continue.' 'confirm_to_toggle_disabled_policy': 'After disabling the policy, all unfinished replication jobs of this policy will be stopped and canceled. Please confirm to continue.'
}; };

View File

@ -266,7 +266,7 @@ var locale_messages = {
'confirm_to_toggle_policy_title': '切换复制策略状态', 'confirm_to_toggle_policy_title': '切换复制策略状态',
'confirm_to_toggle_policy': '确认将复制策略 $0 切换为 <strong>$1</strong> 状态吗?', 'confirm_to_toggle_policy': '确认将复制策略 $0 切换为 <strong>$1</strong> 状态吗?',
'confirm_to_toggle_enabled_policy_title': '启用策略', 'confirm_to_toggle_enabled_policy_title': '启用策略',
'confirm_to_toggle_enabled_policy': '启用策略后,系统将触发复制任务来同步项目下的所有镜像仓库到策略的目标实例。请确认继续。', 'confirm_to_toggle_enabled_policy': '启用策略后,该项目下的所有镜像仓库将复制到目标实例。请确认继续。',
'confirm_to_toggle_disabled_policy_title': '停用策略', 'confirm_to_toggle_disabled_policy_title': '停用策略',
'confirm_to_toggle_disabled_policy': '停用策略后,属于此策略的所有复制任务将终止。请确认继续。' 'confirm_to_toggle_disabled_policy': '停用策略后,所有未完成的复制任务将终止和取消。请确认继续。'
}; };