mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-02 22:18:29 +01:00
remove static after angular 6 ugprade
Signed-off-by: Meina Zhou <meinaz@vmware.com>
This commit is contained in:
parent
62cdccc5dd
commit
232a8f390a
@ -91,7 +91,7 @@ export const LabelColor = [
|
|||||||
|
|
||||||
export const RoleMapping = { 'projectAdmin': 'MEMBER.PROJECT_ADMIN', 'developer': 'MEMBER.DEVELOPER', 'guest': 'MEMBER.GUEST' };
|
export const RoleMapping = { 'projectAdmin': 'MEMBER.PROJECT_ADMIN', 'developer': 'MEMBER.DEVELOPER', 'guest': 'MEMBER.GUEST' };
|
||||||
|
|
||||||
export const DefaultHelmIcon = '/static/images/helm-gray.png';
|
export const DefaultHelmIcon = '/images/helm-gray.png';
|
||||||
|
|
||||||
export enum Roles {
|
export enum Roles {
|
||||||
PROJECT_ADMIN = 1,
|
PROJECT_ADMIN = 1,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<clr-modal [(clrModalOpen)]="opened" [clrModalClosable]="false" [clrModalStaticBackdrop]="false">
|
<clr-modal [(clrModalOpen)]="opened" [clrModalClosable]="false" [clrModalStaticBackdrop]="false">
|
||||||
<div class="modal-body dialog-body">
|
<div class="modal-body dialog-body">
|
||||||
<div class="harbor-logo-black">
|
<div class="harbor-logo-black">
|
||||||
<img [src]="'/static/images/harbor-black-logo.png'" onError="this.src='images/harbor-black-logo.png'">
|
<img [src]="'images/harbor-black-logo.png'">
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div>{{customName?.projectName? customName?.projectName : ('APP_TITLE.HARBOR' | translate)}}</div>
|
<div>{{customName?.projectName? customName?.projectName : ('APP_TITLE.HARBOR' | translate)}}</div>
|
||||||
|
@ -8,7 +8,7 @@ export class SkinableConfig {
|
|||||||
constructor(private http: Http) {}
|
constructor(private http: Http) {}
|
||||||
|
|
||||||
public getCustomFile(): Promise<any> {
|
public getCustomFile(): Promise<any> {
|
||||||
return this.http.get('../static/setting.json')
|
return this.http.get('setting.json')
|
||||||
.toPromise()
|
.toPromise()
|
||||||
.then(response => { this.customSkinData = response.json(); return this.customSkinData; })
|
.then(response => { this.customSkinData = response.json(); return this.customSkinData; })
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
|
Loading…
Reference in New Issue
Block a user