Koha/koha-tmpl/intranet-tmpl/prog/img
Nicole C. Engard 07287ec065 Bug 8412: add color icon set
My goal here is to make it so that libraries can use
one of the authorized values (shelving location or
collection code) to store the color of the material
and then make that searchable on the advanced search
page.

To do this for collection codes you'd need to add
the following jqueries:

intranetuserjs

$(document).ready(function(){
$("#advsearch-tab-ccode a:contains('Collection')").text("Color");
$("#holdings th:contains('Collection')").text("Color");
});

opacuserjs

$(document).ready(function(){
$("#advsearch-tab-ccode a:contains('Collection')").text("Color");
$('#item_ccode').text("Color");
});

And update the frameworks to change the 952$8 label to say Color.

The following SQL could be used to add these colors to the CCODE
authorized value category if you planned on using these this way.
If you wanted to use these colors for another authorized value
you'd have to edit this to use that category:

insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','000000','Black','','colors/000000.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','66cc66','Bright Green','','colors/66cc66.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','99cc33','Olive','','colors/99cc33.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','3333cc','Dark Blue','','colors/3333cc.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','006600' ,'Dark Green','','colors/006600.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','6600cc','Plum','','colors/6600cc.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','6666cc','Purple','','colors/6666cc.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','9999cc','Light Purple','','colors/9999cc.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','660000' ,'Burgundy','','colors/660000.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','663333' ,'Brown','','colors/663333.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','990000' ,'Red','','colors/990000.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','996633' ,'Tan','','colors/996633.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','999999' ,'Gray','','colors/999999.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','cc66cc','Pink','','colors/cc66cc.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','cc99cc','Bubble Gum','','colors/cc99cc.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','cc3333' ,'Orange','','colors/cc3333.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','cc6666' ,'Peach','','colors/cc6666.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','cc9999' ,'Rose','','colors/cc9999.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','cccc00' ,'Gold','','colors/cccc00.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','ffff33' ,'Yellow','','colors/ffff33.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','ffffcc','Cream','','colors/ffffcc.png');
insert into authorised_values (category, authorised_value, lib,
 lib_opac, imageurl) values ('CCODE','ffffff','White','','colors/ffffff.png');

