model-info-box.component.html 1.61 KB
Newer Older
1
<div class="my-3 p-3 bg-white rounded shadow-sm">
2
  <h6 class="border-bottom border-gray pb-2 mb-0">Info</h6>
3
4
  <table class="table table-sm mb-0" style="table-layout: fixed">
    <tbody>
Alexander Philipp Nowosad's avatar
Alexander Philipp Nowosad committed
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
      <tr class="table-borderless">
        <th scope="row" style="width: 250px">Name</th>
        <td>{{ featureModel.name }}</td>
      </tr>
      <tr>
        <th scope="row">Description</th>
        <td>{{ featureModel.description }}</td>
      </tr>
      <tr *ngIf="featureModel.hasOwnProperty('version')">
        <th scope="row">Version</th>
        <td>{{ $any(featureModel).version }}</td>
      </tr>
      <tr *ngIf="featureModel.copyright">
        <th scope="row">Copyright</th>
        <td>{{ featureModel.copyright }}</td>
      </tr>
21
22
23
24
25
26
    </tbody>
  </table>
</div>

<div
  *ngIf="featureModel.author && featureModel.author.name"
Alexander Philipp Nowosad's avatar
Alexander Philipp Nowosad committed
27
28
  class="my-3 p-3 bg-white rounded shadow-sm"
>
29
30
31
  <h6 class="border-bottom border-gray pb-2 mb-0">Author Info</h6>
  <table class="table table-sm mb-0" style="table-layout: fixed">
    <tbody>
Alexander Philipp Nowosad's avatar
Alexander Philipp Nowosad committed
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
      <tr class="table-borderless">
        <th scope="row" style="width: 250px">Name</th>
        <td>{{ featureModel.author.name }}</td>
      </tr>
      <tr *ngIf="featureModel.author.company">
        <th scope="row">Company</th>
        <td>{{ featureModel.author.company }}</td>
      </tr>
      <tr *ngIf="featureModel.author.email">
        <th scope="row">Email</th>
        <td>{{ featureModel.author.email }}</td>
      </tr>
      <tr *ngIf="featureModel.author.website">
        <th scope="row">Website</th>
        <td>{{ featureModel.author.website }}</td>
      </tr>
48
49
50
    </tbody>
  </table>
</div>