blob: 3256a0b494e6dbc23eef374cd3c756da0154b4a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
import { Component, Input } from '@angular/core';
import { ISdk } from "../services/sdk.service";
@Component({
selector: 'sdk-card',
template: `
<div class="row">
<div class="col-xs-12">
<div class="text-right" role="group">
<button disabled class="btn btn-link" (click)="delete(sdk)"><span class="fa fa-trash fa-size-x2"></span></button>
</div>
</div>
</div>
<table class="table table-striped">
<tbody>
<tr>
<th><span class="fa fa-fw fa-id-badge"></span> <span>SDK ID</span></th>
<td>{{ sdk.id }}</td>
</tr>
<tr>
<th><span class="fa fa-fw fa-user"></span> <span>Profile</span></th>
<td>{{ sdk.profile }}</td>
</tr>
<tr>
<th><span class="fa fa-fw fa-tasks"></span> <span>Architecture</span></th>
<td>{{ sdk.arch }}</td>
</tr>
<tr>
<th><span class="fa fa-fw fa-code-fork"></span> <span>Version</span></th>
<td>{{ sdk.version }}</td>
</tr>
<tr>
<th><span class="fa fa-fw fa-folder-open-o"></span> <span>Sdk path</span></th>
<td>{{ sdk.path}}</td>
</tr>
</tbody>
</table >
`,
styleUrls: ['./app/config/config.component.css']
})
export class SdkCardComponent {
@Input() sdk: ISdk;
constructor() { }
delete(sdk: ISdk) {
// Not supported for now
}
}
|