Replace non-functional images with CSS styled text
authorDan Scott <dan@coffeecode.net>
Fri, 16 Mar 2012 02:38:06 +0000 (22:38 -0400)
committerDan Scott <dan@coffeecode.net>
Fri, 16 Mar 2012 02:38:06 +0000 (22:38 -0400)
commit1d338bbe94b9ee4c05f34a28bbee8d8251aa44af
tree21b0f70ff4831721a556b7d3b5245b5ccaf6455f
parente43d36f8431c1a34b4b5b85286b0302d77ddd928
Replace non-functional images with CSS styled text

The plus-sign and minus-sign images, used only for showing more or fewer
copies, did not actually do anything when you clicked on them. In
addition, they can be reasonably represented as plain text + CSS, saving
an extra HTTP request per copy detail page that has more than 10 copies.

Moving the text + CSS into the <A> tag also makes them clickable, which
is kind of nice. And, being CSS, it's easy to change the colour scheme
to suit a different site.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Open-ILS/src/templates/opac/parts/record/copy_table.tt2
Open-ILS/web/css/skin/default/opac/style.css
Open-ILS/web/images/minus_sign.png [deleted file]
Open-ILS/web/images/plus_sign.png [deleted file]