forked from goharbor/harbor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request goharbor#4899 from ninjadq/mv_string_to_html_n_css
Fix legacy issues that html and css file are written on ts file.
Showing
191 changed files
with
1,041 additions
and
2,155 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
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
4 changes: 1 addition & 3 deletions
4
...c/config/registry-config.component.css.ts → ...src/config/registry-config.component.scss
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,9 +1,7 @@ | ||
export const REGISTRY_CONFIG_STYLES: string = ` | ||
.info-tips-icon { | ||
color: grey; | ||
} | ||
|
||
.info-tips-icon:hover { | ||
color: #007CBB; | ||
} | ||
`; | ||
} |
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
File renamed without changes.
6 changes: 2 additions & 4 deletions
6
src/ui_ng/lib/src/config/replication/replication-config.component.ts
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
File renamed without changes.
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
31 changes: 31 additions & 0 deletions
31
src/ui_ng/lib/src/config/vulnerability/vulnerability-config.component.scss
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,31 @@ | ||
.form-group-override { | ||
padding-left: 0px !important; | ||
} | ||
|
||
.section-title { | ||
font-size: 14px !important; | ||
font-weight: 600 !important; | ||
} | ||
|
||
.btn-font { | ||
font-size: 12px !important; | ||
} | ||
|
||
.namespace { | ||
margin-left: 24px; | ||
} | ||
|
||
.clr-dropdown-override { | ||
margin-top: -8px; | ||
} | ||
.btn-scan-right{ | ||
margin-left: 10px; | ||
} | ||
.btn-scan-right button{ | ||
width: 160px; | ||
margin-bottom: 0px; | ||
margin-top: 5px; | ||
} | ||
.btn-scan-right span{ | ||
margin-top: 4px; | ||
} |
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
30 changes: 0 additions & 30 deletions
30
src/ui_ng/lib/src/confirmation-dialog/confirmation-dialog.component.css.ts
This file was deleted.
Oops, something went wrong.
45 changes: 45 additions & 0 deletions
45
src/ui_ng/lib/src/confirmation-dialog/confirmation-dialog.component.html
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,45 @@ | ||
<clr-modal [(clrModalOpen)]="opened" [clrModalClosable]="false" [clrModalStaticBackdrop]="true"> | ||
<h3 class="modal-title" class="confirmation-title" style="margin-top: 0px;">{{dialogTitle}}</h3> | ||
<div class="modal-body"> | ||
<div class="confirmation-icon-inline"> | ||
<clr-icon shape="warning" class="is-warning" size="64"></clr-icon> | ||
</div> | ||
<div class="confirmation-content">{{dialogContent}}</div> | ||
<div> | ||
<ul class="batchInfoUl"> | ||
<li *ngFor="let info of batchInfors"> | ||
<span><i class="spinner spinner-inline spinner-pos" [hidden]='!info.loading'></i> {{info.name}}</span> | ||
<span *ngIf="!info.errorInfo.length" [style.color]="colorChange(info)">{{info.status}}</span> | ||
<span *ngIf="info.errorInfo.length" [style.color]="colorChange(info)"> | ||
<a (click)="toggleErrorTitle(errorInfo)">{{info.status}}</a> | ||
<br> | ||
<i #errorInfo style="display: none;">{{info.errorInfo}}</i> | ||
</span> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="modal-footer" [ngSwitch]="buttons"> | ||
<ng-template [ngSwitchCase]="0"> | ||
<button type="button" class="btn btn-outline" (click)="cancel()">{{'BUTTON.CANCEL' | translate}}</button> | ||
<button type="button" class="btn btn-primary" (click)="confirm()">{{'BUTTON.CONFIRM' | translate}}</button> | ||
</ng-template> | ||
<ng-template [ngSwitchCase]="1"> | ||
<button type="button" class="btn btn-outline" (click)="cancel()">{{'BUTTON.NO' | translate}}</button> | ||
<button type="button" class="btn btn-primary" (click)="confirm()">{{ 'BUTTON.YES' | translate}}</button> | ||
</ng-template> | ||
<ng-template [ngSwitchCase]="2"> | ||
<button type="button" class="btn btn-outline" (click)="cancel()" [hidden]="isDelete">{{'BUTTON.CANCEL' | translate}}</button> | ||
<button type="button" class="btn btn-danger" (click)="operate()" [hidden]="isDelete">{{'BUTTON.DELETE' | translate}}</button> | ||
<button type="button" class="btn btn-primary" (click)="cancel()" [disabled]="!batchOverStatus" [hidden]="!isDelete">{{'BUTTON.CLOSE' | translate}}</button> | ||
</ng-template> | ||
<ng-template [ngSwitchCase]="3"> | ||
<button type="button" class="btn btn-primary" (click)="cancel()">{{'BUTTON.CLOSE' | translate}}</button> | ||
</ng-template> | ||
<ng-template [ngSwitchCase]="4"> | ||
<button type="button" class="btn btn-outline" (click)="cancel()" [hidden]="isDelete">{{'BUTTON.CANCEL' | translate}}</button> | ||
<button type="button" class="btn btn-primary" (click)="operate()" [hidden]="isDelete">{{'BUTTON.REPLICATE' | translate}}</button> | ||
<button type="button" class="btn btn-primary" (click)="cancel()" [disabled]="!batchOverStatus" [hidden]="!isDelete">{{'BUTTON.CLOSE' | translate}}</button> | ||
</ng-template> | ||
</div> | ||
</clr-modal> |
46 changes: 0 additions & 46 deletions
46
src/ui_ng/lib/src/confirmation-dialog/confirmation-dialog.component.html.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.