RAN Connectionscreen upgrade to mat-table
[portal/ric-dashboard.git] / webapp-frontend / src / app / ran-connection / ran-connection.component.html
1 <!--
2   ========================LICENSE_START=================================
3   O-RAN-SC
4   %%
5   Copyright (C) 2019 AT&T Intellectual Property and Nokia
6   %%
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ========================LICENSE_END===================================
19 -->
20 <div class="ranconnect__section">
21   <h3 class="ranconnect__header">RAN Connection</h3>
22   <button mat-raised-button (click)="openRanConnectDialog()">Connect</button>
23   <table mat-table [dataSource]="dataSource" class="ranconnect-table mat-elevation-z8">
24     
25     <ng-container matColumnDef="requestType">
26         <mat-header-cell *matHeaderCellDef>RAN Type</mat-header-cell>
27         <mat-cell *matCellDef="let rconnect">{{rconnect.requestType}}</mat-cell>
28     </ng-container>
29     
30     <ng-container matColumnDef="ranName">
31         <mat-header-cell *matHeaderCellDef>eNodeB/gNodeB Name</mat-header-cell>
32         <mat-cell *matCellDef="let rconnect">{{rconnect.ranName}}</mat-cell>
33     </ng-container>
34
35     <ng-container matColumnDef="ranIp">
36         <mat-header-cell *matHeaderCellDef>IP</mat-header-cell>
37         <mat-cell *matCellDef="let rconnect">{{rconnect.ranIp}}</mat-cell>
38     </ng-container>
39     
40     <ng-container matColumnDef="ranPort">
41         <mat-header-cell *matHeaderCellDef>Port</mat-header-cell>
42         <mat-cell *matCellDef="let rconnect">{{rconnect.ranPort}}</mat-cell>
43     </ng-container>
44
45     <ng-container matColumnDef="responseCode">
46         <mat-header-cell *matHeaderCellDef>Response</mat-header-cell>
47         <mat-cell *matCellDef="let rconnect">{{rconnect.responseCode}}</mat-cell>
48     </ng-container>
49
50     <ng-container matColumnDef="timeStamp">
51         <mat-header-cell *matHeaderCellDef>Time Stamp</mat-header-cell>
52         <mat-cell *matCellDef="let rconnect">{{rconnect.timeStamp}}</mat-cell>
53     </ng-container>
54     
55     <mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
56     <mat-row *matRowDef="let row; columns: displayedColumns">
57     </mat-row>
58   </table>
59   <app-modal-event hidden></app-modal-event>
60 </div>
61