filter only if dimension > 10

This commit is contained in:
Michele Artini 2021-01-18 11:03:33 +01:00
parent 94277982e0
commit 81eba4249d
2 changed files with 15 additions and 13 deletions

View File

@ -1,6 +1,6 @@
server.port=8480
#spring.profiles.active=dev
spring.profiles.active=dev
spring.main.banner-mode = off
@ -31,17 +31,17 @@ spring.jpa.properties.hibernate.format_sql=false
openaire.api.valid.subnet = 10.19.65.0/24
openaire.api.https.proxy = 10.19.65.35
spring.security.oauth2.client.registration.oidc.provider = oidc
spring.security.oauth2.client.registration.oidc.client-id = 964b69cd-4658-4251-a153-edfadfaf15aa
spring.security.oauth2.client.registration.oidc.client-secret = ALsqw6oBp7J0JOYmWExlT6PMN3R8-j413KOipsDZJVOPv1EfMwHfiDhvsa96gkiU8YmIpGmJgLDkDycvQp30QiE
spring.security.oauth2.client.registration.oidc.scope = openid,email
#spring.security.oauth2.client.registration.oidc.redirect-uri = https://beta.orgs.openaire.eu/login/oauth2/code/oidc
# spring.security.oauth2.client.registration.oidc.provider = oidc
# spring.security.oauth2.client.registration.oidc.client-id = 964b69cd-4658-4251-a153-edfadfaf15aa
# spring.security.oauth2.client.registration.oidc.client-secret = ALsqw6oBp7J0JOYmWExlT6PMN3R8-j413KOipsDZJVOPv1EfMwHfiDhvsa96gkiU8YmIpGmJgLDkDycvQp30QiE
# spring.security.oauth2.client.registration.oidc.scope = openid,email
# #spring.security.oauth2.client.registration.oidc.redirect-uri = https://beta.orgs.openaire.eu/login/oauth2/code/oidc
spring.security.oauth2.client.provider.oidc.issuer-uri = http://localhost:8080/openid-connect-server-webapp/
spring.security.oauth2.client.provider.oidc.authorization-uri = http://localhost:8080/openid-connect-server-webapp/authorize
spring.security.oauth2.client.provider.oidc.jwk-set-uri = http://localhost:8080/openid-connect-server-webapp/jwk
spring.security.oauth2.client.provider.oidc.token-uri = http://localhost:8080/openid-connect-server-webapp/token
spring.security.oauth2.client.provider.oidc.user-info-uri = http://localhost:8080/openid-connect-server-webapp/userinfo
# spring.security.oauth2.client.provider.oidc.issuer-uri = http://localhost:8080/openid-connect-server-webapp/
# spring.security.oauth2.client.provider.oidc.authorization-uri = http://localhost:8080/openid-connect-server-webapp/authorize
# spring.security.oauth2.client.provider.oidc.jwk-set-uri = http://localhost:8080/openid-connect-server-webapp/jwk
# spring.security.oauth2.client.provider.oidc.token-uri = http://localhost:8080/openid-connect-server-webapp/token
# spring.security.oauth2.client.provider.oidc.user-info-uri = http://localhost:8080/openid-connect-server-webapp/userinfo
openaire.override.logout.url =

View File

@ -1,9 +1,11 @@
<h2>{{title}}</h2>
<br />
<h4 class="text-muted" ng-if="entries.length == 0">No entries</h4>
<p>
<input type="text" class="form-control col-lg-8 col-xs-12" ng-show="entries.length > 0" ng-model="browseFilter" placeholder="Filter...">
<p ng-show="entries.length > 10">
<input type="text" class="form-control col-lg-8 col-xs-12" ng-model="browseFilter" placeholder="Filter...">
</p>
<table class="table table-sm table-hover col-xs-12" ng-class="{'col-lg-8' : mode == 0, 'col-lg-8 table-bordered' : mode == 1}">