mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-12-22 19:32:49 +00:00
Style buttons, preselt songs in search
This commit is contained in:
parent
a1db0af862
commit
3a19146d17
@ -27,8 +27,8 @@ template: `
|
|||||||
<table>
|
<table>
|
||||||
<tr *ngFor="let item of searchResults">
|
<tr *ngFor="let item of searchResults">
|
||||||
<td>{{item[1]}}</td>
|
<td>{{item[1]}}</td>
|
||||||
<td><button md-button color="primary" (click)="addToService(item[0])">Add</button></td>
|
<td><button mat-button color="primary" (click)="addToService(item[0])">Add</button></td>
|
||||||
<td><button md-button color="primary" (click)="sendLive(item[0])">Send Live</button></td>
|
<td><button mat-button color="accent" (click)="sendLive(item[0])">Send Live</button></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -42,7 +42,7 @@ export class OpenLPSearchComponent implements OnInit {
|
|||||||
public searchPlugins: PluginDescription[] = [];
|
public searchPlugins: PluginDescription[] = [];
|
||||||
public searchText = null;
|
public searchText = null;
|
||||||
public searchResults = null;
|
public searchResults = null;
|
||||||
public selectedPlugin: string;
|
public selectedPlugin: string = "songs";
|
||||||
public currentPlugin: string;
|
public currentPlugin: string;
|
||||||
|
|
||||||
constructor(private openlpService: OpenLPService) {}
|
constructor(private openlpService: OpenLPService) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user