aboutsummaryrefslogtreecommitdiffstats
path: root/webapp/src/app/pages/config/config-xds/downloadXdsAgent.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/app/pages/config/config-xds/downloadXdsAgent.component.ts')
-rw-r--r--webapp/src/app/pages/config/config-xds/downloadXdsAgent.component.ts35
1 files changed, 35 insertions, 0 deletions
diff --git a/webapp/src/app/pages/config/config-xds/downloadXdsAgent.component.ts b/webapp/src/app/pages/config/config-xds/downloadXdsAgent.component.ts
new file mode 100644
index 0000000..3901331
--- /dev/null
+++ b/webapp/src/app/pages/config/config-xds/downloadXdsAgent.component.ts
@@ -0,0 +1,35 @@
+import { Component } from '@angular/core';
+
+@Component({
+ selector: 'xds-dwnl-agent',
+ template: `
+ <template #popTemplate>
+ <h3>Install xds-agent:</h3>
+ <ul>
+ <li>On Linux machine <a href="{{url_OS_Linux}}" target="_blank">
+ <span class="fa fa-external-link"></span></a></li>
+
+ <li>On Windows machine <a href="{{url_OS_Other}}" target="_blank"><span class="fa fa-external-link"></span></a></li>
+
+ <li>On MacOS machine <a href="{{url_OS_Other}}" target="_blank"><span class="fa fa-external-link"></span></a></li>
+ </ul>
+ <button type="button" class="btn btn-sm" (click)="pop.hide()"> Cancel </button>
+ </template>
+ <button type="button" class="btn btn-link fa fa-download fa-size-x2"
+ [popover]="popTemplate"
+ #pop="bs-popover"
+ placement="left">
+ </button>
+ `,
+ styles: [`
+ .fa-size-x2 {
+ font-size: 20px;
+ }
+ `]
+})
+
+export class DwnlAgentComponent {
+
+ public url_OS_Linux = 'https://en.opensuse.org/LinuxAutomotive#Installation_AGL_XDS';
+ public url_OS_Other = 'https://github.com/iotbzh/xds-agent#how-to-install-on-other-platform';
+}