mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 02:57:36 +00:00
Added "Generate Report" and got rid of program
year and enrollment date
This commit is contained in:
+2
-2
@@ -20,7 +20,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="field">
|
<!-- <div class="field">
|
||||||
<label for="programYear">Program Year</label>
|
<label for="programYear">Program Year</label>
|
||||||
<input
|
<input
|
||||||
id="programYear"
|
id="programYear"
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
[(ngModel)]="form.enrollmentDate"
|
[(ngModel)]="form.enrollmentDate"
|
||||||
name="enrollmentDate"
|
name="enrollmentDate"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="expectedGrad">Expected Graduation</label>
|
<label for="expectedGrad">Expected Graduation</label>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<div class="toolbar">
|
<div class="toolbar">
|
||||||
<button class="toolbar-btn back-btn" (click)="onBack()">← Students</button>
|
<button class="toolbar-btn back-btn" (click)="onBack()">← Students</button>
|
||||||
<span class="spacer"></span>
|
<span class="spacer"></span>
|
||||||
|
<button class="generate-report"> ⭐ Generate progress report</button>
|
||||||
<button class="toolbar-btn" (click)="onAddGoal()">+ Add a Goal</button>
|
<button class="toolbar-btn" (click)="onAddGoal()">+ Add a Goal</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,24 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.generate-report {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
background-color: #4000ee;
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
padding: 8px 14px;
|
||||||
|
border-radius: 6px;
|
||||||
|
font-size: 0.875rem;
|
||||||
|
font-weight: 500;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.generate-report:hover {
|
||||||
|
background-color: #4f46e5;
|
||||||
|
}
|
||||||
|
|
||||||
.toolbar {
|
.toolbar {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -15,6 +33,7 @@
|
|||||||
border-bottom: 1px solid #ddd;
|
border-bottom: 1px solid #ddd;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbar-btn {
|
.toolbar-btn {
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
<div class="toolbar">
|
<div class="toolbar">
|
||||||
<h1 class= "page-title"> Students</h1>
|
<h1 class= "page-title"> My Students - <span class="student-count"> {{ students().length}}</span></h1>
|
||||||
<button class="toolbar-btn" (click)="onAddStudent()">+ Add a Student</button>
|
<button class="toolbar-btn" (click)="onAddStudent()">+ Add a Student</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+1
@@ -44,3 +44,4 @@
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user