Project

General

Profile

1
<wf-process-modal proc-id="currentProcId" visible="showProcModal"></wf-process-modal>
2

    
3
<div class="form-group">
4
	<label class="col-sm-3 control-label">Sub workflows</label>
5

    
6
	<div class="col-sm-9">
7
		<table class="table table-striped table-condensed">
8
			<tr ng-repeat="swf in subWorkflows">
9
				<th ng-show="swf.isTemplate!='true'">
10
					<a href="#/wf/{{swf.id}}">{{swf.name}}</a>
11
					<span style="font-size: 75%; color: darkgrey;" ng-show="swf.description">
12
						<br/>{{swf.description}}
13
					</span>
14
				</th>
15
				<th ng-show="swf.isTemplate=='true'">
16
					<span class="label label-default">template</span>
17
					{{swf.name}}
18
					<span style="font-size: 75%; color: darkgrey;" ng-show="swf.description">
19
						<br/>{{swf.description}}
20
					</span>
21
				</th>
22
				<td class="text-center">
23
					<span ng-show="swf.lastDate">{{swf.lastDate | date:'yyyy-MM-dd HH:mm:ss Z' }}</span>
24
					<i ng-hide="swf.lastDate">never executed</i>
25
				</td>
26
				<td class="text-center">
27
					<span class="label label-success" ng-show="swf.lastStatus == 'SUCCESS'">SUCCESS</span>
28
					<span class="label label-danger" ng-show="swf.lastStatus == 'FAILURE'">FAILURE</span>
29
				</td>
30
				<td class="text-right">
31
					<button type="button" class="btn btn-sm btn-default" ng-click="showGraph(swf.id)">
32
						<span class="glyphicon glyphicon-picture"></span>
33
					</button>
34
					<a class="btn btn-sm btn-default" href="isManager.do#/profile/{{swf.id}}">
35
						<span class="glyphicon glyphicon-link"></span>
36
					</a>
37
					<button class="btn btn-sm btn-primary" ng-click="executeWf(swf.id, swf.name, swf.parent, swf.isTemplate=='true')" ng-disabled="swf.disabled == 'true'">
38
						<span style="margin-right: 8px" class="glyphicon glyphicon-play"></span>
39
						Launch
40
					</button>
41
				</td>
42
			</tr>
43
		</table>
44
	</div>
45
</div>
46

    
47

    
(16-16/16)