Owen Leonard
cb195553d3
This patch adds a new page providing an interface for generating barcodes using svc/barcode. A form allows the user to choose various parameters and see the resulting barcode image. To test, apply the patch and rebuild the staff interface SCSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). - Go to the "Tools" home page. Follow the link to "Barcode image generator." - On the barcode image generator page, confirm that there is a "Barcode image generator" link in the sidebar and that it is displayed with bold text. - Test the features of the form: - Enter a numeric value in the "Barcode" field and tab out of the field or click "Show barcode" button. A barcode of type "Code39" should be shown with the text of the barcode included in the image below the barcode. - A text area below the barcode image should show the HTML used to generate the preview image. - Clicking in this textarea should automatically add the contents to the clipboard. You should be shown a message, "HTML copied to the clipboard." - Check the "hide text" checkbox. The barcode should be redisplayed without the text. - Check that changing the "barcode height" value is reflected correctly in the barcode image. - Try adding non-numeric data in the "Barcode" field. You should be shown an error message, "Barcodes of type [type] must be numeric." - Test these other numeric barcode types: Code39, COOP2of5, EAN13, EAN8, IATA2of5, Industrial2of5, ITF, Matrix2of5, NW7, UPCA, and UPCE. Note that EAN13, EAN8, UPCA, and UPCE expect specific patterns. Test values (found here: https://barcode.tec-it.com/en/UPCE): EAN13: 978020137962 EAN8: 9031101 UPCA: 72527273070 UPCE: 0123456 - Change the barcode type to "QRcode." - The form should change, hiding the "Hide text" checkbox and showing a new ranger slider for "QR Code module size." - The barcode field should now be labeled "Text, URL, or barcode, etc" - The barcode field hint should change to a hint about QRcode dimensions. - Changing the "module size" slider should change the size of the generated QR code. As you change the slider the selected value should be reflected in the box. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> |
||
---|---|---|
.. | ||
background_jobs | ||
catalogue | ||
csv_headers | ||
mana | ||
modals | ||
str | ||
virtualshelves/merge | ||
about-team.inc | ||
accounts.inc | ||
acquisitions-add-to-basket.inc | ||
acquisitions-menu.inc | ||
acquisitions-search.inc | ||
acquisitions-toolbar.inc | ||
additional-fields-display.inc | ||
additional-fields-entry.inc | ||
admin-items-search-field-form.inc | ||
admin-menu.inc | ||
adv-search.inc | ||
auth-finder-search.inc | ||
authorities-search-results.inc | ||
authorities-search.inc | ||
authorities-toolbar.inc | ||
authorities.inc | ||
authorities_js.inc | ||
authority-detail-modal.inc | ||
av-build-dropbox.inc | ||
biblio-title-head.inc | ||
biblio-title.inc | ||
biblio-view-menu.inc | ||
blocked-fines.inc | ||
blocking_errors.inc | ||
borrower_debarments.inc | ||
branch-selector.inc | ||
budget_planning.inc | ||
budgets-active-currency.inc | ||
budgets-admin-search.inc | ||
budgets-admin-toolbar.inc | ||
calendar.inc | ||
cat-menu.inc | ||
cat-search.inc | ||
cat-toolbar.inc | ||
catalog-strings.inc | ||
cataloging-search.inc | ||
catalogue-search-box.inc | ||
cateditor-ui.inc | ||
cateditor-widgets-marc21.inc | ||
category-out-of-age-limit.inc | ||
chart.inc | ||
checkin-search.inc | ||
checkouts-table-footer.inc | ||
checkouts-table.inc | ||
circ-menu.inc | ||
circ-nav.inc | ||
circ-search.inc | ||
cities-admin-search.inc | ||
clubs-table.inc | ||
columns_settings.inc | ||
contracts-admin-search.inc | ||
country-list.inc | ||
currencies-admin-search.inc | ||
datatables.inc | ||
date-format.inc | ||
delimiter_text.inc | ||
desks-admin-search.inc | ||
doc-head-close-receipt.inc | ||
doc-head-close.inc | ||
doc-head-open.inc | ||
empty_line.inc | ||
facets.inc | ||
filter-orders.inc | ||
form-blocks.inc | ||
format_price.inc | ||
greybox.inc | ||
guided-reports-view.inc | ||
header.inc | ||
holds_table.inc | ||
home-search.inc | ||
html_helpers.inc | ||
i18n.inc | ||
ill-availability-table.inc | ||
ill-list-table-strings.inc | ||
ill-list-table.inc | ||
ill-toolbar.inc | ||
installer-doc-head-close.inc | ||
installer-intranet-bottom.inc | ||
installer-strings.inc | ||
intranet-bottom.inc | ||
intranetstylesheet.inc | ||
js-date-format.inc | ||
js-patron-format-address.inc | ||
js-patron-format.inc | ||
js-patron-get-age.inc | ||
js_includes.inc | ||
keyboard_shortcuts.inc | ||
labels-toolbar.inc | ||
langmenu-staff-top.inc | ||
last-borrower.inc | ||
letters-search.inc | ||
member-alt-address-style.inc | ||
member-alt-contact-style.inc | ||
member-display-address-style.inc | ||
member-display-alt-address-style.inc | ||
member-main-address-style.inc | ||
members-toolbar.inc | ||
merge-record.inc | ||
messaging-preference-form.inc | ||
noadd-warnings.inc | ||
onboarding_messages.inc | ||
page-numbers.inc | ||
password_check.inc | ||
patron-age.inc | ||
patron-article-requests.inc | ||
patron-return-claims.inc | ||
patron-search-box.inc | ||
patron-search-header.inc | ||
patron-search.inc | ||
patron-title.inc | ||
patron-toolbar.inc | ||
patron_messages.inc | ||
patroncards-errors.inc | ||
patroncards-toolbar.inc | ||
patronfields.inc | ||
patrons-admin-search.inc | ||
permissions.inc | ||
popup-bottom.inc | ||
pos-menu.inc | ||
prefs-admin-search.inc | ||
prefs-menu.inc | ||
recalls.inc | ||
relatives-issues-table.inc | ||
renew_results.inc | ||
renew_strings.inc | ||
reports-menu.inc | ||
reports-toolbar.inc | ||
resort_form.inc | ||
rotating-collections-toolbar.inc | ||
search_indexes.inc | ||
select2.inc | ||
serials-menu.inc | ||
serials-search.inc | ||
serials-toolbar.inc | ||
slip-print.inc | ||
stockrotation-toolbar.inc | ||
subscriptions-search.inc | ||
subtype_limits.inc | ||
subtypes_unimarc.inc | ||
suggestions-add-search.inc | ||
timepicker.inc | ||
tools-item-action.inc | ||
tools-menu.inc | ||
tools-nomatch-action.inc | ||
tools-overlay-action.inc | ||
transaction_types.inc | ||
transfer_reasons.inc | ||
validator-strings.inc | ||
vendor-menu.inc | ||
virtualshelves-toolbar.inc | ||
waiting_holds.inc | ||
wysiwyg-systempreferences.inc | ||
xslt-handler.inc | ||
z3950-admin-search.inc | ||
z3950_search.inc |