1
|
$common/master( header={
|
2
|
$ui/workflows/common/header()$
|
3
|
|
4
|
<script type="text/javascript" src="../resources/js/dnet_wf_journal.js"></script>
|
5
|
<script type="text/javascript" src="../resources/js/ui-bootstrap.min.js"></script>
|
6
|
<script type="text/javascript" src="../resources/js/jquery-ui-1.10.4.min.js"></script>
|
7
|
<script type="text/javascript" src="../resources/js/jQDateRangeSlider-withRuler-min.js"></script>
|
8
|
|
9
|
<link rel="stylesheet" type="text/css" href="../resources/css/jquery-ui-1.10.4.min.css" />
|
10
|
<link rel="stylesheet" type="text/css" href="../resources/css/jQRangeSlider-dnet.min.css" />
|
11
|
|
12
|
<style>
|
13
|
#wfJournalTable {
|
14
|
width: 100%;
|
15
|
height: 500px;
|
16
|
margin-bottom: 20px;
|
17
|
font-size: 11px;
|
18
|
}
|
19
|
|
20
|
#wfLogDetails {
|
21
|
width: 100%;
|
22
|
height: 300px;
|
23
|
margin-bottom: 20px;
|
24
|
font-size: 11px;
|
25
|
}
|
26
|
</style>
|
27
|
|
28
|
<script type="text/javascript">
|
29
|
function initProcId() {
|
30
|
return '$procId$';
|
31
|
}
|
32
|
|
33
|
function getFamily() {
|
34
|
return '$family$';
|
35
|
}
|
36
|
</script>
|
37
|
|
38
|
}, body={
|
39
|
<div ng-app="wfJournalUI" ng-controller="wfJournalCtrl">
|
40
|
|
41
|
$ui/workflows/common/wf_monitor_proc()$
|
42
|
$ui/workflows/common/wf_monitor_proc_node()$
|
43
|
$ui/workflows/common/wf_journal_entry()$
|
44
|
|
45
|
<div ng-hide="family">
|
46
|
<div class="row">
|
47
|
<div class="col-xs-12 col-md-9">
|
48
|
<div slider-date-range
|
49
|
min="minDate"
|
50
|
max="maxDate"
|
51
|
start="startDate"
|
52
|
end="endDate"
|
53
|
update-function="updateDates"></div>
|
54
|
</div>
|
55
|
<div class="col-xs-12 col-md-3">
|
56
|
<form class="form-inline pull-right" role="form">
|
57
|
<input class="form-control input-sm" type="text" ng-model="filterJournal.filterText" placeholder="Filter...">
|
58
|
<button ng-click="refresh()" class="btn btn-default btn btn-sm" type="button"><span class="glyphicon glyphicon-refresh"></span></button>
|
59
|
</form>
|
60
|
</div>
|
61
|
</div>
|
62
|
<div class="row">
|
63
|
<div class="col-xs-12">
|
64
|
<span><strong>{{journal.length}}</strong> workflow(s) from <strong>{{formatDate(startDate)}}</strong> to <strong>{{formatDate(endDate)}}</strong></span>
|
65
|
</div>
|
66
|
</div>
|
67
|
</div>
|
68
|
<div ng-show="family" class="row">
|
69
|
<div class="col-xs-12 col-md-9">
|
70
|
<span><strong>{{journal.length}}</strong> workflow(s) of family <strong>{{family}}</strong></span>
|
71
|
</div>
|
72
|
<div class="col-xs-12 col-md-3">
|
73
|
<form class="form-inline pull-right" role="form">
|
74
|
<input class="form-control input-sm" type="text" ng-model="filterJournal.filterText" placeholder="Filter...">
|
75
|
<button ng-click="refresh()" class="btn btn-default btn btn-sm" type="button"><span class="glyphicon glyphicon-refresh"></span></button>
|
76
|
</form>
|
77
|
</div>
|
78
|
</div>
|
79
|
|
80
|
<div class="row" style="margin-top: 20px">
|
81
|
<div class="col-xs-12">
|
82
|
<div id="wfJournalTable" class="gridStyle" ng-grid="gridWfJournal"></div>
|
83
|
</div>
|
84
|
</div>
|
85
|
</div>
|
86
|
|
87
|
} )$
|