This is an automated email from the ASF dual-hosted git repository. ankovalyshyn pushed a commit to branch DLAB-372 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 78acb1d4ecb8186513c60fbdd521236cabab6ee3 Author: Andriana Kovalyshyn <andriana_kovalys...@epam.com> AuthorDate: Thu Mar 28 16:39:10 2019 +0200 [DLAB-372]: added fixes on Manage Git Credentials page --- .../src/app/resources/manage-ungit/manage-ungit.component.html | 9 ++++++--- .../src/app/resources/manage-ungit/manage-ungit.component.scss | 9 ++++++++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/manage-ungit/manage-ungit.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/manage-ungit/manage-ungit.component.html index 1365e75..c1d1e2c 100644 --- a/services/self-service/src/main/resources/webapp/src/app/resources/manage-ungit/manage-ungit.component.html +++ b/services/self-service/src/main/resources/webapp/src/app/resources/manage-ungit/manage-ungit.component.html @@ -22,9 +22,12 @@ <h4 class="modal-title" id="myModalLabel">Manage Git Credentials</h4> </modal-header> <modal-content class="manage-ungit"> - <mat-tab-group mat-stretch-tabs #tabGroup class="content-box"> <mat-tab label="LIST"> + <button mat-raised-button class="butt add-creds" (click)="tabGroup.selectedIndex = 1"> + <i class="material-icons">people_outline</i>Add account + </button> + <mat-divider></mat-divider> <mat-list *ngIf="gitCredentials?.length"> <mat-list-item class="list-header"> <div class="hostname-field">Host name</div> @@ -57,7 +60,7 @@ <p>You have no related accounts</p> </div> - <div class="text-center m-top-30 m-bott-10" *ngIf="editableForm"> + <div class="text-center m-top-30 m-bott-10" *ngIf="editableForm && gitCredentials?.length"> <button mat-raised-button type="button" class="butt action" (click)="cancelAllModifyings()">Cancel</button> <button mat-raised-button type="button" class="butt butt-success action" (click)="editAccounts_btnClick()">Apply changes</button> </div> @@ -128,7 +131,7 @@ </div> </div> </div> - <div class="text-center m-top-20 m-bott-10"> + <div class="text-center submit m-bott-10"> <button mat-raised-button type="button" class="butt action" (click)="resetForm()">Clear</button> <button mat-raised-button type="button" [disabled]="!updateAccountCredentialsForm.valid" (click)="assignChanges(updateAccountCredentialsForm.value)" class="butt butt-success action">Assign</button> diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/manage-ungit/manage-ungit.component.scss b/services/self-service/src/main/resources/webapp/src/app/resources/manage-ungit/manage-ungit.component.scss index e5b1ddb..2c17f44 100644 --- a/services/self-service/src/main/resources/webapp/src/app/resources/manage-ungit/manage-ungit.component.scss +++ b/services/self-service/src/main/resources/webapp/src/app/resources/manage-ungit/manage-ungit.component.scss @@ -19,12 +19,16 @@ .manage-ungit { .content-box { - height: 440px; + height: 500px; padding: 25px 35px; } + .add-creds { + margin: 15px 5px; + } .scrollingList { overflow-x: hidden; padding: 5px; + height: 185px; &.info { display: flex; justify-content: center; @@ -101,4 +105,7 @@ padding-top: 0; } } + .submit { + margin-top: 60px; + } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org