This repository has been archived by the owner on Nov 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
connections-list.component.html
37 lines (37 loc) · 1.78 KB
/
connections-list.component.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<div class="list-group list-view-pf">
<div class="list-group-item list-view-pf-stacked" *ngFor="let connection of connections" [class.active]="isSelected(connection)" (click)="toggleConnectionSelected(connection)">
<div class="list-view-pf-main-info">
<div class="list-view-pf-left">
<span class="fa fa-plug list-view-pf-icon-sm"></span>
</div>
<div class="list-view-pf-body">
<div class="list-view-pf-description">
<div class="list-group-item-heading">
<a [routerLink]="[connection.getId()]">{{ connection.getId() }}</a>
</div>
<!--
<div class="list-group-item-text">{{ connection.description }}</div>
-->
</div>
<div class="list-view-pf-additional-info">
<div>
<span><b i18n="@@connectionsList.jndi" >JNDI:</b> {{ connection.getJndiName() }} </span>
</div>
<div>
<span><b i18n="@@connectionsList.driver" >Driver:</b> {{ connection.getDriverName() }}</span>
</div>
<!--
<div class="connection-tags" *ngIf="connection.tags && connection.tags.length > 0">
<span class="connection-tags-label">Tags:</span>
<span class="connection-tag" *ngFor="let tag of connection.tags" (click)="selectTag(tag, $event)">{{ tag }}</span>
</div>
-->
</div>
</div>
<div class="list-view-pf-actions">
<button i18n="@@connectionsList.ping" class="btn btn-default" type="button" (click)="onPingConnection(connection.getId())">Ping</button>
<button i18n="@@connectionsList.delete" class="btn btn-danger" type="button" (click)="onDeleteConnection(connection.getId())">Delete</button>
</div>
</div>
</div>
</div>