1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-29 18:29:44 +02:00

EE-3831 Replace sort icon and search icon in all docker pages (#7400)

This commit is contained in:
Rex Wang 2022-08-03 17:43:29 +08:00 committed by GitHub
parent 5b40c79ea3
commit d8db8718bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 426 additions and 305 deletions

View file

@ -25,25 +25,31 @@
<thead>
<tr>
<th>
<a ng-click="$ctrl.changeOrderBy('Time')">
Date
<pr-icon icon="'arrow-down'" feather="true" ng-if="$ctrl.state.orderBy === 'Time' && !$ctrl.state.reverseOrder"></pr-icon>
<pr-icon icon="'arrow-up'" feather="true" ng-if="$ctrl.state.orderBy === 'Time' && $ctrl.state.reverseOrder"></pr-icon>
</a>
<table-column-header
col-title="'Date'"
can-sort="true"
is-sorted="$ctrl.state.orderBy === 'Time'"
is-sorted-desc="$ctrl.state.orderBy === 'Time' && $ctrl.state.reverseOrder"
ng-click="$ctrl.changeOrderBy('Time')"
></table-column-header>
</th>
<th>
<a ng-click="$ctrl.changeOrderBy('Type')">
Category
<pr-icon icon="'arrow-down'" feather="true" ng-if="$ctrl.state.orderBy === 'Type' && !$ctrl.state.reverseOrder"></pr-icon>
<pr-icon icon="'arrow-up'" feather="true" ng-if="$ctrl.state.orderBy === 'Type' && $ctrl.state.reverseOrder"></pr-icon>
</a>
<table-column-header
col-title="'Category'"
can-sort="true"
is-sorted="$ctrl.state.orderBy === 'Type'"
is-sorted-desc="$ctrl.state.orderBy === 'Type' && $ctrl.state.reverseOrder"
ng-click="$ctrl.changeOrderBy('Type')"
></table-column-header>
</th>
<th>
<a ng-click="$ctrl.changeOrderBy('Details')">
Details
<pr-icon icon="'arrow-down'" feather="true" ng-if="$ctrl.state.orderBy === 'Details' && !$ctrl.state.reverseOrder"></pr-icon>
<pr-icon icon="'arrow-up'" feather="true" ng-if="$ctrl.state.orderBy === 'Details' && $ctrl.state.reverseOrder"></pr-icon>
</a>
<table-column-header
col-title="'Details'"
can-sort="true"
is-sorted="$ctrl.state.orderBy === 'Details'"
is-sorted-desc="$ctrl.state.orderBy === 'Details' && $ctrl.state.reverseOrder"
ng-click="$ctrl.changeOrderBy('Details')"
></table-column-header>
</th>
</tr>
</thead>