Skip to content

Commit

Permalink
Simplify WAYF IdPs search (addition)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgeorgilakis-grnet committed Jun 13, 2024
1 parent 5822075 commit acf1353
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
For Keycloak upstream changelog please see https://www.keycloak.org/docs/latest/release_notes/index.html.
Full Keycloak upstream jira issue can be shown if filtered by Fix version. For example [Keycloak jira issue for 15.0.2 version](https://issues.redhat.com/browse/KEYCLOAK-19161?jql=project%20%3D%20keycloak%20and%20fixVersion%20%3D%2015.0.2)

## [5.1.1] - 2024-06-13
### Changed
- Simplify WAYF IdPs search (addition)

## [5.1.0] - 2024-06-12
### Changed
- Simplify WAYF IdPs search
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.rciam.keycloak</groupId>
<artifactId>keycloak-theme-vanilla</artifactId>
<version>5.1.0</version>
<version>5.1.1</version>
<packaging>jar</packaging>

<properties>
Expand Down
5 changes: 2 additions & 3 deletions src/main/resources/theme/rciam/login/login-username.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
<style>
.input-container {
position: relative;
width: 95%;
}
.input-container .fa-search {
position: absolute;
Expand Down Expand Up @@ -218,8 +217,8 @@
<h4>${msg("identity-provider-login-label")}</h4>

<div ng-if="(idps.length >= maxIdPsWithoutSearch && fetchParams.keyword==null) || fetchParams.keyword!=null" class="input-container">
<i class="fa fa-search" id="kc-providers-filter-button"> </i>
<input id="kc-providers-filter" type="text" placeholder="Search your authentication provider" ng-model="fetchParams.keyword" ng-keypress="applySearch($event)">
<i class="kc-social-provider-logo fa fa-search" id="kc-providers-filter-button"> </i>
<input id="kc-providers-filter" type="text" placeholder="Search your authentication provider" ng-model="fetchParams.keyword" ng-keypress="applySearch($event)" style="padding: 5px 40px;">
</div>
<div ng-if="(idps.length < maxIdPsWithoutSearch) || (fetchParams.keyword!=null && fetchParams.keyword!='')">
<ul id="kc-providers-list" class="${properties.kcFormSocialAccountListClass!} login-pf-list-scrollable" on-scroll="scrollCallback($event, $direct)" >
Expand Down
7 changes: 3 additions & 4 deletions src/main/resources/theme/rciam/login/login.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,10 @@
<style>
.input-container {
position: relative;
width: 95%;
}
.input-container .fa-search {
position: absolute;
left: 5px;
left: 10px;
top: 50%;
transform: translateY(-50%);
color: #aaa;
Expand Down Expand Up @@ -246,8 +245,8 @@
<h4>${msg("identity-provider-login-label")}</h4>
-->
<div ng-if="(idps.length >= maxIdPsWithoutSearch && fetchParams.keyword==null) || fetchParams.keyword!=null" class="input-container">
<i class="fa fa-search" id="kc-providers-filter-button"> </i>
<input id="kc-providers-filter" type="text" placeholder="Search your authentication provider" ng-model="fetchParams.keyword">
<i class="kc-social-provider-logo fa fa-search" id="kc-providers-filter-button"> </i>
<input id="kc-providers-filter" type="text" placeholder="Search your authentication provider" ng-model="fetchParams.keyword" style="padding: 5px 40px;">
</div>
<div ng-if="(idps.length < maxIdPsWithoutSearch) || (fetchParams.keyword!=null && fetchParams.keyword!='')">
<ul id="kc-providers-list" class="${properties.kcFormSocialAccountListClass!} login-pf-list-scrollable" on-scroll="scrollCallback($event, $direct)" >
Expand Down

0 comments on commit acf1353

Please sign in to comment.