Skip to content

Commit

Permalink
feat(ui): sort processes by deployment time
Browse files Browse the repository at this point in the history
* in the processes view, allow sorting by deployment time
  • Loading branch information
saig0 committed Sep 3, 2021
1 parent 3f03e16 commit db2fcdc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/main/resources/templates/process-list-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
<th>Version</th>
<th># active</th>
<th># ended</th>
<th>Deployment Time</th>
<th>Deployment Time
<a id="process-deployment-time" href="#" class="badge badge-secondary" data-toggle="tooltip" data-placement="top"
title="Sort by Deployment Time">
</a>
</th>
</thead>

{{#processes}}
Expand All @@ -44,3 +48,9 @@
</div>

{{>layout/footer}}

<script>
document.addEventListener('DOMContentLoaded', function(){
listSort('timestamp','process-deployment-time')
}, false);
</script>

0 comments on commit db2fcdc

Please sign in to comment.