-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ui): load jsonschema && remove some semantic style (#6285)
- Loading branch information
Showing
22 changed files
with
80 additions
and
373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
.asCodeEvents { | ||
ul { | ||
li { | ||
ul { | ||
list-style: none; | ||
} | ||
} | ||
} | ||
.footer { | ||
text-align: right; | ||
} | ||
@import "../../../../common"; | ||
|
||
.green { | ||
color: $cds_color_green | ||
} | ||
|
||
.blue { | ||
color: $cds_color_teal | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,25 @@ | ||
<form class="ui form"> | ||
<div class="ui grid"> | ||
<div class="sixteen wide column"> | ||
<div class="field"> | ||
<label>{{ 'ascode_modal_label_branch' | translate }}</label> | ||
<input type="text" [(ngModel)]="selectedBranch" (keyup)="changeParam()" auto-complete [source]="branches" [min-chars]="1" name="branch" /> | ||
</div> | ||
<div class="field"> | ||
<label>{{ 'ascode_modal_label_message' | translate }}</label> | ||
<textarea rows="2" [(ngModel)]="commitMessage" (keyup)="changeParam()" name="commitMessage"></textarea> | ||
</div> | ||
</div> | ||
<div class="sixteen wide column"> | ||
<div class="wide field"> | ||
<div class="ui message red" *ngIf="operation?.status > 2"> | ||
{{operation.error_details.message}} - | ||
{{operation.error_details.from}} | ||
</div> | ||
<div class="ui message green" *ngIf="operation?.status === 2"> | ||
{{ 'workflow_as_code_pr_success' | translate }} | ||
<a href="{{operation.setup.push.pr_link}}" target="_blank">{{ operation.setup.push.pr_link }}</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<form nz-form nzLayout="vertical"> | ||
<nz-row> | ||
<nz-col [nzSpan]="24"> | ||
<nz-form-item> | ||
<nz-form-label>{{ 'ascode_modal_label_branch' | translate }}</nz-form-label> | ||
<nz-form-control> | ||
<input nz-input type="text" [(ngModel)]="selectedBranch" (keyup)="changeParam()" auto-complete [source]="branches" [min-chars]="1" name="branch" /> | ||
</nz-form-control> | ||
</nz-form-item> | ||
<nz-form-item> | ||
<nz-form-label>{{ 'ascode_modal_label_message' | translate }}</nz-form-label> | ||
<textarea nz-input rows="2" [(ngModel)]="commitMessage" (keyup)="changeParam()" name="commitMessage"></textarea> | ||
</nz-form-item> | ||
</nz-col> | ||
<nz-col [nzSpan]="24"> | ||
<nz-alert nzType="error" *ngIf="operation?.status > 2" | ||
nzMessage="{{operation.error_details.message}} - {{operation.error_details.from}}"></nz-alert> | ||
<nz-alert nzType="success" *ngIf="operation?.status === 2" [nzMessage]="sucessTmpl"></nz-alert> | ||
<ng-template #sucessTmpl> | ||
{{ 'workflow_as_code_pr_success' | translate }} | ||
<a href="{{operation.setup.push.pr_link}}" target="_blank">{{ operation.setup.push.pr_link }}</a> | ||
</ng-template> | ||
</nz-col> | ||
</nz-row> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
nz-alert { | ||
margin-bottom: 15px; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.