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/09/30 12:40:49 UTC

[incubator-dlab] 01/01: [DLAB-1150]: added list of resources grid fixes

This is an automated email from the ASF dual-hosted git repository.

ankovalyshyn pushed a commit to branch DLAB-1119
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 5f1dabfb40bba61bb6eb30034692098e2eb6e373
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Mon Sep 30 15:38:23 2019 +0300

    [DLAB-1150]: added list of resources grid fixes
---
 .../computational-resources-list.component.scss    |  1 +
 .../resources-grid/resources-grid.component.html   |  2 +-
 .../resources-grid/resources-grid.component.scss   | 45 +++++++++++-----------
 3 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resources-list/computational-resources-list.component.scss b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resources-list/computational-resources-list.component.scss
index d82adc5..76dc045 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resources-list/computational-resources-list.component.scss
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resources-list/computational-resources-list.component.scss
@@ -20,6 +20,7 @@
 .source {
   .no-details {
     color: #bdc9d5;
+    padding-left: 10px;
   }
 
   .resource-wrap {
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
index 82bb10b..32e8a1a 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
@@ -140,7 +140,7 @@
             </span>
           </td>
 
-          <td class="actions-col settings">
+          <td class="settings">
             <span #settings (click)="actions.toggle($event, settings)" class="actions"
               [ngClass]="{ 'disabled': element.status.toLowerCase() === 'creating' }">
             </span>
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
index bcc7579..64004d3 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
@@ -25,11 +25,16 @@ table {
   width: 100%;
 
   .header-row {
+    th {
+      padding: 5px;
+    }
+
     .label {
       display: inline-block;
       padding-top: 10px;
       vertical-align: super !important;
       padding-left: 5px;
+      font-size: 12px;
     }
   }
 
@@ -80,19 +85,13 @@ table {
     padding-left: 24px;
   }
 
-  .status-col {
-    width: 14%;
-    // padding: 5px;
-  }
-
+  .status-col,
   .shape-col {
     width: 14%;
-    // padding: 5px;
   }
 
   .tag-col {
     width: 10%;
-    // padding: 5px;
 
     mat-chip {
       min-height: 20px;
@@ -109,7 +108,6 @@ table {
 
   .resources-col {
     width: 28%;
-    // padding: 5px;
   }
 
   .cost-col {
@@ -268,25 +266,26 @@ tr.detail-row {
 
 .settings {
   position: relative;
-}
+  text-align: right;
+  min-width: 5%;
 
-.settings .disabled {
-  opacity: 0.4;
-  cursor: not-allowed;
-  pointer-events: none;
-}
+  .actions {
+    background-image: url(../../../assets/svg/settings_icon.svg);
+    width: 16px;
+    height: 16px;
+    display: inline-block;
+    text-align: center;
+    cursor: pointer;
+  }
 
-.settings .actions {
-  background-image: url(../../../assets/svg/settings_icon.svg);
-  width: 16px;
-  height: 16px;
-  display: inline-block;
-  text-align: center;
-  cursor: pointer;
-  position: absolute;
-  right: 15px;
+  .disabled {
+    opacity: 0.4;
+    cursor: not-allowed;
+    pointer-events: none;
+  }
 }
 
+
 .data-grid .list-menu li {
   font-size: 14px;
   border-bottom: 1px solid #edf1f5;


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