Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Owen Leonard 0a39acec82 Bug 15828: Upload patron images is hard to read
The styling of the patron image upload form causes the text to be
smaller than it should be for the main body of a page. This patch
revises the form style and cleans up the markup a bit.

This patch also adds client-side validation of the form so that a file
upload is required, and a card number is required if an image file is
selected.

To test, apply the patch and go to Tools -> Upload patron images.

1. Confirm that the text in the form is the correct size.
2. With "Zip file" selected, confirm that submitting the form is blocked
   and the file upload marked as required.
3. With "Image file" selected, confirm that submitting the form
   with an empty card number field is blocked and the card number
   field is marked as required.
4. Confirm that uploading zip files and single images still works
   correctly.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-02-24 03:21:11 +00:00
..
batch_delete_records.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
batch_record_modification.tt
batchMod-del.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
batchMod-edit.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
batchMod.tt
cleanborrowers.tt Bug 15598: Also fixing space near exclamation mark in other files 2016-01-27 05:19:38 +00:00
csv-profiles.tt
export.tt
holidays.tt
import_borrowers.tt
inventory.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
koha-news.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
letter.tt
manage-marc-import.tt
marc_modification_templates.tt
modborrowers.tt
overduerules.tt
picture-upload.tt Bug 15828: Upload patron images is hard to read 2016-02-24 03:21:11 +00:00
quotes-upload.tt Bug 15684: Fix encoding issues with quote upload 2016-02-04 00:14:43 +00:00
quotes.tt
scheduler.tt
showdiffmarc.tt
stage-marc-import.tt
tools-home.tt Bug 15829 - Rotating Collections is under Patrons on Tools Home - Should be Catalog 2016-02-24 03:16:28 +00:00
upload-images.tt
upload.tt
viewlog.tt Bug 13474: Adding untranslatable log actions to viewlog.tt 2016-02-24 03:07:00 +00:00