diff --git a/webapp/src/main/webapp/css/search/custom_filters.css b/webapp/src/main/webapp/css/search/custom_filters.css new file mode 100644 index 0000000000..642bea1b5f --- /dev/null +++ b/webapp/src/main/webapp/css/search/custom_filters.css @@ -0,0 +1,5 @@ +.li-selected > label { + background: url(../../images/arrowIcon.gif) 0px 5px no-repeat; + color: #2ea0cf; + padding-left: 16px; +} \ No newline at end of file diff --git a/webapp/src/main/webapp/templates/freemarker/body/menupage/browseSearchFilterValues.ftl b/webapp/src/main/webapp/templates/freemarker/body/menupage/browseSearchFilterValues.ftl index fa268e4365..0bd328942f 100644 --- a/webapp/src/main/webapp/templates/freemarker/body/menupage/browseSearchFilterValues.ftl +++ b/webapp/src/main/webapp/templates/freemarker/body/menupage/browseSearchFilterValues.ftl @@ -1,26 +1,55 @@ <#-- $This file is distributed under the terms of the license in LICENSE$ --> +<#import "search-lib.ftl" as sl> + + <#if filterGenericInfo.filters[searchFilter]??> - <#assign f = filterGenericInfo.filters[searchFilter]> - + <#assign additionalFilters = ["type"]> ${stylesheets.add('')} - -
-
- -
- <@printPagingLinks /> - <@filteredResults /> - <@printPagingLinks /> +
+
+
+ +
+ <@printPagingLinks /> + <@filteredResults /> + <@printPagingLinks /> +
-
+ + + + <#macro filteredResults> @@ -35,10 +64,9 @@ - -<#macro filterFacets> - + + <#assign valueNumber = valueNumber + 1> + - <#macro alphabeticalIndexLinks> <#if languageAware > <#assign indexFilterName = "label_regex"> @@ -66,19 +134,22 @@ <#assign indexFilter = filters[indexFilterName]> @@ -101,3 +172,32 @@ + +<#macro getAlphabetLabel valueId label> + + +<#-- create radio input fields for alphabetical indexes --> +<#macro getAlphabetInput filter filterValue valueID form="filter-form"> + <#assign checked = ""> + <#if filter.inputText == filterValue> + <#assign checked = " checked=\"checked\" " > + <#assign class = "selected-input" > + + <#assign type = "radio" > + <#assign filterName = filter.id > + + + + +${scripts.add('')} +${stylesheets.add('')} + +