Merge pull request #5890 from pureshine/modify_dialog

Make the replication dialog a little bit wider
This commit is contained in:
Cheng Fangyuan 2018-09-14 11:57:33 +08:00 committed by GitHub
commit c25ad4a3ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 12 deletions

View File

@ -88,14 +88,18 @@
</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 push-->
<div formGroupName="schedule_param">
<!--on trigger--> <!--on trigger-->
<div class="select floatSetPar"> <div class="select floatSetPar">
<select id="ruleTrigger" formControlName="kind" (change)="selectTrigger($event)"> <select id="ruleTrigger" formControlName="kind" (change)="selectTrigger($event)">
@ -104,8 +108,6 @@
<option value="Scheduled">{{'REPLICATION.SCHEDULE' | translate}}</option> <option value="Scheduled">{{'REPLICATION.SCHEDULE' | translate}}</option>
</select> </select>
</div> </div>
<!--on push-->
<div formGroupName="schedule_param">
<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>

View File

@ -28,7 +28,6 @@ h4 {
} }
.alertLabel { .alertLabel {
display: block;
margin-top: 2px; margin-top: 2px;
line-height: 1em; line-height: 1em;
font-size: 12px; font-size: 12px;
@ -155,6 +154,7 @@ 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: 25rem; width: 29rem;
} }
} }