Project

General

Profile

1
<div class="panel panel-primary">
2
	<div class="panel-heading">Service Info</div>
3
	<table class="table table-condensed small">
4
		<tr>
5
			<th class="col-xs-3">Service id</th>
6
			<td class="col-xs-9">{{service.id}}</td>
7
		</tr>
8
		<tr>
9
			<th>Name</th>
10
			<td>{{service.name}}</td>
11
		</tr>
12
		<tr>
13
			<th>Date</th>
14
			<td>{{service.date | date:'yyyy-MM-dd HH:mm:ss'}}</td>
15
		</tr>
16
		<tr>
17
			<th>is valid</th>
18
			<td>{{service.valid}}</td>
19
		</tr>
20
	</table>
21
</div>
22

    
23
<div class="panel panel-primary">
24
	<div class="panel-heading">Service Protocols</div>
25
	<table class="table table-condensed small" ng-show="service.protocols">
26
		<tr ng-repeat="(k,v) in service.protocols">
27
			<th class="col-xs-3">{{k}}</th>
28
			<td class="col-xs-9">{{v}}</td>
29
		</tr>
30
	</table>
31
	<div class="panel-body" ng-hide="service.protocols">
32
		No properties
33
	</div>
34
</div>
35
<div class="panel panel-primary">
36
	<div class="panel-heading">Service Properties</div>
37
	<table class="table table-condensed small" ng-show="service.properties">
38
		<tr ng-repeat="(k,v) in service.properties">
39
			<th class="col-xs-3">{{k}}</th>
40
			<td class="col-xs-9">{{v}}</td>
41
		</tr>
42
	</table>
43
	<div class="panel-body" ng-hide="service.properties">
44
		No properties
45
	</div>
46
</div>
47

    
48

    
49

    
50
<div class="panel panel-primary">
51
	<div class="panel-heading">Blackboard messages</div>
52
	<table class="table table-condensed small" ng-show="service.blackboard">
53
		<thead>
54
			<tr>
55
				<th class="col-xs-3">Id</th>
56
				<th class="col-xs-2">Action</th>
57
				<th class="col-xs-1">Status</th>
58
				<th class="col-xs-2">Date</th>
59
				<th class="col-xs-4">Parameters</th>
60
			</tr>
61
		</thead>
62
		<tbody>
63
			<tr ng-repeat="b in service.blackboard">
64
				<td>{{b.id}}</td>
65
				<td>{{b.action}}</td>
66
				<td>{{b.status}}</td>
67
				<td>{{b.date | date:'yyyy-MM-dd HH:mm:ss'}}</td>
68
				<td>
69
					<span ng-repeat="(k,v) in b.parameters"> 
70
						<br ng-show='$index > 0' />
71
						<b>{{k}}:</b> {{v}}
72
					</span>
73
				</td>
74
			</tr>
75
		</tbody>
76
	</table>
77
	<div class="panel-body" ng-hide="service.blackboard">
78
		No messages
79
	</div>
80
</div>
81

    
82
<div class="panel panel-primary">
83
	<div class="panel-heading">Subscriptions</div>
84
	<table class="table table-condensed small">
85
		<thead>
86
			<tr>
87
				<th class="col-xs-2">Table</th>
88
				<th class="col-xs-2">Operation</th>
89
				<th class="col-xs-8">Condition(s)</th>
90
			</tr>
91
		</thead>
92
		<tbody>
93
			<tr ng-repeat="s in service.subscriptions">
94
				<td>{{s.table}}</td>
95
				<td>{{s.operation}}</td>
96
				<td>
97
					<span ng-repeat="(k,v) in s.condition"> 
98
						<br ng-show='$index > 0' />
99
						<b>{{k}}:</b> {{v}}
100
					</span>
101
				</td>
102
			</tr>
103
		</tbody>
104
	</table>
105
</div>
(7-7/9)