diff --git a/src/main/webapp/images/Thumbs.db b/src/main/webapp/images/Thumbs.db new file mode 100644 index 000000000..1dde830ba Binary files /dev/null and b/src/main/webapp/images/Thumbs.db differ diff --git a/src/main/webapp/scripts/facets/list-facet.js b/src/main/webapp/scripts/facets/list-facet.js index 9af3b81ee..8e7f8d072 100644 --- a/src/main/webapp/scripts/facets/list-facet.js +++ b/src/main/webapp/scripts/facets/list-facet.js @@ -75,9 +75,13 @@ ListFacet.prototype.render = function() { var headerDiv = $('
').addClass("facet-title").appendTo(container); $('').text(this._config.name).appendTo(headerDiv); - var removeButton = $('').addClass("facet-choice-link").text("remove").click(function() { - self._remove(); - }).prependTo(headerDiv); + var removeButton = $('') + .attr("src", "images/close.png") + .attr("title", "Remove this facet") + .addClass("facet-choice-link") + .click(function() { + self._remove(); + }).prependTo(headerDiv); var bodyDiv = $('').addClass("facet-body").appendTo(container); if (!("scroll" in this._options) || this._options.scroll) { @@ -149,6 +153,8 @@ ListFacet.prototype.render = function() { bodyDiv[0].scrollTop = scrollTop; var footerDiv = $('').addClass("facet-footer").appendTo(container); + + $('').text(choices.length + " choices: ").appendTo(footerDiv); if (this._options.sort == "name") { $('').addClass("action").text("re-sort by count").click(function() { self._options.sort = "count"; diff --git a/src/main/webapp/styles/browsing.css b/src/main/webapp/styles/browsing.css index a2846caaf..ffe94c429 100644 --- a/src/main/webapp/styles/browsing.css +++ b/src/main/webapp/styles/browsing.css @@ -67,6 +67,13 @@ a.facet-choice-link:hover { color: #88a; } +img.facet-choice-link { + text-align: baseline; + cursor: pointer; + margin: 0 2px; + float: right; +} + .facet-range-body { border: 1px solid #ccc; padding: 15px;