mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-02 13:01:23 +01:00
Make the replication dialog a little bit wider
Signed-off-by: Cheng <fangyuanc@vmware.com>
This commit is contained in:
parent
f3cc7676ef
commit
98cba2a1a9
@ -81,18 +81,16 @@
|
||||
<!--Targets-->
|
||||
<div class="form-group form-group-override">
|
||||
<label class="form-group-label-override required">{{'DESTINATION.ENDPOINT' | translate}}</label>
|
||||
<div formArrayName="targets">
|
||||
<div formArrayName="targets" class="form-select">
|
||||
<div class="select endpointSelect pull-left" *ngFor="let target of targets.controls; let i= index" [formGroupName]="i">
|
||||
<select id="ruleTarget" (change)="targetChange($event)" formControlName="id">
|
||||
<option *ngFor="let target of targetList" value="{{target.id}}">{{target.name}}-{{target.endpoint}}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--Trigger-->
|
||||
<div class="form-group form-group-override">
|
||||
|
@ -28,6 +28,7 @@ h4 {
|
||||
}
|
||||
|
||||
.alertLabel {
|
||||
display: block;
|
||||
margin-top: 2px;
|
||||
line-height: 1em;
|
||||
font-size: 12px;
|
||||
@ -153,12 +154,15 @@ h4 {
|
||||
width: 6.5rem;
|
||||
}
|
||||
|
||||
.form-select {
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
.goLink {
|
||||
color: blue;
|
||||
border-bottom: 1px solid blue;
|
||||
line-height: 14px;
|
||||
cursor: pointer;
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.arrowSet{
|
||||
|
Loading…
Reference in New Issue
Block a user