From: Stephanie Leary Date: Fri, 14 Apr 2023 19:27:26 +0000 (+0000) Subject: LP1994711 Semantic H1 headings for page titles X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=commitdiff_plain;h=7b9f428dd05eea174bdf23a8a9b527d6756de36b LP1994711 Semantic H1 headings for page titles Patch alters the markup within to include H1 headings for page titles. The patch also includes a new CSS file for the course page component, which appears to be the only component taking advantage of the custom classes and icons for page titles. I've made archived course titles gray and italicized. Signed-off-by: Stephanie Leary Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-list.component.ts b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-list.component.ts index cc1f75b..a5b4f0d 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-list.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-list.component.ts @@ -21,7 +21,8 @@ import {CourseAssociateUsersComponent } from './course-associate-users.component'; @Component({ - templateUrl: './course-list.component.html' + templateUrl: './course-list.component.html', + styleUrls: ['./course-page.component.css'] }) export class CourseListComponent implements OnInit, AfterViewInit { diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.css b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.css new file mode 100644 index 0000000..0beaeb7 --- /dev/null +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.css @@ -0,0 +1,4 @@ +.course-archived { + color: #666; + font-style: italic; +} \ No newline at end of file diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.html index 0310f2c..24fc1ae 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.html @@ -1,7 +1,7 @@ diff --git a/Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts b/Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts index c49c495..6055fbc 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts @@ -5,9 +5,10 @@ import {Component, OnInit, Input} from '@angular/core'; template: `
- - {{bannerIcon}} - {{bannerText}} +

+ {{bannerIcon}} + {{bannerText}} +

` }) diff --git a/Open-ILS/src/eg2/src/styles.css b/Open-ILS/src/eg2/src/styles.css index e1d8e74..7297759 100644 --- a/Open-ILS/src/eg2/src/styles.css +++ b/Open-ILS/src/eg2/src/styles.css @@ -23,6 +23,11 @@ body, .form-control, .btn, .input-group-text { */ font-size: .88rem; } +h1 { + font-size: 1.25rem; + font-weight: normal; + margin: 0 +} h2 { font-size: 1.25rem; font-weight: 550;