mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-02 16:49:48 +01:00
fix issue : time shown for scheduled scanning is incorrect
Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
6f62a44a17
commit
9404810a1c
@ -99,6 +99,7 @@
|
|||||||
class="btn btn-link">{{'CVE_WHITELIST.ADD'|translate}}</button>
|
class="btn btn-link">{{'CVE_WHITELIST.ADD'|translate}}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="add-modal" *ngIf="showAddModal">
|
<div class="add-modal" *ngIf="showAddModal">
|
||||||
|
<clr-icon (click)="showAddModal=false" class="float-lg-right margin-top-4" shape="window-close"></clr-icon>
|
||||||
<div>
|
<div>
|
||||||
<clr-textarea-container>
|
<clr-textarea-container>
|
||||||
<label>{{'CVE_WHITELIST.ENTER'|translate}}</label>
|
<label>{{'CVE_WHITELIST.ENTER'|translate}}</label>
|
||||||
|
@ -11,17 +11,17 @@
|
|||||||
</clr-tooltip>
|
</clr-tooltip>
|
||||||
<clr-dropdown *ngIf="isClairDBFullyReady && showScanningNamespaces" class="clr-dropdown-override">
|
<clr-dropdown *ngIf="isClairDBFullyReady && showScanningNamespaces" class="clr-dropdown-override">
|
||||||
<button class="btn btn-link btn-font" clrDropdownToggle>
|
<button class="btn btn-link btn-font" clrDropdownToggle>
|
||||||
{{ updatedTimestamp | date:'MM/dd/y HH:mm:ss' }} AM
|
{{ updatedTimestamp | date:'short' }}
|
||||||
<clr-icon shape="caret down"></clr-icon>
|
<clr-icon shape="caret down"></clr-icon>
|
||||||
</button>
|
</button>
|
||||||
<clr-dropdown-menu [clrPosition]="'bottom-right'" class="dropdown-namespace">
|
<clr-dropdown-menu [clrPosition]="'bottom-right'" class="dropdown-namespace">
|
||||||
<div *ngFor="let nt of namespaceTimestamps" class="namespace">
|
<div *ngFor="let nt of namespaceTimestamps" class="namespace">
|
||||||
<span class="label label-info">{{nt.namespace}}</span>
|
<span class="label label-info">{{nt.namespace}}</span>
|
||||||
<span>{{ convertToLocalTime(nt.last_update) | date:'MM/dd/y HH:mm:ss'}} AM</span>
|
<span>{{ convertToLocalTime(nt.last_update) | date:'short'}} </span>
|
||||||
</div>
|
</div>
|
||||||
</clr-dropdown-menu>
|
</clr-dropdown-menu>
|
||||||
</clr-dropdown>
|
</clr-dropdown>
|
||||||
<span *ngIf="isClairDBFullyReady && !showScanningNamespaces">{{ updatedTimestamp | date:'MM/dd/y HH:mm:ss' }} AM</span>
|
<span *ngIf="isClairDBFullyReady && !showScanningNamespaces">{{ updatedTimestamp | date:'short' }} </span>
|
||||||
</div>
|
</div>
|
||||||
<div class="button-group">
|
<div class="button-group">
|
||||||
<cron-selection #CronScheduleComponent [labelCurrent]="getLabelCurrent" [labelEdit]='getLabelCurrent' [originCron]='originCron' (inputvalue)="scanAll($event)"></cron-selection>
|
<cron-selection #CronScheduleComponent [labelCurrent]="getLabelCurrent" [labelEdit]='getLabelCurrent' [originCron]='originCron' (inputvalue)="scanAll($event)"></cron-selection>
|
||||||
|
@ -109,6 +109,7 @@
|
|||||||
class="btn btn-link ml-1">{{'CVE_WHITELIST.ADD_SYSTEM'|translate}}</button>
|
class="btn btn-link ml-1">{{'CVE_WHITELIST.ADD_SYSTEM'|translate}}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="add-modal" *ngIf="showAddModal && !isUseSystemWhitelist()">
|
<div class="add-modal" *ngIf="showAddModal && !isUseSystemWhitelist()">
|
||||||
|
<clr-icon (click)="showAddModal=false" class="float-lg-right margin-top-4" shape="window-close"></clr-icon>
|
||||||
<div>
|
<div>
|
||||||
<clr-textarea-container>
|
<clr-textarea-container>
|
||||||
<label>{{'CVE_WHITELIST.ENTER'|translate}}</label>
|
<label>{{'CVE_WHITELIST.ENTER'|translate}}</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user