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/18 17:47:26 UTC

[incubator-dlab] 04/06: [DLAB-805]: preparation model cleanup

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 b6606497ec0134d48d3ed28bb6ab64b8b78c3ca2
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Tue Jun 18 20:45:11 2019 +0300

    [DLAB-805]: preparation model cleanup
---
 .../computational-resource-create-dialog.component.html               | 4 ++--
 .../computational-resource-create-dialog.component.scss               | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.html
index 265688f..dccd14e 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.html
@@ -136,7 +136,7 @@
             </div>
 
             <div class="control-group" *ngIf="selectedImage?.image" [hidden]="selectedImage?.image === 'docker.dlab-dataengine'">
-              <label class="label">{{ DICTIONARY.notebook_instance_size }}</label>
+              <label class="label">{{ DICTIONARY[selectedImage.image].data_engine_slave_instance_size }}</label>
               <div class="control selector-wrapper">
                 <mat-form-field>
                   <mat-label>Select {{ DICTIONARY.notebook_instance_size }}</mat-label>
@@ -222,7 +222,7 @@
         <div class="text-center m-top-30">
           <button mat-raised-button type="button" (click)="dialogRef.close()" class="butt action">Cancel</button>
           <button mat-raised-button type="button" [disabled]="!resourceForm?.valid"
-                  (click)="createComputationalResource(resourceForm.value, shapes.master_shape, shapes.slave_shape)"
+                  (click)="createComputationalResource(resourceForm.value)"
                   class="butt butt-success action" [ngClass]="{'not-allowed': !resourceForm?.valid}">Create</button>
         </div>
       </form>
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.scss b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.scss
index 4ca29d0..c40a785 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.scss
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.scss
@@ -36,7 +36,7 @@
         position: absolute;
         padding-left: 5px;
         right: 0;
-        top: 40px;
+        top: 36px;
       }
     }
     .alias-name {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org