Koha/koha-tmpl/intranet-tmpl/prog/css
Owen Leonard 6fe42caeb9 Bug 28694: Check alert in cataloguing should be a static message
This patch modifies the basic cataloging interface so that form
validation errors are collected in a static "dialog" at the top of the
page instead of showing in a transient JavaScript alert.

The text of the message is roughly the same as it was in the alert, and
links have been added so that the user can click to jump directly to the
field referenced.

If the user scrolls down away from the static error message, a button
appears in the floating toolbar to jump back to the message.

To test, apply the patch and rebuild the staff interface CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

- Go to Cataloging and create a new record using the basic cataloging
  editor and a framework which has multiple mandatory fields defined
  (e.g. an unmodified default framework)
- Without entering anything in mandatory fields, click the "Save"
  button.
- You should see a message box appear at the top of the page.
  - It should list each missing mandatory subfield and tag, each with a
    "Go to field" link next to it.
  - Clicking the "Go to field" link should switch you to the correct tab
    and scroll the mandatory field into view.
- When you have scrolled down far enough for the error messages to be
  offscreen, an "Errors" button should appear in the floating toolbar.
  Clicking it should scroll the box back into view.
- The JS function for scrolling to a particular element on the screen
  has been modified, so test that the links in the toolbar for
  individual tags still work correctly.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-03 15:40:52 +01:00
..
src Bug 28694: Check alert in cataloguing should be a static message 2021-11-03 15:40:52 +01:00
addbiblio.css Bug 28694: Check alert in cataloguing should be a static message 2021-11-03 15:40:52 +01:00
calendar.css Bug 28963: Compiled CSS 2021-10-12 11:15:32 +02:00
cateditor.css
hierarchy.css
humanmsg.css Bug 27099: Stage for import button not showing up 2020-12-26 18:14:11 +01:00
installer.css Bug 27823: Compiled CSS 2021-11-03 15:40:52 +01:00
itemsearchform.css
login.css Bug 27055: Fix compatibility with newer Firefox+Selenium version 2020-12-30 12:04:49 -03:00
mainpage.css Bug 28819: (follow-up) Use stacked icons for different searches 2021-08-16 11:55:56 +02:00
preferences.css Bug 27805: (follow-up) Update more instances 2021-04-06 15:56:30 +02:00
print.css Bug 28450: Make Account summary print tables configurable 2021-11-03 15:40:52 +01:00
printreceiptinvoice.css Bug 26962: (follow-up) Catch other #000066 occurrences 2021-01-13 17:17:05 +01:00
quotes.css Bug 27247: Re-add highlighting to the quote editor 2020-12-26 18:14:11 +01:00
reports.css
right-to-left.css
select2.css Bug 25727: (follow-up) Some style updates, JS i18n 2020-08-24 11:19:03 +02:00
spinelabel.css
staff-global.css Bug 28450: Compiled CSS 2021-11-03 15:40:52 +01:00
tinymce.css
uploader.css