-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add context menu for column headers for DLT files
- Loading branch information
1 parent
434ebbc
commit 34c1a28
Showing
3 changed files
with
55 additions
and
8 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
27 changes: 19 additions & 8 deletions
27
application/client/src/app/ui/views/workspace/headers/template.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,10 +1,21 @@ | ||
<span class="offset" [ngStyle]="ngGetOffsetStyle()"></span> | ||
<span class="header" | ||
<span | ||
class="header" | ||
*ngFor="let header of headers; let i = index" | ||
[ngStyle]="header.styles">{{header.caption}}<span *ngIf="header.width !== undefined" class="resizer" appResizer | ||
[min]="header.width.min" | ||
[max]="header.width.max" | ||
[size]="header.width.value" | ||
[direction]="Direction.Horizontal" | ||
[corrector]="-1" | ||
(changesize)="ngResize($event, header, i)"></span></span> | ||
(mouseenter)="_ng_onMouseOver(header.caption)" | ||
[ngStyle]="header.styles" | ||
> | ||
{{header.caption}} | ||
<mat-icon *ngIf="_ng_mouseOverHeader === header.caption" class="more" (click)="_ng_onClick($event)">{{_ng_more}}</mat-icon> | ||
<span | ||
*ngIf="header.width !== undefined" | ||
class="resizer" | ||
appResizer | ||
[min]="header.width.min" | ||
[max]="header.width.max" | ||
[size]="header.width.value" | ||
[direction]="Direction.Horizontal" | ||
[corrector]="-1" | ||
(changesize)="ngResize($event, header, i)" | ||
></span> | ||
</span> |
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