-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from phylomeno/feature/optimize_led_setup
optimize LED configuration #37
- Loading branch information
Showing
4 changed files
with
20 additions
and
11 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
13 changes: 10 additions & 3 deletions
13
src/ui/src/app/open-race-led-strips/led-strips-list/led-strips-list.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,6 +1,13 @@ | ||
<div fxLayout="column" fxLayoutGap="1em" cdkDropList (cdkDropListDropped)="drop($event)"> | ||
<mat-card *ngFor="let ledStrip of ledStrips" class="mat-elevation-z15" cdkDrag> | ||
<div class="mat-title">LED Strip {{ledStrip.id}}</div> | ||
<mat-expansion-panel *ngFor="let ledStrip of ledStrips" class="mat-elevation-z15" cdkDrag> | ||
<mat-expansion-panel-header> | ||
<mat-panel-title> | ||
<h2>LED Strip {{ledStrip.id}}</h2> | ||
</mat-panel-title> | ||
<mat-panel-description fxLayout="row-reverse" fxLayoutAlign="start center"> | ||
<button type="button" (click)="testFlashLedStrip($event, ledStrip.id);" mat-stroked-button color="accent">Test</button> | ||
</mat-panel-description> | ||
</mat-expansion-panel-header> | ||
<app-edit-led-strip [ledStrip]="ledStrip"></app-edit-led-strip> | ||
</mat-card> | ||
</mat-expansion-panel> | ||
</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