diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/shared/actions/runner_list.tmpl | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/templates/shared/actions/runner_list.tmpl b/templates/shared/actions/runner_list.tmpl index c4b70282ae..ead260f128 100644 --- a/templates/shared/actions/runner_list.tmpl +++ b/templates/shared/actions/runner_list.tmpl @@ -45,9 +45,18 @@ <table class="ui very basic striped table unstackable"> <thead> <tr> - <th data-sortt-asc="online" data-sortt-desc="offline">{{.locale.Tr "actions.runners.status"}}</th> - <th data-sortt-asc="alphabetically">{{.locale.Tr "actions.runners.id"}}</th> - <th>{{.locale.Tr "actions.runners.name"}}</th> + <th data-sortt-asc="online" data-sortt-desc="offline"> + {{.locale.Tr "actions.runners.status"}} + {{SortArrow "online" "offline" .SortType false}} + </th> + <th data-sortt-asc="newest" data-sortt-desc="oldest"> + {{.locale.Tr "actions.runners.id"}} + {{SortArrow "oldest" "newest" .SortType false}} + </th> + <th data-sortt-asc="alphabetically" data-sortt-desc="reversealphabetically"> + {{.locale.Tr "actions.runners.name"}} + {{SortArrow "alphabetically" "reversealphabetically" .SortType false}} + </th> <th>{{.locale.Tr "actions.runners.version"}}</th> <th>{{.locale.Tr "actions.runners.owner_type"}}</th> <th>{{.locale.Tr "actions.runners.labels"}}</th> |