aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html
diff options
context:
space:
mode:
authorshaaban Altanany <shaaban.eltanany.ext@orange.com>2020-02-28 11:27:44 +0200
committershaaban Altanany <shaaban.eltanany.ext@orange.com>2020-02-28 11:27:44 +0200
commit0dda490e7e26860a33170829ce561dd1d2979ecb (patch)
tree78e7da020effcf8354005447188b750597660663 /cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html
parentb2b847587d7c06db5737a06820d1809b9aeb73e1 (diff)
add basic download for current viewed package
Issue-ID: CCSDK-2126 Signed-off-by: shaaban Altanany <shaaban.eltanany.ext@orange.com> Change-Id: I8690018634b55734d3b9dcf66794c44c4d266c92
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html')
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html
index 6194a9bb3..0cd56732d 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html
@@ -20,7 +20,7 @@
- <div class="container-fluid body-container">
+ <div class="container-fluid body-container">
<div class="container">
<!-- <div class="creat-action-container">
@@ -49,12 +49,12 @@
<div class="package-name-container">
<div class="row">
<div class="col-12 package-name deployed">
- Package Name
+ {{viewedPackage.artifactName}}
<span>.vLB.CDS</span>
<i class="icon-deploy"></i>
</div>
<div class="col-12 package-description">
- Last modified Oct 4, 2019 03:48 PM By Ahmed Abbas
+ Last modified {{ viewedPackage.createdDate | date:'short' }} By {{viewedPackage.updatedBy}}
</div>
</div>
@@ -63,7 +63,9 @@
</div>
</div>
<div class="col-4 package-view-button">
- <button class="btn btn-sm btn-outline-secondary"><i class="fa fa-play-circle"></i> Deploy</button>
+ <button class="btn btn-sm btn-outline-secondary" (click)="deployCurrentPackage()"><i class="fa fa-play-circle"></i> Deploy</button>
+ <button class="btn btn-sm btn-outline-secondary" (click)="downloadPackage(viewedPackage.artifactName,viewedPackage.artifactVersion)"><i class="fa"></i> Download</button>
+
<button class="btn btn-sm btn-primary">Designer Mode</button>
</div>
</div>