mirror of
https://github.com/goharbor/harbor.git
synced 2025-03-22 19:39:25 +01:00
fix #2910 about scan all position
This commit is contained in:
parent
c21bbbe1e9
commit
3417ff731b
@ -36,10 +36,10 @@ export const VULNERABILITY_CONFIG_HTML: string = `
|
||||
<clr-icon shape="info-circle" class="info-tips-icon" size="24"></clr-icon>
|
||||
<span class="tooltip-content">{{'CONFIG.TOOLTIP.SCANNING_POLICY' | translate}}</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="form-group form-group-override">
|
||||
<button class="btn btn-primary btn-sm" style="width:160px;" (click)="scanNow()" [disabled]="!scanAvailable">{{ 'CONFIG.SCANNING.SCAN_NOW' | translate }}</button>
|
||||
<span style="margin-top: 12px;" *ngIf="!scanAvailable">{{ 'CONFIG.SCANNING.NEXT_SCAN' | translate }} {{ nextScanTimestamp | date:'y/MM/dd HH:mm' }}</span>
|
||||
<div class="btn-scan-right">
|
||||
<button class="btn btn-primary btn-sm" (click)="scanNow()" [disabled]="!scanAvailable">{{ 'CONFIG.SCANNING.SCAN_NOW' | translate }}</button><br>
|
||||
<span *ngIf="!scanAvailable">{{ 'CONFIG.SCANNING.NEXT_SCAN' | translate }} {{ nextScanTimestamp | date:'y/MM/dd HH:mm' }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
@ -66,4 +66,15 @@ export const VULNERABILITY_CONFIG_STYLES: string = `
|
||||
.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;
|
||||
}
|
||||
`;
|
Loading…
Reference in New Issue
Block a user