This repository has been archived by the owner on Aug 9, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(taskstatus): show task statuses for agents and fleets
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
- Loading branch information
Showing
6 changed files
with
299 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{% if number < 1 %} | ||
<div class='center'> | ||
<table class='tab_cadre_fixe'> | ||
<tr><th>{{ __('There is no task status yet', 'flyvemdm') }}</th></tr> | ||
</table> | ||
</div> | ||
<br> | ||
{% else %} | ||
{{ pager|raw }} | ||
<div class='center'> | ||
<table class='tab_cadre_fixehov'> | ||
<tr> | ||
<th>{{ __('ID') }}</th> | ||
<th>{{ __('Policy', 'flyvemdm') }}</th> | ||
<th>{{ __('Status', 'flyvemdm') }}</th> | ||
<th>{{ __('Application date', 'flyvemdm') }}</th> | ||
<th>{{ __('Last change date', 'flyvemdm') }}</th> | ||
</tr> | ||
{% for taskstatus in taskstatuses %} | ||
{% if loop.index > start and loop.index <= stop %} | ||
<tr class='tab_bg_2'> | ||
<td ><center>{{ taskstatus.id }}</center></td> | ||
<td><center>{{ __(taskstatus.name, 'flyvemdm') }}</center></td> | ||
<td><center>{{ taskstatus.status }}</center></td> | ||
<td><center>{{ taskstatus.date_creation }}</center></td> | ||
<td><center>{{ taskstatus.date_mod }}</center></td> | ||
</tr> | ||
{% endif %} | ||
{% endfor %} | ||
<tr> | ||
<th>{{ __('ID') }}</th> | ||
<th>{{ __('Policy', 'flyvemdm') }}</th> | ||
<th>{{ __('Status', 'flyvemdm') }}</th> | ||
<th>{{ __('Application date', 'flyvemdm') }}</th> | ||
<th>{{ __('Last change date', 'flyvemdm') }}</th> | ||
</tr> | ||
</table> | ||
</div> | ||
{% endif %} |
Oops, something went wrong.