Project

General

Profile

1
<div class="panel panel-default">
2
	<table class="table table-striped small">
3
		<thead>
4
			<tr>
5
				<th style="width: 40px">#</th>
6
				<th>Service ID</th>
7
				<th>Service Type</th>
8
				<th>Wsdl</th>
9
				<th class="text-right"># Subscrs</th>
10
				<th class="text-right"># Blackboard</th>
11
				<th class="text-center">Status <button type="button" class="btn btn-xs btn-primary" ng-click="pingServices()">verify</button></th>
12
			</tr>
13
		</thead>
14
		<tbody ng-repeat="group in groups">
15
			<tr>
16
				<th colspan="5">
17
					Host: <i>{{group.host}}</i> - Port: <i>{{group.port}}</i> - Context: <i>{{group.context}}</i> 
18
				</th>
19
			</tr>
20
			<tr ng-show="group.services.length == 0">
21
				<td colspan="6">No services</td>
22
			</tr>
23
			<tr ng-repeat="s in group.services">
24
				<td>{{$index + 1}}</td>
25
				<td>
26
					<a href="#/srv/{{s.id}}">{{s.id}}</a>
27
				</td>
28
				<td>
29
					<span>{{s.name}}</span>
30
				</td>
31
				<td>
32
					<a href="{{s.protocols.SOAP}}?wsdl" ng-show="s.protocols.SOAP">{{s.protocols.SOAP}}?wsdl</a>
33
				</td>
34
				<td class="text-right">
35
					{{s.subscriptions.length}}
36
				</td>
37
				<td class="text-right">
38
					{{s.blackboard.length}}
39
				</td>
40
				<td class="text-center">
41
					<span class="label" ng-class="{'label-success' : s.status == 'ACTIVE', 'label-danger' : s.status == 'NOT_RESPONDING' || s.status == 'MISSING', 'label-default' : s.status == 'UNKNOWN', 'label-warning' : s.status == 'PENDING'}">{{s.status}}</span>
42
				</td>
43
			</tr>
44
		</tbody>
45
	</table>
46
</div>
(7-7/8)