You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/06/20 14:13:25 UTC
[incubator-dlab] 01/03: [DLAB-747]: added key upload form
This is an automated email from the ASF dual-hosted git repository.
ankovalyshyn pushed a commit to branch feature/projects
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 4de2536d1cb2bb613d2b5b78a6897f5395358321
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Thu Jun 20 15:22:21 2019 +0300
[DLAB-747]: added key upload form
---
.../project-form/project-form.component.html | 23 +++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/project/project-form/project-form.component.html b/services/self-service/src/main/resources/webapp/src/app/administration/project/project-form/project-form.component.html
index f16e70b..a48c10d 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/project/project-form/project-form.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/project/project-form/project-form.component.html
@@ -21,7 +21,28 @@
<mat-horizontal-stepper #stepper class="stepper ani">
<mat-step>
<ng-template matStepLabel>Key upload</ng-template>
- KEY UPLOAD
+
+ <div class="row-wrap upload-key">
+ <div class="col">
+ <label class="control-label">
+ <span>Upload public key to start project creation</span>
+ </label>
+ <div>
+ <a href="#/help/publickeyguide" target="_blank">
+ <small class="helper_instruction"><i class="material-icons">help_outline</i>Where can I get public key?</small>
+ </a>
+ </div>
+ </div>
+ <div class="col txt-r">
+ <span mat-raised-button class="butt butt-file">
+ <span class="upload-icon"></span> Upload
+ <input (change)="onFileChange($event)" type="file" name="file" accept=".pub" />
+ </span>
+
+ <div *ngIf="keyLabel" class="m-bott-10 m-top-10 ellipsis" [class.danger_color]="!accessKeyValid">{{ keyLabel }}</div>
+ </div>
+ </div>
+
</mat-step>
<mat-step>
<ng-template matStepLabel>Project</ng-template>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org