Angular web app for entering Techblox commands
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
805B

  1. <div class="wrapper">
  2. <mat-card fxFlex="80">
  3. <mat-card-title>Techblox console</mat-card-title>
  4. <mat-card-content fxLayout="column">
  5. <div style="border: 1px solid black; padding: 15px" fxFlex="80">
  6. <pre>{{ logMessages }}</pre>
  7. </div>
  8. <form>
  9. <mat-form-field>
  10. <input matInput type="text" placeholder="Enter a command..." [formControl]="commandControl"
  11. [autocomplete]="commandCompletion"/>
  12. </mat-form-field>
  13. <mat-autocomplete #commandCompletion="matAutocomplete">
  14. <mat-option [value]="'hmm'">
  15. Hmm
  16. </mat-option>
  17. </mat-autocomplete>
  18. <button mat-raised-button class="mat-primary" (click)="sendCommand()">Send</button>
  19. </form>
  20. </mat-card-content>
  21. </mat-card>
  22. </div>