-
Notifications
You must be signed in to change notification settings - Fork 741
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
16 changed files
with
93 additions
and
105 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
13 changes: 13 additions & 0 deletions
13
src/workbench/browser/src/app/eoui/iconpark-icon/eo-iconpark-icon.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,13 @@ | ||
import { Component, Input } from '@angular/core'; | ||
|
||
@Component({ | ||
// standalone: true, | ||
selector: 'eo-iconpark-icon', | ||
template: `<iconpark-icon [name]="name"></iconpark-icon>`, | ||
styleUrls: [], | ||
}) | ||
export class EoIconparkIconComponent { | ||
@Input() name: string; | ||
|
||
constructor() {} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/workbench/browser/src/app/eoui/iconpark-icon/eo-iconpark-icon.module.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,11 @@ | ||
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { EoIconparkIconComponent } from './eo-iconpark-icon.component'; | ||
|
||
@NgModule({ | ||
declarations: [EoIconparkIconComponent], | ||
imports: [CommonModule], | ||
exports: [EoIconparkIconComponent], | ||
schemas: [CUSTOM_ELEMENTS_SCHEMA], | ||
}) | ||
export class EoIconparkIconModule {} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ nz-content { | |
} | ||
|
||
nz-select { | ||
width: 120px; | ||
width: 126px; | ||
} | ||
|
||
nz-sider { | ||
|
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
27 changes: 8 additions & 19 deletions
27
src/workbench/browser/src/app/pages/api/history/eo-history.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,31 +1,20 @@ | ||
<div> | ||
<div class="flex items-center justify-between h-10 px-2 history-title"> | ||
<span class="font-bold">History</span> | ||
<div | ||
class="flex items-center justify-center cursor-pointer shrink-0 h-7" | ||
nzTooltipTitle="Clear All" | ||
nz-tooltip | ||
nz-popconfirm | ||
nzPopconfirmTitle="Are you sure delete all history?" | ||
(nzOnConfirm)="clearAllHistory()" | ||
(nzOnCancel)="cancel()" | ||
nzOkText="Yes" | ||
nzCancelText="No" | ||
nzPopconfirmPlacement="topRight" | ||
> | ||
<div class="flex items-center justify-center cursor-pointer shrink-0 h-7" nzTooltipTitle="Clear All" nz-tooltip | ||
nz-popconfirm nzPopconfirmTitle="Are you sure delete all history?" (nzOnConfirm)="clearAllHistory()" | ||
(nzOnCancel)="cancel()" nzOkText="Yes" nzCancelText="No" nzPopconfirmPlacement="topRight"> | ||
<span class="flex items-center justify-center icon"> | ||
<iconpark-icon name="delete"></iconpark-icon> | ||
<eo-iconpark-icon name="delete"> | ||
</eo-iconpark-icon> | ||
</span> | ||
</div> | ||
</div> | ||
<div | ||
*ngFor="let item of historyList" | ||
class="flex items-center h-8 p-2 text-xs cursor-pointer hover:bg-gray-100" | ||
(click)="gotoTestHistory(item)" | ||
> | ||
<div *ngFor="let item of historyList" class="flex items-center h-8 p-2 text-xs cursor-pointer hover:bg-gray-100" | ||
(click)="gotoTestHistory(item)"> | ||
<span class="block w-12 font-light method_type" [ngClass]="methodColor(item.request.method)">{{ | ||
item.request.method | ||
}}</span> | ||
}}</span> | ||
<span class="flex-1 overflow-hidden text-gray-600 truncate">{{ item.request.uri }}</span> | ||
</div> | ||
</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
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
15 changes: 5 additions & 10 deletions
15
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
Oops, something went wrong.