From 00a9b1d01de3f8f94f5eee25ae98f26f45e81875 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 19 May 2021 12:51:19 -0400 Subject: [PATCH] SearchKit & Afform - Style click-sort column headers --- ext/afform/admin/ang/afAdmin/afAdminList.html | 8 ++++---- ext/afform/admin/ang/afGuiEditor.css | 11 +++++++++++ ext/search_kit/ang/crmSearchAdmin/searchList.html | 14 +++++++------- ext/search_kit/css/crmSearchAdmin.css | 11 +++++++++++ ext/search_kit/css/crmSearchTasks.css | 10 ++++++++++ 5 files changed, 43 insertions(+), 11 deletions(-) diff --git a/ext/afform/admin/ang/afAdmin/afAdminList.html b/ext/afform/admin/ang/afAdmin/afAdminList.html index 02361445aa..e8b50d7db1 100644 --- a/ext/afform/admin/ang/afAdmin/afAdminList.html +++ b/ext/afform/admin/ang/afAdmin/afAdminList.html @@ -37,22 +37,22 @@ - - - -
+ {{:: ts('Title') }} + {{:: ts('Name') }} + {{:: ts('Page') }} + {{:: ts('Placement') }} diff --git a/ext/afform/admin/ang/afGuiEditor.css b/ext/afform/admin/ang/afGuiEditor.css index 4b22cace9c..2c60f18086 100644 --- a/ext/afform/admin/ang/afGuiEditor.css +++ b/ext/afform/admin/ang/afGuiEditor.css @@ -1,3 +1,14 @@ +#bootstrap-theme.afadmin-list th[ng-click] { + cursor: pointer; +} +#bootstrap-theme.afadmin-list th i.fa-sort-desc, +#bootstrap-theme.afadmin-list th i.fa-sort-asc { + color: #1a5a82; +} +#bootstrap-theme.afadmin-list th:not(:hover) i.fa-sort { + opacity: .5; +} + #afGuiEditor #afGuiEditor-palette { margin-right: 5px; height: 100%; diff --git a/ext/search_kit/ang/crmSearchAdmin/searchList.html b/ext/search_kit/ang/crmSearchAdmin/searchList.html index ce4eb169ae..a698477772 100644 --- a/ext/search_kit/ang/crmSearchAdmin/searchList.html +++ b/ext/search_kit/ang/crmSearchAdmin/searchList.html @@ -1,4 +1,4 @@ -