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 More interface changes for circulation: Further tweaking of circ warning dialog, formatting patron selection form, adding 'focus' class to patron selection select list. 2007-11-04 16:31:02 -06:00
arrow-bullet.gif Finishing circ page layout changes. Still need to iron out standards for warning/message styles. Also renaming a couple of includes and correcting the relevant files. 2007-10-29 16:21:45 -05:00
asc.gif Cleanup of z39.50 search form, addition of checkall js. Addition of tablesorter js to z39.50 results. 2008-03-19 06:32:30 -05:00
ascdesc.gif Cleanup of z39.50 search form, addition of checkall js. Addition of tablesorter js to z39.50 results. 2008-03-19 06:32:30 -05:00
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 Changes to the appearance and behavior of the cart in the staff client (see Bug 3871) 2009-12-20 14:27:12 +01:00
cart.gif MT 1110 : Balance cart and lists : cart is now in the intranet 2009-10-14 15:04:53 +02:00
checkall.gif moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
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 Fix for Bug 4868 - Improve controls for cloning and deleting MARC subfields 2010-06-19 08:23:26 -04:00
collapse.gif Adding missing images for collapsible syspref sections 2010-02-02 18:42:59 -05:00
css_header.png moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
delete-subfield.png Fix for Bug 4868 - Improve controls for cloning and deleting MARC subfields 2010-06-19 08:23:26 -04:00
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 More interface changes for circulation: Further tweaking of circ warning dialog, formatting patron selection form, adding 'focus' class to patron selection select list. 2007-11-04 16:31:02 -06:00
desc.gif Cleanup of z39.50 search form, addition of checkall js. Addition of tablesorter js to z39.50 results. 2008-03-19 06:32:30 -05:00
dropshadow-alpha.png More work on circulation dialog. Adding files and styles necessary to do drop-shadow on divs (http://www.alistapart.com/articles/cssdropshadows) 2007-10-31 19:46:16 -05:00
dropshadow-mask.gif More work on circulation dialog. Adding files and styles necessary to do drop-shadow on divs (http://www.alistapart.com/articles/cssdropshadows) 2007-10-31 19:46:16 -05:00
dropshadow.gif More work on circulation dialog. Adding files and styles necessary to do drop-shadow on divs (http://www.alistapart.com/articles/cssdropshadows) 2007-10-31 19:46:16 -05:00
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 Fix for Bug 3256, "Long email address cut off in patron windows" 2009-08-12 21:13:59 -04:00
expand.gif Adding missing images for collapsible syspref sections 2010-02-02 18:42:59 -05:00
filefind.png filefind.png. Why not having the same architecture between intranet and opac img or images ? 2007-10-02 15:45:18 -05:00
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 (bug 1532) Reserves Updates Ported From Dev_Week 2010-02-18 22:49:47 -05:00
go-down.png (bug 1532) Reserves Updates Ported From Dev_Week 2010-02-18 22:49:47 -05:00
go-top.png (bug 1532) Reserves Updates Ported From Dev_Week 2010-02-18 22:49:47 -05:00
go-up.png (bug 1532) Reserves Updates Ported From Dev_Week 2010-02-18 22:49:47 -05:00
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 - Changes to the way patron renewals are handled. Circulation page now offers 'renew' link alongside warning about patron expiration (as in dev_week), using the new setstatus script. 2007-12-17 19:24:49 -06:00
koha-logo-black.png reset-fonts-grids.css is the YUI-Grids stylesheet 2007-08-28 16:50:46 -05:00
koha-logo-medium.gif New basic page structure implemented for circ pages: global main menu in the header, resident search box and logo, followed by breadcrumb navigation. Added circ-menu.inc for left-hand sidebar menu (needs revision), circ-search.inc which defines the resident search box for circ pages, additions to staff-global.js to handle tab-switching in search box. 2007-09-07 15:44:57 -05:00
koha-logo-white.png moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
koha-logo.gif Visual tweaks for login screen. 2008-04-01 06:41:12 -05:00
koha-logo.png moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
koha.org-logo.gif moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
label-creator-image.png [30/40] Work on labels module home page. 2009-09-01 15:53:07 -04:00
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 Using YUI plugin to do "Loading" mask on addbiblio.pl and authorities.pl. Previous version wasn't compatible with Internet Explorer. 2008-02-29 17:30:02 -06:00
locked.png Fix for Bug 2122, Grayed out Fields not always visible 2010-11-17 21:21:29 +13:00
more-arrow.gif New basic page structure implemented for circ pages: global main menu in the header, resident search box and logo, followed by breadcrumb navigation. Added circ-menu.inc for left-hand sidebar menu (needs revision), circ-search.inc which defines the resident search box for circ pages, additions to staff-global.js to handle tab-switching in search box. 2007-09-07 15:44:57 -05:00
more-up-arrow.gif Overhaul to Koha's js-menu systems. New language-picker in the footer required more flexibility than jquery's clickmenu plugin offered, so both the language picker and the main navigation menu now use YUI's menu plugin. The necessary dependencies have been added, and ClickMenu-related files removed. 2008-01-14 16:48:27 -06:00
more.gif more holiday/calendar work 2008-02-15 08:25:46 -06:00
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 Some changes related to recent commits to patron images: Markup and javascript changes for upload form; Enabling passing of cardnumber and filetype variable to picture upload form; changes to picture display to handle missing image; Adding link to picture upload form from missing image display in circ and moremember; Removal of English text from 'no patron image' file. 2008-02-27 09:02:37 -06:00
pop-up-link.png Fix for Bug 5030 - Improve handling of duplicate patrons 2010-12-02 09:16:07 +13:00
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 Prettying up holds print/confirm button, correcting markup in transfer slip. 2008-04-10 02:59:27 -05:00
progress.png Adding progress bar and some other visual enhancements to file upload interactions. 2008-10-01 11:58:21 -05:00
regularDay.jpg moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
regularHoliday.jpg moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
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 moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
search-audio-books.gif moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
search-books.gif moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
search-kids.gif moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
search-large-print.gif moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
search-local-history.gif moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
search-movies.gif moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
search-music.gif moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
search-reference.gif moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
search-software-web.gif moved images to img fixed installer path for templates 2007-08-23 21:21:58 -05:00
spinner-small.gif Add basic client-side AJAX wrappers 2009-09-06 23:01:32 -06:00
toolbar-add-to-shelf.gif Refining navigation in MARC Framework pages; Fixing unfinished YUI-based toolbar on catalogue detail page: functional now, with some tweaks yet to be done. 2007-10-09 19:12:33 -05:00
toolbar-delete.gif Refining navigation in MARC Framework pages; Fixing unfinished YUI-based toolbar on catalogue detail page: functional now, with some tweaks yet to be done. 2007-10-09 19:12:33 -05:00
toolbar-duplicate.gif Adding some image files missing from yesterday's commit; Correcting patron image javascript in circ and moremember; Adding cardnumber to moremember display. 2007-12-21 19:47:36 -06:00
toolbar-edit.gif Buttons. Toolbar icons and generic "submit" style. 2007-12-20 19:16:13 -06:00
toolbar-hold.gif Refining navigation in MARC Framework pages; Fixing unfinished YUI-based toolbar on catalogue detail page: functional now, with some tweaks yet to be done. 2007-10-09 19:12:33 -05:00
toolbar-new.gif Refining navigation in MARC Framework pages; Fixing unfinished YUI-based toolbar on catalogue detail page: functional now, with some tweaks yet to be done. 2007-10-09 19:12:33 -05:00
toolbar-orders.gif Adding some image files missing from yesterday's commit; Correcting patron image javascript in circ and moremember; Adding cardnumber to moremember display. 2007-12-21 19:47:36 -06:00
toolbar-password.gif Adding some image files missing from yesterday's commit; Correcting patron image javascript in circ and moremember; Adding cardnumber to moremember display. 2007-12-21 19:47:36 -06:00
toolbar-print.gif Refining navigation in MARC Framework pages; Fixing unfinished YUI-based toolbar on catalogue detail page: functional now, with some tweaks yet to be done. 2007-10-09 19:12:33 -05:00
toolbar-receive.gif Adding some image files missing from yesterday's commit; Correcting patron image javascript in circ and moremember; Adding cardnumber to moremember display. 2007-12-21 19:47:36 -06:00
toolbar-renew.gif Adding some image files missing from yesterday's commit; Correcting patron image javascript in circ and moremember; Adding cardnumber to moremember display. 2007-12-21 19:47:36 -06:00
toolbar-save.gif Adding some image files missing from yesterday's commit; Correcting patron image javascript in circ and moremember; Adding cardnumber to moremember display. 2007-12-21 19:47:36 -06:00
toolbar-search.gif Adding some image files missing from yesterday's commit; Correcting patron image javascript in circ and moremember; Adding cardnumber to moremember display. 2007-12-21 19:47:36 -06:00
up.png Some style changes following up on recent fix for Bug 2019. Hopefully improves readability. Converted up.png from 24-bit to 8-bit for IE6-friendliness (doesn't require alpha transparency). 2008-04-24 10:31:01 -05:00
x.png (bug 1532) Reserves Updates Ported From Dev_Week 2010-02-18 22:49:47 -05:00
x_alt_16x16.png Bug 7977: QOTD uploader to enable uploading csv files containing quotes 2012-05-24 14:14:09 +02:00