Projekt

Obecné

Profil

Stáhnout (814 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
<div class="test">
2
  <h1 style="text-align: center">Hello in {{title}} frontend</h1>
3
  <form #queryForm="ngForm" (ngSubmit)="sendQuery(queryForm.value)">
4
    <span><b>Object query:</b> </span>{{ queryForm.value | json }}
5
    <div class="input-group mb-3">
6
      <input type="text" class="form-control" placeholder="Query" aria-describedby="basic-addon2" ngModel name="query">
7
      <div class="input-group-append">
8
        <button class="btn btn-outline-secondary" type="submit">Search</button>
9
      </div>
10
    </div>
11

    
12
    <div class="form-group">
13
      <label for="exampleFormControlTextarea1">Response:</label>
14
      <textarea readonly class="form-control" id="exampleFormControlTextarea1" rows="10">{{response.response}}</textarea>
15
    </div>
16
  </form>
17
</div>
18

    
19
<!-- Routing -->
20
<router-outlet></router-outlet>
(3-3/6)