mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-26 02:28:06 +01:00
Merge pull request #5946 from pureshine/replication_revert
Revert replication dialog
This commit is contained in:
commit
86cddf3414
@ -88,26 +88,24 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
<label *ngIf="noEndpointInfo.length != 0" class="colorRed alertLabel">{{noEndpointInfo | translate}}</label>
|
<label *ngIf="noEndpointInfo.length != 0" class="colorRed alertLabel">{{noEndpointInfo | translate}}</label>
|
||||||
<span class="alertLabel goLink" *ngIf="noEndpointInfo.length != 0" (click)="goRegistry()">{{'REPLICATION.ENDPOINTS' | translate}}</span>
|
<span class="alertLabel goLink" *ngIf="noEndpointInfo.length != 0" (click)="goRegistry()">{{'REPLICATION.ENDPOINTS' | translate}}</span>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--Trigger-->
|
<!--Trigger-->
|
||||||
<div class="form-group form-group-override">
|
<div class="form-group form-group-override">
|
||||||
<label class="form-group-label-override">{{'REPLICATION.TRIGGER_MODE' | translate}}</label>
|
<label class="form-group-label-override">{{'REPLICATION.TRIGGER_MODE' | translate}}</label>
|
||||||
<div formGroupName="trigger">
|
<div formGroupName="trigger">
|
||||||
|
<!--on trigger-->
|
||||||
|
<div class="select floatSetPar">
|
||||||
|
<select id="ruleTrigger" formControlName="kind" (change)="selectTrigger($event)">
|
||||||
|
<option value="Manual">{{'REPLICATION.MANUAL' | translate}}</option>
|
||||||
|
<option value="Immediate">{{'REPLICATION.IMMEDIATE' | translate}}</option>
|
||||||
|
<option value="Scheduled">{{'REPLICATION.SCHEDULE' | translate}}</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
<!--on push-->
|
<!--on push-->
|
||||||
<div formGroupName="schedule_param">
|
<div formGroupName="schedule_param">
|
||||||
<!--on trigger-->
|
|
||||||
<div class="select floatSetPar">
|
|
||||||
<select id="ruleTrigger" formControlName="kind" (change)="selectTrigger($event)">
|
|
||||||
<option value="Manual">{{'REPLICATION.MANUAL' | translate}}</option>
|
|
||||||
<option value="Immediate">{{'REPLICATION.IMMEDIATE' | translate}}</option>
|
|
||||||
<option value="Scheduled">{{'REPLICATION.SCHEDULE' | translate}}</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div class="select floatSet" [hidden]="!isScheduleOpt">
|
<div class="select floatSet" [hidden]="!isScheduleOpt">
|
||||||
<select name="scheduleType" formControlName="type" (change)="selectSchedule($event)">
|
<select name="scheduleType" formControlName="type" (change)="selectSchedule($event)">
|
||||||
<option value="Daily">{{'REPLICATION.DAILY' | translate}}</option>
|
<option value="Daily">{{'REPLICATION.DAILY' | translate}}</option>
|
||||||
|
@ -28,6 +28,7 @@ h4 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.alertLabel {
|
.alertLabel {
|
||||||
|
display: block;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@ -154,7 +155,6 @@ h4 {
|
|||||||
border-bottom: 1px solid blue;
|
border-bottom: 1px solid blue;
|
||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-left: 12px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.arrowSet{
|
.arrowSet{
|
||||||
@ -167,7 +167,7 @@ h4 {
|
|||||||
|
|
||||||
clr-modal {
|
clr-modal {
|
||||||
::ng-deep div.modal-dialog {
|
::ng-deep div.modal-dialog {
|
||||||
width: 29rem;
|
width: 25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user