I'll add this tip to a blog post and to the manual once this
set of icons has been pushed to Koha.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-09-12 14:38:06 +02:00
..
datatables Bug 6836: Add jQuery dataTables plugin 2012-01-27 11:33:11 +01:00
famfamfam Bug 8335 - Missing Icon PR.png or typo in MARC21slim2OPACDetail.xsl 2012-07-06 18:30:05 +02:00
itemtypeimg Bug 8412: add color icon set 2012-09-12 14:38:06 +02:00
approve.gif
arrow-bullet.gif
asc.gif
ascdesc.gif
background_koha_logo.png Bug 7979: New design for staff interface + fixes + css call moved 2012-04-20 18:24:38 +02:00
cart-small.gif
cart.gif
checkall.gif
clear-field.png Bug 3374 - Display patron attributes in the same format as other patron data 2012-09-03 15:22:06 +02:00
clone-field.png Bug 3374 - Display patron attributes in the same format as other patron data 2012-09-03 15:22:06 +02:00
clone-subfield.png
collapse.gif
css_header.png
delete-subfield.png
delete-tag.png Follow-up to Bug 4868, Improve controls for cloning and deleting subfields 2011-08-26 10:25:18 +12:00
deny.gif
desc.gif
dropshadow-alpha.png
dropshadow-mask.gif
dropshadow.gif
edit-tag.png Follow-up to Bug 4868, Improve controls for cloning and deleting subfields 2011-08-26 10:25:18 +12:00
elipsis.gif
expand.gif
filefind.png
first-disabled.png Bug 5345 [FOLLOW-UP] DataTables in Koha 2012-04-13 15:44:24 +02:00
first.png (MT #1654) Adding jquery.tablesorter and jquery.tablesorter.pager support for authorised_values.pl 2010-12-21 21:18:11 +13:00
go-bottom.png
go-down.png
go-top.png
go-up.png
icon_acquisitions.png Bug 7979: New design for staff interface + fixes + css call moved 2012-04-20 18:24:38 +02:00
icon_administration.png Bug 7979: New design for staff interface + fixes + css call moved 2012-04-20 18:24:38 +02:00
icon_authorities.png Bug 7979: New design for staff interface + fixes + css call moved 2012-04-20 18:24:38 +02:00
icon_cataloging.png Bug 7979: New design for staff interface + fixes + css call moved 2012-04-20 18:24:38 +02:00
icon_circulation.png Bug 7979: New design for staff interface + fixes + css call moved 2012-04-20 18:24:38 +02:00
icon_koha.png Bug 7979: New design for staff interface + fixes + css call moved 2012-04-20 18:24:38 +02:00
icon_lists.png Bug 7979: New design for staff interface + fixes + css call moved 2012-04-20 18:24:38 +02:00
icon_patrons.png Bug 7979: New design for staff interface + fixes + css call moved 2012-04-20 18:24:38 +02:00
icon_reports.png Bug 7979: New design for staff interface + fixes + css call moved 2012-04-20 18:24:38 +02:00
icon_search.png Bug 7979: New design for staff interface + fixes + css call moved 2012-04-20 18:24:38 +02:00
icon_serials.png Bug 7979: New design for staff interface + fixes + css call moved 2012-04-20 18:24:38 +02:00
icon_tools.png Bug 7979: New design for staff interface + fixes + css call moved 2012-04-20 18:24:38 +02:00
item-bullet.gif
koha-logo-black.png
koha-logo-medium.gif
koha-logo-white.png
koha-logo.gif
koha-logo.png
koha.org-logo.gif
label-creator-image.png
last-disabled.png Bug 5345 [FOLLOW-UP] DataTables in Koha 2012-04-13 15:44:24 +02:00
last.png (MT #1654) Adding jquery.tablesorter and jquery.tablesorter.pager support for authorised_values.pl 2010-12-21 21:18:11 +13:00
loading-small.gif Bug 7747 - Replace YUI autocomplete with jQueryUI 2012-05-31 18:07:55 +02:00
loading.gif
locked.png
more-arrow.gif
more-up-arrow.gif
more.gif
next-disabled.png Bug 5345 [FOLLOW-UP] DataTables in Koha 2012-04-13 15:44:24 +02:00
next.png (MT #1654) Adding jquery.tablesorter and jquery.tablesorter.pager support for authorised_values.pl 2010-12-21 21:18:11 +13:00
note.png Revised fix for Bug 6133 - Authorised values administration, warn for modifs 2011-07-12 19:59:04 +12:00
patron-blank.png
pop-up-link.png
prev-disabled.png Bug 5345 [FOLLOW-UP] DataTables in Koha 2012-04-13 15:44:24 +02:00
prev.png (MT #1654) Adding jquery.tablesorter and jquery.tablesorter.pager support for authorised_values.pl 2010-12-21 21:18:11 +13:00
print-confirm.gif
progress.png
regularDay.jpg
regularHoliday.jpg
repeat-tag.png Follow-up to Bug 4868, Improve controls for cloning and deleting subfields 2011-08-26 10:25:18 +12:00
repeatable.jpg
search-audio-books.gif
search-books.gif
search-kids.gif
search-large-print.gif
search-local-history.gif
search-movies.gif
search-music.gif
search-reference.gif
search-software-web.gif
spinner-small.gif
toolbar-add-to-shelf.gif
toolbar-delete.gif
toolbar-duplicate.gif
toolbar-edit.gif
toolbar-hold.gif
toolbar-new.gif
toolbar-orders.gif
toolbar-password.gif
toolbar-print.gif
toolbar-receive.gif
toolbar-renew.gif
toolbar-save.gif
toolbar-search.gif
up.png
x.png
x_alt_16x16.png Bug 7977: QOTD uploader to enable uploading csv files containing quotes 2012-05-24 14:14:09 +02:00