summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2019-09-05 07:50:58 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-05 07:50:58 +0000
commit6a50e8f81e1dca22e4a88624fbef9ac5c6ab36d0 (patch)
treeb7a436747a3641dad3a6f08b048b46b0d6b71f0a /usecaseui-portal
parent8e38ef3d1f90a3f41265bcf652777aad259d7267 (diff)
parent89428dbe8181289f22935dc0660c285caad18b15 (diff)
Merge "feat: optimize the code for the graphiclist component"
Diffstat (limited to 'usecaseui-portal')
-rw-r--r--usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.html5
-rw-r--r--usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.less44
-rw-r--r--usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.ts1
3 files changed, 0 insertions, 50 deletions
diff --git a/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.html b/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.html
index 317d48b0..19efdb36 100644
--- a/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.html
+++ b/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.html
@@ -14,9 +14,6 @@
limitations under the License.
-->
<div class="content">
- <!-- <nz-modal nzWrapClassName="vertical-center-modal" [(nzVisible)]="isVisibleMiddle" nzTitle="Alarm Chart" (nzOnCancel)="handleCancelMiddle()" (nzOnOk)="handleOkMiddle()">
- <app-line [initData]="alarmChartInitBig" [chartData]="alarmChartDataBig"></app-line>
- </nz-modal> -->
<div class="chart">
<div class="select">
<span>Report Time: </span>
@@ -39,7 +36,6 @@
</tr>
</thead>
<tbody>
- <!-- <ng-template ngFor let-data [ngForOf]="nzTable.data" let-i="index"> -->
<tr *ngFor="let item of nzTable.data; let i = index; ">
<td>{{i+1}}</td>
<td>{{item.sourceName}}</td>
@@ -48,7 +44,6 @@
<td>{{item.startEpochMicrosec | date:'yyyy-MM-dd HH:mm:ss'}}</td>
<td><a class="action" (click)="detailShow(item)"><i class="details"></i></a></td>
</tr>
- <!-- </ng-template> -->
</tbody>
</nz-table>
</div>
diff --git a/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.less b/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.less
index e302c7fd..494e2229 100644
--- a/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.less
+++ b/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.less
@@ -49,7 +49,6 @@
}
}
.chart {
- // background-color: #fff;
position: relative;
border-radius: 5px;
margin-bottom: 20px;
@@ -72,50 +71,7 @@
font-weight: 400;
}
}
- // nz-dropdown {
- // margin-right: 20px;
- // a {
- // font: 700 12px "Arial";
- // color: #3d4d65;
- // &:hover {
- // color: #3fa8eb;
- // }
- // }
- // }
}
- // .AlarmChart {
- // // height: 0px;
- // // border-bottom: 1px solid #f5f5f5;
- // // transition: all 0.3s linear;
- // width: 25%;
- // padding-top: 7px;
- // float: left;
- // }
- // .alarmChart-active {
- // height: 386px;
- // }
- // .open-close {
- // width: 50px;
- // height: 25px;
- // position: absolute;
- // left: 50%;
- // bottom: 0px;
- // transform: translate(-25px,0);
- // border: none;
- // outline: none;
- // cursor: pointer;
- // background-color: #fff;
- // background: url(../../../assets/images/open-close.png) no-repeat center -27px;
- // &:hover {
- // background: url(../../../assets/images/open-close.png) no-repeat center -79px;
- // }
- // }
- // .open-close-active {
- // background: url(../../../assets/images/open-close.png) center -1px;
- // &:hover {
- // background: url(../../../assets/images/open-close.png) no-repeat center -53px;
- // }
- // }
}
.tablelist {
background-color: #fff;
diff --git a/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.ts b/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.ts
index c05d3b7c..ddd9ef64 100644
--- a/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.ts
+++ b/usecaseui-portal/src/app/shared/components/graphiclist/graphiclist.component.ts
@@ -38,7 +38,6 @@ export class GraphiclistComponent implements OnInit {
this.isVisibleMiddle = true;
}
handleOkMiddle(): void {
- // console.log('click ok');
this.isVisibleMiddle = false;
}
handleCancelMiddle(): void {