diff --git a/src/app/classroom-monitor/status-icon/status-icon.component.html b/src/app/classroom-monitor/status-icon/status-icon.component.html index 27276757d8f..2d9ba937c0e 100644 --- a/src/app/classroom-monitor/status-icon/status-icon.component.html +++ b/src/app/classroom-monitor/status-icon/status-icon.component.html @@ -1,9 +1,3 @@ - - {{ iconName }} + + {{ name }} diff --git a/src/app/classroom-monitor/status-icon/status-icon.component.ts b/src/app/classroom-monitor/status-icon/status-icon.component.ts index 27a46e306ae..81c8095b477 100644 --- a/src/app/classroom-monitor/status-icon/status-icon.component.ts +++ b/src/app/classroom-monitor/status-icon/status-icon.component.ts @@ -1,21 +1,15 @@ import { Component, Input } from '@angular/core'; +import { MatIconModule } from '@angular/material/icon'; +import { MatTooltipModule } from '@angular/material/tooltip'; @Component({ + imports: [MatIconModule, MatTooltipModule], selector: 'status-icon', + standalone: true, templateUrl: 'status-icon.component.html' }) export class StatusIconComponent { - @Input() - iconClass: string; - - @Input() - iconLabel: string; - - @Input() - iconName: string; - - @Input() - iconTooltip: string; - - constructor() {} + @Input() class: string; + @Input() name: string; + @Input() tooltip: string; } diff --git a/src/app/classroom-monitor/step-info/step-info.component.html b/src/app/classroom-monitor/step-info/step-info.component.html index 78990395f55..4c0739420cd 100644 --- a/src/app/classroom-monitor/step-info/step-info.component.html +++ b/src/app/classroom-monitor/step-info/step-info.component.html @@ -1,20 +1,18 @@
- +    {{ stepTitle }} + [class]="alertIconClass" + [name]="alertIconName" + [tooltip]="alertIconLabel" + /> + class="info" + name="info" + [tooltip]="rubricIconLabel" + /> New
diff --git a/src/app/teacher/grading-common.module.ts b/src/app/teacher/grading-common.module.ts index c3017daa8c7..39b2c01db38 100644 --- a/src/app/teacher/grading-common.module.ts +++ b/src/app/teacher/grading-common.module.ts @@ -14,17 +14,20 @@ import { StudentTeacherCommonModule } from '../student-teacher-common.module'; import { ComponentGradingModule } from './component-grading.module'; import { StatusIconComponent } from '../classroom-monitor/status-icon/status-icon.component'; import { NavItemProgressComponent } from '../classroom-monitor/nav-item-progress/nav-item-progress.component'; -import { SaveIndicatorComponent } from '../../assets/wise5/common/save-indicator/save-indicator.component'; @NgModule({ - imports: [ComponentGradingModule, IntersectionObserverModule, StudentTeacherCommonModule], + imports: [ + ComponentGradingModule, + IntersectionObserverModule, + StatusIconComponent, + StudentTeacherCommonModule + ], declarations: [ EditComponentAnnotationsComponent, EditComponentCommentComponent, EditComponentScoreComponent, GradingEditComponentMaxScoreComponent, NavItemProgressComponent, - StatusIconComponent, WorkgroupComponentGradingComponent, WorkgroupInfoComponent, WorkgroupItemComponent, diff --git a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/workgroupInfo/workgroup-info.component.html b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/workgroupInfo/workgroup-info.component.html index 2f7a37e446f..f8bc5f82129 100644 --- a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/workgroupInfo/workgroup-info.component.html +++ b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/workgroupInfo/workgroup-info.component.html @@ -6,10 +6,9 @@ + [tooltip]="alertLabel" + [name]="alertIconName" + [class]="alertIconClass" + /> New diff --git a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeProgress/nav-item/nav-item.component.html b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeProgress/nav-item/nav-item.component.html index 4d1acbb0be3..604ef7280d9 100644 --- a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeProgress/nav-item/nav-item.component.html +++ b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeProgress/nav-item/nav-item.component.html @@ -84,18 +84,16 @@ + [class]="alertIconClass" + [name]="alertIconName" + [tooltip]="alertIconLabel" + /> + [class]="rubricIconClass" + [name]="rubricIconName" + [tooltip]="rubricIconLabel" + /> src/app/classroom-monitor/step-info/step-info.component.html - 19 + 17 src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/workgroupInfo/workgroup-info.component.html - 14 + 13 src/assets/wise5/directives/componentAnnotations/component-annotations.component.html