member_webapp/@overflow/noauth-probe/component/list/list.component.html

74 lines
3.4 KiB
HTML
Raw Normal View History

2018-04-12 05:31:31 +00:00
<h1>Unauthorized</h1>
2018-04-24 05:31:20 +00:00
<p-table #dt [value]="noauthProbes" selectionMode="single" dataKey="id">
<ng-template pTemplate="header">
<tr>
<th style="width: 3.25em" pResizableColumn></th>
<th style="width: 20em">Probe Key</th>
<th>Host Name</th>
<th>OS</th>
<th style="width: 7em">Created at</th>
</tr>
</ng-template>
<ng-template pTemplate="body" let-rowData let-expanded="expanded" let-columns="columns">
2018-05-18 08:49:13 +00:00
<tr [pSelectableRow]="rowData" [pRowToggler]="rowData">
2018-04-24 05:31:20 +00:00
<td>
<a href="#">
<i [ngClass]="expanded ? 'fa fa-fw fa-chevron-circle-down' : 'fa fa-fw fa-chevron-circle-right'"></i>
</a>
</td>
2018-05-18 08:49:13 +00:00
<td>{{rowData.tempProbeKey}}</td>
<td>{{rowData.descriptions.host.name}}</td>
<td>{{rowData.descriptions.host.os}}</td>
<td>{{rowData.createDate | date: 'dd/MM/yyyy'}}</td>
2018-04-24 05:31:20 +00:00
</tr>
</ng-template>
<ng-template pTemplate="rowexpansion" let-rowData let-columns="columns">
<tr>
<td [attr.colspan]="5">
2018-04-25 09:55:43 +00:00
<div class="ui-g ui-g-12">
2018-04-24 05:31:20 +00:00
<div class="ui-g-12 ui-md-6">
<div class="ui-g-12">
2018-05-18 08:49:13 +00:00
<b>Platform:</b> {{rowData.descriptions.host.platform}}
2018-04-24 05:31:20 +00:00
</div>
<div class="ui-g-12">
2018-05-18 08:49:13 +00:00
<b>Platform family:</b> {{rowData.descriptions.host.platformFamily}}
2018-04-24 05:31:20 +00:00
</div>
<div class="ui-g-12">
2018-05-18 08:49:13 +00:00
<b>Kernel:</b> {{rowData.descriptions.host.kernelVersion}}
2018-04-24 05:31:20 +00:00
</div>
<div class="ui-g-12">
2018-05-18 08:49:13 +00:00
<b>HostID:</b> {{rowData.descriptions.host.hostID}}
2018-04-24 05:31:20 +00:00
</div>
</div>
<div class="ui-g-12 ui-md-6">
<div class="ui-g">
<div class="ui-g-12">
2018-05-18 08:49:13 +00:00
<b>NIC:</b> {{rowData.descriptions.network.name}}
2018-04-24 05:31:20 +00:00
</div>
<div class="ui-g-12">
2018-05-18 08:49:13 +00:00
<b>Network Address:</b> {{rowData.descriptions.network.address}}
2018-04-24 05:31:20 +00:00
</div>
<div class="ui-g-12">
2018-05-18 08:49:13 +00:00
<b>Gateway:</b> {{rowData.descriptions.network.gateway}}
2018-04-24 05:31:20 +00:00
</div>
<div class="ui-g-12">
2018-05-18 08:49:13 +00:00
<b>Mac Address:</b> {{rowData.descriptions.network.macAddress}}
2018-04-24 05:31:20 +00:00
</div>
</div>
</div>
2018-04-25 09:55:43 +00:00
<div class="ui-g-12" dir="rtl">
2018-05-18 08:49:13 +00:00
<button class="ui-button-danger ui-button-width-fit" type="button" label="Deny" icon="ui-icon-close" pButton (click)="onAcceptOrDeny(false, rowData)"></button>
<button class=" ui-button-width-fit" type="button" label="Accept" icon="fa-check" pButton (click)="onAcceptOrDeny(true, rowData)"></button>
2018-04-25 09:55:43 +00:00
</div>
2018-04-24 05:31:20 +00:00
</div>
</td>
</tr>
</ng-template>
</p-table>
2018-04-11 08:41:38 +00:00
<p-confirmDialog header="Confirmation" icon="fa ui-icon-warning" width="425"></p-confirmDialog>
2018-04-24 05:47:03 +00:00
<p-growl [(value)]="msgs"></p-growl>