feat:Optimize page style of slicing management page 47/99747/1
authorcyuamber <xuranyjy@chinamobile.com>
Wed, 18 Dec 2019 07:16:39 +0000 (15:16 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Wed, 18 Dec 2019 07:16:43 +0000 (15:16 +0800)
Change-Id: I3df19a4463a65116401c96c65000c63a5a22d699
Issue-ID: USECASEUI-369
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.html
usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.less
usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-table/nsi-table.component.html
usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-model/nssi-model.component.html
usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-table/nssi-table.component.html
usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.html
usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.html
usecaseui-portal/src/styles.less

index 336e11c..ad4cb7f 100644 (file)
@@ -7,8 +7,8 @@
           <th>Service Instance Id</th>
           <th>Service Instance Name</th>
           <th>Service Type</th>
-          <th>S-NSSAI</th>
-          <th>Status</th>
+          <th width="90px">S-NSSAI</th>
+          <th width="110px">Status</th>
           <th width="110px">Detail</th>
         </tr>
       </thead>
       </tbody>
     </nz-table>
   </nz-list>
-  <nz-list class="taskmodel_list" nzBordered [nzHeader]="'Related Slicing NSSI List :'" [nzFooter]="null">
+  <nz-list class="taskmodel_list taskmodel_list-margin" nzBordered [nzHeader]="'Related Slicing NSSI List :'" [nzFooter]="null">
     <nz-table #nssiTable [nzData]="nssiList" [nzShowPagination]="false" nzHideOnSinglePage class="model-table-padding">
       <thead>
         <tr>
           <th>Service Instance Id</th>
           <th>Service Instance Name</th>
           <th>Service Type</th>
-          <th>Environment Context</th>
-          <th>Status</th>
+          <th width="85px">Context</th>
+          <th width="110px">Status</th>
           <th width="110px">Detail</th>
         </tr>
       </thead>
index 1b489e0..7675f4f 100644 (file)
@@ -27,7 +27,7 @@
                     <th>Service Instance Id</th>
                     <th>Service Instance Name</th>
                     <th>Service Type</th>
-                    <th>Status</th>
+                    <th width="110px">Status</th>
                     <th width="140px">Detail</th>
                 </tr>
             </thead>
index 946c6e0..da67682 100644 (file)
@@ -12,7 +12,7 @@
           <th>Service Instance Id</th>
           <th>Service Instance Name</th>
           <th>Service Type</th>
-          <th>Status</th>
+          <th width="110px">Status</th>
           <th width="110px">Detail</th>
         </tr>
       </thead>
index 0da9ada..534f18a 100644 (file)
@@ -27,8 +27,8 @@
           <th>Service Instance Id</th>
           <th>Service Instance Name</th>
           <th>Service Type</th>
-          <th>Environment Context</th>
-          <th>Status</th>
+          <th width="85px">Context</th>
+          <th width="110px">Status</th>
           <th width="140px">Detail</th>
         </tr>
       </thead>
index fd21b52..7b629cd 100644 (file)
@@ -14,7 +14,7 @@
                     <th>Service Instance Id</th>
                     <th>Service Instance Name</th>
                     <th>Service Type</th>
-                    <th>Status</th>
+                    <th width="110px">Status</th>
                     <th width="110px">Detail</th>
                 </tr>
             </thead>
index 9dbd1c2..006a6d7 100644 (file)
@@ -27,9 +27,9 @@
                     <th>Service Instance Id</th>
                     <th>Service Instance Name</th>
                     <th>Service Type</th>
-                    <th>S-NSSAI</th>
-                    <th>Status</th>
-                       <th width="180px">Aciton</th>
+                    <th width="90px">S-NSSAI</th>
+                    <th width="110px">Status</th>
+                       <th width="140px">Aciton</th>
                     <th width="110px">Detail</th>
                 </tr>
             </thead>
index 1bca540..6f10e36 100644 (file)
@@ -828,13 +828,31 @@ nz-notification-container .ant-notification{
 }
 .slicing-resource-table-list{
   padding: 0 20px 0 0!important;
+  nz-table{
+    .ant-table-wrapper{
+      .ant-table-body{
+        th,td{
+          word-break: break-word!important;
+        }
+      }
+    }
+  }
 }
 .taskmodel_list{
   margin-bottom: 20px;
-}
-
-.taskmodel_list {
-  margin-bottom: 20px;
+  nz-table{
+    .ant-table-wrapper{
+      .ant-table-body{
+        th,td{
+          word-break: break-word!important;
+        }
+      }
+    }
+  }
+  .ant-list-header{
+    font-weight: 600;
+    color: #000000!important;
+  }
 }
 
 .model-table-padding {