summaryrefslogtreecommitdiffstats
path: root/webapp/src/app/config/config.component.html
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-22 22:22:05 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-25 00:15:10 +0200
commit7f1db509a2076311c280964715962df71a1631ce (patch)
tree87e1f546bdc1e671d06162c3ed012cb01e593ba2 /webapp/src/app/config/config.component.html
parent271ffeae46af55459270c3480816c76aa9c80638 (diff)
Auto detect XDS-Agent tarballs and fix URL.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'webapp/src/app/config/config.component.html')
-rw-r--r--webapp/src/app/config/config.component.html7
1 files changed, 1 insertions, 6 deletions
diff --git a/webapp/src/app/config/config.component.html b/webapp/src/app/config/config.component.html
index f707bbe..8737d08 100644
--- a/webapp/src/app/config/config.component.html
+++ b/webapp/src/app/config/config.component.html
@@ -10,17 +10,12 @@
<div class="col-xs-12">
<table class="table table-condensed">
<tbody>
- <!-- FIXME [XDS-Agent]
<tr [ngClass]="{'info': (agentStatus$ | async)?.connected, 'danger': !(agentStatus$ | async)?.connected}">
- -->
- <tr [ngClass]="{'info': (localSTStatus$ | async)?.connected, 'danger': !(localSTStatus$ | async)?.connected}">
<th><label>XDS local Agent URL</label></th>
<td> <input type="text" [(ngModel)]="xdsAgentUrl"></td>
<td>
<button class="btn btn-link" (click)="xdsAgentRestartConn()"><span class="fa fa-refresh fa-size-x2"></span></button>
- <!-- FIXME [XDS-Agent]
- <button *ngIf="!(agentStatus$ | async)?.connected" -->
- <button *ngIf="!(localSTStatus$ | async)?.connected" [disabled]="xdsAgentZipUrl==''" class="btn btn-link">
+ <button [disabled]="xdsAgentZipUrl==''" class="btn btn-link">
<a *ngIf="xdsAgentZipUrl!=''" class="fa fa-download fa-size-x2" [href]="xdsAgentZipUrl" target="_blank"></a>
<a *ngIf="xdsAgentZipUrl==''" class="fa fa-download fa-size-x2" href="javascript:void(0);" target="_blank"></a>
</button>