LP1474874: Consistent page headers in the Angular client user/sandbergja/lp1474874-consistent-header-ng
authorJane Sandberg <sandbej@linnbenton.edu>
Fri, 7 Jun 2019 01:15:56 +0000 (18:15 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Sat, 22 Feb 2020 15:12:09 +0000 (07:12 -0800)
commitaa34346884bcde2a664413e16f15d4b01916190a
treeec890e312dd7c62c53d92726774ff8f587b34c3e
parentabc50d3a6dceafef96bc4c3972c0dd440c86b4d7
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>
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