New dashboard improvements.
[src/xds/xds-agent.git] / webapp / src / app / pages / config / config-xds / downloadXdsAgent.component.ts
1 import { Component } from '@angular/core';
2
3 @Component({
4     selector: 'xds-dwnl-agent',
5     template: ``,
6     /* FIXME SEB: to be reworked
7     template: `
8         <template #popTemplate>
9             <h3>Install xds-agent:</h3>
10             <ul>
11                 <li>On Linux machine <a href="{{url_OS_Linux}}" target="_blank">
12                 <span class="fa fa-external-link"></span></a></li>
13
14                 <li>On Windows machine <a href="{{url_OS_Other}}" target="_blank"><span class="fa fa-external-link"></span></a></li>
15
16                 <li>On MacOS machine <a href="{{url_OS_Other}}" target="_blank"><span class="fa fa-external-link"></span></a></li>
17             </ul>
18             <button type="button" class="btn btn-sm" (click)="pop.hide()"> Cancel </button>
19         </template>
20         <button type="button" class="btn btn-link fa fa-download fa-size-x2"
21             [popover]="popTemplate"
22             #pop="bs-popover"
23             placement="left">
24         </button>
25         `,
26     styles: [`
27         .fa-size-x2 {
28             font-size: 20px;
29         }
30     `],
31     */
32 })
33
34 export class DwnlAgentComponent {
35
36     public url_OS_Linux = 'https://en.opensuse.org/LinuxAutomotive#Installation_AGL_XDS';
37     public url_OS_Other = 'https://github.com/iotbzh/xds-agent#how-to-install-on-other-platform';
38 }