mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 13:27:35 +00:00
mobile fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<div class="card" (click)="onCardClick()">
|
<div class="card" (click)="onCardClick()">
|
||||||
<h2 class="identifier">{{ student().identifier }}</h2>
|
<h2 class="identifier">{{ student().identifier }}</h2>
|
||||||
<span class="age-badge">Grad Date: {{ student().expectedGradDate }}</span>
|
<span class="age-badge">Grad Date: {{ student().expectedGradDate | date:'M/d/yy' }}</span>
|
||||||
<div class="stats">
|
<div class="stats">
|
||||||
<span class="stat">{{ student().goalCount }} goals</span>
|
<span class="stat">{{ student().goalCount }} goals</span>
|
||||||
<span class="stat">{{ student().progressEventCount }} events</span>
|
<span class="stat">{{ student().progressEventCount }} events</span>
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
import { Component, inject, input } from '@angular/core';
|
import { Component, inject, input } from '@angular/core';
|
||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
import { StudentCardDto } from '../../../shared/classes/student-card.dto';
|
import { StudentCardDto } from '../../../shared/classes/student-card.dto';
|
||||||
|
import { DatePipe } from '@angular/common';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-student-card',
|
selector: 'app-student-card',
|
||||||
imports: [],
|
imports: [DatePipe],
|
||||||
templateUrl: './student-card.html',
|
templateUrl: './student-card.html',
|
||||||
styleUrl: './student-card.scss',
|
styleUrl: './student-card.scss',
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user