diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-09-13 22:37:50 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-09-13 22:38:15 +0200 |
commit | bc3ffe4a0087b655bdfaf70dfa7bac6d840eb7ab (patch) | |
tree | 6c1f8f4d283f50787cd6af46fc4f0230d1938d03 /webapp/src/app/config/downloadXdsAgent.component.ts | |
parent | 63c498fcc2b1abd16b4eb005ce757c119eda0342 (diff) |
Update message to download & install xds-agent.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'webapp/src/app/config/downloadXdsAgent.component.ts')
-rw-r--r-- | webapp/src/app/config/downloadXdsAgent.component.ts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/webapp/src/app/config/downloadXdsAgent.component.ts b/webapp/src/app/config/downloadXdsAgent.component.ts index 7a08174..b35a17f 100644 --- a/webapp/src/app/config/downloadXdsAgent.component.ts +++ b/webapp/src/app/config/downloadXdsAgent.component.ts @@ -4,6 +4,7 @@ import { IxdsAgentPackage } from "../services/config.service"; @Component({ selector: 'dl-xds-agent', + /* XXX - cleanup template: ` <template #popTemplate> <h3>Download xds-agent packages:</h3> @@ -20,6 +21,26 @@ import { IxdsAgentPackage } from "../services/config.service"; placement="left"> </button> `, +*/ + 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; @@ -31,6 +52,8 @@ export class DlXdsAgentComponent { @Input() packageUrls: IxdsAgentPackage[]; + 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"; } @Pipe({ |