-
Notifications
You must be signed in to change notification settings - Fork 4
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
1 parent
8517052
commit fbd2824
Showing
12 changed files
with
62 additions
and
58 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
20 changes: 0 additions & 20 deletions
20
src/assets/wise5/authoringTool/choose-node-location/insert-node-after-button.component.ts
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...ool/choose-node-location/insert-node-after-button/insert-node-after-button.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,11 @@ | ||
<button | ||
mat-raised-button | ||
color="primary" | ||
[disabled]="disabled" | ||
(click)="insertEvent.emit()" | ||
matTooltip="Insert after" | ||
matTooltipPosition="above" | ||
i18n-matTooltip | ||
> | ||
<mat-icon style="margin: 0">subdirectory_arrow_left</mat-icon> | ||
</button> |
10 changes: 10 additions & 0 deletions
10
...gTool/choose-node-location/insert-node-after-button/insert-node-after-button.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,10 @@ | ||
import { Component, EventEmitter, Input, Output } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'insert-node-after-button', | ||
templateUrl: './insert-node-after-button.component.html' | ||
}) | ||
export class InsertNodeAfterButtonComponent { | ||
@Input() protected disabled: boolean; | ||
@Output() protected insertEvent = new EventEmitter(); | ||
} |
18 changes: 0 additions & 18 deletions
18
src/assets/wise5/authoringTool/choose-node-location/insert-node-inside-button.component.ts
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
...l/choose-node-location/insert-node-inside-button/insert-node-inside-button.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,10 @@ | ||
<button | ||
mat-raised-button | ||
color="primary" | ||
(click)="insertEvent.emit()" | ||
matTooltip="Insert inside" | ||
matTooltipPosition="above" | ||
i18n-matTooltip | ||
> | ||
<mat-icon style="margin: 0">call_received</mat-icon> | ||
</button> |
9 changes: 9 additions & 0 deletions
9
...ool/choose-node-location/insert-node-inside-button/insert-node-inside-button.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,9 @@ | ||
import { Component, EventEmitter, Output } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'insert-node-inside-button', | ||
templateUrl: './insert-node-inside-button.component.html' | ||
}) | ||
export class InsertNodeInsideButtonComponent { | ||
@Output() protected insertEvent = new EventEmitter(); | ||
} |
4 changes: 4 additions & 0 deletions
4
...authoringTool/choose-node-location/node-icon-and-title/node-icon-and-title.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,4 @@ | ||
<div fxLayout="row" fxLayoutAlign="start center" fxLayoutGap="8px"> | ||
<node-icon [nodeId]="nodeId" size="18"></node-icon> | ||
<span *ngIf="showPosition">{{ getNodePosition(nodeId) }}: </span>{{ getNodeTitle(nodeId) }} | ||
</div> |
7 changes: 2 additions & 5 deletions
7
...location/node-icon-and-title.component.ts → ...nd-title/node-icon-and-title.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
7 changes: 7 additions & 0 deletions
7
...oose-node-location/node-with-move-after-button/node-with-move-after-button.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,7 @@ | ||
<div fxLayout="row" fxLayoutAlign="start center" fxLayoutGap="8px"> | ||
<node-icon-and-title [nodeId]="nodeId"></node-icon-and-title> | ||
<insert-node-after-button | ||
[disabled]="disabled" | ||
(insertEvent)="insertEvent.emit()" | ||
></insert-node-after-button> | ||
</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