-
Notifications
You must be signed in to change notification settings - Fork 779
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
134 additions
and
45 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
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
1 change: 1 addition & 0 deletions
1
...rowser/src/app/shared/components/page-feature-preview/page-feature-preview.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 @@ | ||
<nz-result [nzIcon]="'smile-twotone'" [nzTitle]="'即将发布,敬请期待'"> <div nz-result-extra></div> </nz-result> |
Empty file.
25 changes: 25 additions & 0 deletions
25
...ser/src/app/shared/components/page-feature-preview/page-feature-preview.component.spec.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { PageFeaturePreviewComponent } from './page-feature-preview.component'; | ||
|
||
describe('PageFeaturePreviewComponent', () => { | ||
let component: PageFeaturePreviewComponent; | ||
let fixture: ComponentFixture<PageFeaturePreviewComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [ PageFeaturePreviewComponent ] | ||
}) | ||
.compileComponents(); | ||
}); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(PageFeaturePreviewComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
15 changes: 15 additions & 0 deletions
15
.../browser/src/app/shared/components/page-feature-preview/page-feature-preview.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'eo-page-feature-preview', | ||
templateUrl: './page-feature-preview.component.html', | ||
styleUrls: ['./page-feature-preview.component.scss'] | ||
}) | ||
export class PageFeaturePreviewComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
ngOnInit(): void { | ||
} | ||
|
||
} |
18 changes: 12 additions & 6 deletions
18
src/workbench/browser/src/app/shared/components/sidebar/sidebar.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 |
---|---|---|
@@ -1,9 +1,15 @@ | ||
<div class="eo_sidebar" [ngClass]="{ eo_sidebar_shrink: isCollapsed }"> | ||
<a (click)="openApp(item.moduleID)" *ngFor="let item of this.modules"> | ||
<div nz-tooltip (nzTooltipVisibleChange)="tooltipVisibleChange($event)" [nzTooltipTitle]="item.moduleName" class="sidebar_item" [ngClass]="{sidebar_item_active:item.moduleID===this.moduleID}"> | ||
<span *ngIf="item.logo.includes('icon-')" class="iconfont fs28" [ngClass]="item.logo" ></span> | ||
<img *ngIf="!item.logo.includes('icon-')"[src]="item.logo" /> | ||
<!-- <span *ngIf="!isCollapsed">{{ item.moduleName }}</span>--> | ||
</div> | ||
<a | ||
(click)="openApp(item.moduleID)" | ||
*ngFor="let item of this.modules" | ||
class="sidebar_item" | ||
nz-tooltip | ||
(nzTooltipVisibleChange)="tooltipVisibleChange($event)" | ||
[nzTooltipTitle]="item.moduleName" | ||
[routerLink]="item.route ? item.route : '/home/blank'" | ||
[ngClass]="{ sidebar_item_active: item.moduleID === this.moduleID }" | ||
> | ||
<span *ngIf="item.logo.includes('icon-')" class="iconfont fs28" [ngClass]="item.logo"></span> | ||
<img *ngIf="!item.logo.includes('icon-')" [src]="item.logo" /> | ||
</a> | ||
</div> |
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