journal.html 981 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<div class="container content">
	<h2 >Journal</h2>
	<div class="alert alert-error" ng-if="error">
		<b>Error:</b> {{ error }}
	</div>
	<div class="row">
		<table class="table table-striped">
			<thead>
				<tr>
					<th>Time</th>
					<th>Application</th>
					<th>Event</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="event in journal | orderBy:'timestamp':true" >
					<td>{{ event.timestamp | date:'yyyy-MM-dd-HH.mm.ss.sss' }}</td>
					<td>{{ event.application.name }} ({{ event.application.id }})<br/>
						<span class="muted">{{ event.application.serviceUrl || event.application.managementUrl || event.application.healthUrl }}</span>
					</td>
					<td>{{ event.type }}<br/>
						<span ng-if="event.type == 'STATUS_CHANGE'">
23 24
							<span class="status-{{event.from.status}}">{{ event.from.status }}</span>
							-&gt; 	<span class="status-{{event.to.status}}">{{ event.to.status }}</span>
25 26 27 28 29 30 31
						</span>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
</div>