LP1474874: Consistent page headers in the Angular client
authorJane Sandberg <sandbej@linnbenton.edu>
Fri, 7 Jun 2019 01:15:56 +0000 (18:15 -0700)
committerJason Boyer <JBoyer@equinoxinitiative.org>
Fri, 24 Jul 2020 13:16:47 +0000 (09:16 -0400)
commit5ee5c4cf81288f25264f4beb99d6bf4d0ae7af12
treef82ca0d9ab646be235bd6df605d497e3b3c8b0f2
parent9f5c58d39649b9b09f27781bc4da9246c506d5d4
LP1474874: Consistent page headers in the Angular client

This commit ensures that each screen in the Angular staff client uses
the <eg-staff-banner> component to better orient its users.

This commit also gives the eg-staff-banner some <h1> semantics, per
WebAIM's guidance: "Pages should be structured in a hierarchical manner,
generally with one 1st degree headings (<h1>) being the most important
(usually page titles or main content heading)" -- https://webaim.org/techniques/semanticstructure/

To test:

1) Go to [your-server]/eg2/en-US/staff/catalog/search
2) Confirm that there is a header that gives the page title at the top
of the page.
3) Go to an Angular Vandelay page.
4) Confirm that you see a similar header as in step 2.
5) Go to an Angular Administration page.
6) repeat step 4.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/cat/vandelay/vandelay.component.html
Open-ILS/src/eg2/src/app/staff/catalog/browse.component.html
Open-ILS/src/eg2/src/app/staff/catalog/catalog.component.html
Open-ILS/src/eg2/src/app/staff/catalog/cnbrowse.component.html
Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts