|
@@ -58,6 +58,11 @@ ${ layout.menubar(section='workflows', dashboard=True) }
|
|
|
<a class="btn btn-status btn-warning" data-value='RUNNING'>${ _('Running') }</a>
|
|
<a class="btn btn-status btn-warning" data-value='RUNNING'>${ _('Running') }</a>
|
|
|
<a class="btn btn-status btn-danger disable-feedback" data-value='KILLED'>${ _('Killed') }</a>
|
|
<a class="btn btn-status btn-danger disable-feedback" data-value='KILLED'>${ _('Killed') }</a>
|
|
|
</span>
|
|
</span>
|
|
|
|
|
+ <span style="float:left;padding-left:10px;padding-right:10px;margin-top:3px">${ _('submitted') }</span>
|
|
|
|
|
+ <span class="btn-group" style="float:left;">
|
|
|
|
|
+ <a class="btn btn-submitted btn-info" data-value='MANUALLY'>${ _('Manually') }</a>
|
|
|
|
|
+ <a class="btn btn-submitted btn-info" data-value='COORDINATOR'>${ _('Coordinator') }</a>
|
|
|
|
|
+ </span>
|
|
|
</span>
|
|
</span>
|
|
|
</form>
|
|
</form>
|
|
|
|
|
|
|
@@ -74,6 +79,7 @@ ${ layout.menubar(section='workflows', dashboard=True) }
|
|
|
<th width="7%">${ _('Submitter') }</th>
|
|
<th width="7%">${ _('Submitter') }</th>
|
|
|
<th width="15%">${ _('Last Modified') }</th>
|
|
<th width="15%">${ _('Last Modified') }</th>
|
|
|
<th width="20%">${ _('Id') }</th>
|
|
<th width="20%">${ _('Id') }</th>
|
|
|
|
|
+ <th width="1%">${ _('parentId') }</th>
|
|
|
</tr>
|
|
</tr>
|
|
|
</thead>
|
|
</thead>
|
|
|
<tbody>
|
|
<tbody>
|
|
@@ -86,6 +92,7 @@ ${ layout.menubar(section='workflows', dashboard=True) }
|
|
|
<td></td>
|
|
<td></td>
|
|
|
<td></td>
|
|
<td></td>
|
|
|
<td></td>
|
|
<td></td>
|
|
|
|
|
+ <td></td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|
|
@@ -104,6 +111,7 @@ ${ layout.menubar(section='workflows', dashboard=True) }
|
|
|
<th width="10%">${ _('Submitter') }</th>
|
|
<th width="10%">${ _('Submitter') }</th>
|
|
|
<th width="15%">${ _('Last Modified') }</th>
|
|
<th width="15%">${ _('Last Modified') }</th>
|
|
|
<th width="25%">${ _('Id') }</th>
|
|
<th width="25%">${ _('Id') }</th>
|
|
|
|
|
+ <th width="1%">${ _('parentId') }</th>
|
|
|
</tr>
|
|
</tr>
|
|
|
</thead>
|
|
</thead>
|
|
|
<tbody>
|
|
<tbody>
|
|
@@ -115,6 +123,7 @@ ${ layout.menubar(section='workflows', dashboard=True) }
|
|
|
<td></td>
|
|
<td></td>
|
|
|
<td></td>
|
|
<td></td>
|
|
|
<td></td>
|
|
<td></td>
|
|
|
|
|
+ <td></td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|
|
@@ -163,7 +172,8 @@ ${ layout.menubar(section='workflows', dashboard=True) }
|
|
|
resumeUrl: wf.resumeUrl,
|
|
resumeUrl: wf.resumeUrl,
|
|
|
created: wf.created,
|
|
created: wf.created,
|
|
|
createdInMillis: wf.createdInMillis,
|
|
createdInMillis: wf.createdInMillis,
|
|
|
- run: wf.run
|
|
|
|
|
|
|
+ run: wf.run,
|
|
|
|
|
+ parentId: wf.parentId,
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -183,7 +193,8 @@ ${ layout.menubar(section='workflows', dashboard=True) }
|
|
|
null,
|
|
null,
|
|
|
null,
|
|
null,
|
|
|
{ "sSortDataType":"dom-sort-value", "sType":"numeric" },
|
|
{ "sSortDataType":"dom-sort-value", "sType":"numeric" },
|
|
|
- null
|
|
|
|
|
|
|
+ null,
|
|
|
|
|
+ { "bVisible":false }
|
|
|
],
|
|
],
|
|
|
"aaSorting":[
|
|
"aaSorting":[
|
|
|
[ 0, "desc" ]
|
|
[ 0, "desc" ]
|
|
@@ -218,7 +229,8 @@ ${ layout.menubar(section='workflows', dashboard=True) }
|
|
|
{ "sSortDataType":"dom-sort-value", "sType":"numeric" },
|
|
{ "sSortDataType":"dom-sort-value", "sType":"numeric" },
|
|
|
null,
|
|
null,
|
|
|
{ "sSortDataType":"dom-sort-value", "sType":"numeric" },
|
|
{ "sSortDataType":"dom-sort-value", "sType":"numeric" },
|
|
|
- null
|
|
|
|
|
|
|
+ null,
|
|
|
|
|
+ { "bVisible":false }
|
|
|
],
|
|
],
|
|
|
"aaSorting":[
|
|
"aaSorting":[
|
|
|
[ 0, "desc" ]
|
|
[ 0, "desc" ]
|
|
@@ -260,6 +272,12 @@ ${ layout.menubar(section='workflows', dashboard=True) }
|
|
|
drawTable();
|
|
drawTable();
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+ $("a.btn-submitted").click(function () {
|
|
|
|
|
+ $("a.btn-submitted").not(this).removeClass("active");
|
|
|
|
|
+ $(this).toggleClass("active");
|
|
|
|
|
+ drawTable();
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
$("a.btn-date").click(function () {
|
|
$("a.btn-date").click(function () {
|
|
|
$("a.btn-date").not(this).removeClass("active");
|
|
$("a.btn-date").not(this).removeClass("active");
|
|
|
$(this).toggleClass("active");
|
|
$(this).toggleClass("active");
|
|
@@ -352,7 +370,8 @@ ${ layout.menubar(section='workflows', dashboard=True) }
|
|
|
'<div class="progress"><div class="bar bar-warning" style="width: 1%"></div></div>',
|
|
'<div class="progress"><div class="bar bar-warning" style="width: 1%"></div></div>',
|
|
|
wf.user,
|
|
wf.user,
|
|
|
'<span data-sort-value="'+ wf.lastModTimeInMillis +'">' + emptyStringIfNull(wf.lastModTime) + '</span>',
|
|
'<span data-sort-value="'+ wf.lastModTimeInMillis +'">' + emptyStringIfNull(wf.lastModTime) + '</span>',
|
|
|
- '<a href="' + wf.absoluteUrl + '" data-row-selector="true">' + wf.id + '</a>'
|
|
|
|
|
|
|
+ '<a href="' + wf.absoluteUrl + '" data-row-selector="true">' + wf.id + '</a>',
|
|
|
|
|
+ wf.parentId
|
|
|
]);
|
|
]);
|
|
|
}
|
|
}
|
|
|
catch (error) {
|
|
catch (error) {
|
|
@@ -390,7 +409,8 @@ ${ layout.menubar(section='workflows', dashboard=True) }
|
|
|
'<span data-sort-value="'+ wf.durationInMillis +'">' + emptyStringIfNull(wf.duration) + '</span>',
|
|
'<span data-sort-value="'+ wf.durationInMillis +'">' + emptyStringIfNull(wf.duration) + '</span>',
|
|
|
wf.user,
|
|
wf.user,
|
|
|
'<span data-sort-value="'+ wf.lastModTimeInMillis +'">' + emptyStringIfNull(wf.lastModTime) + '</span>',
|
|
'<span data-sort-value="'+ wf.lastModTimeInMillis +'">' + emptyStringIfNull(wf.lastModTime) + '</span>',
|
|
|
- '<a href="' + wf.absoluteUrl + '" data-row-selector="true">' + wf.id + '</a>'
|
|
|
|
|
|
|
+ '<a href="' + wf.absoluteUrl + '" data-row-selector="true">' + wf.id + '</a>',
|
|
|
|
|
+ wf.parentId
|
|
|
], false);
|
|
], false);
|
|
|
}
|
|
}
|
|
|
catch (error) {
|
|
catch (error) {
|