This repository has been archived by the owner on Sep 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add performance dashboard frontend interface (#81)
* Added Professional development * Rename namespace to correspond with coding guidelines * Separate records into different files * Rename Value to Name to correspond with domain * Rename Value to Level to correspond with domain * Add professional skills to domain * Add short name to architectural layer and professional skills * Rename properties in competence profile random data filler * Rename CompetenceProfileOutcome to ProfessionalTaskOutcome * Add Professional skill outcome to competence profile * Use singular name * Use id references instead of name values * Use type keyword * Add submissions from all courses from student to competence profile transformation * Fix merge issues * Add task and skill outcomes to competence profile return type * Fetch terms from canvas * Remove redundant imports * Change default application url * Prevent browser from launching on every restart * Cleanup code * V0.1 * Defining colors for elements * Remove obsolete styling * Update pnpm lock file * Add Vue router * Resolve ESLint warnings * Add authorization view and controller * Use controller templating for route * A lot of stuff * A lot of stuff * Working * Set it all to vue 3 supported format * Fix import path * Add CORS policy * Realtime user data * Bugfixes * Add filter enrolment term function * Add terms to competence profile * Remove unused terms function * Added filter on professional outcomes and sorting * Removed unused things * Realtime user data * Add terms to competence profile * Cleanup code and improve competence profile converter * Filter on PostedAt value * Added frontend grid & colors --------- Co-authored-by: Tara <tarawillink@gmail.com> Co-authored-by: Jelle Maas <typiqally@gmail.com> Co-authored-by: Sven <svenroermond@hotmail.com> Co-authored-by: Eline <elinevooijs@outlook.com>
- Loading branch information
1 parent
7a38593
commit cd9ed69
Showing
6 changed files
with
135 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
Epsilon.Host.Frontend/src/components/KpiLegend/KpiLegend.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<template> | ||
<table class="kpi-legend"> | ||
<tr class="legend__row"> | ||
<td class="kpi-color lvl1" /> | ||
<th class="kpi-text">Lvl 1</th> | ||
</tr> | ||
<tr class="legend__row"> | ||
<td class="kpi-color lvl2" /> | ||
<th class="kpi-text">Lvl 2</th> | ||
</tr> | ||
<tr class="legend__row"> | ||
<td class="kpi-color lvl3" /> | ||
<th class="kpi-text">Lvl 3</th> | ||
</tr> | ||
<tr class="legend__row"> | ||
<td class="kpi-color lvl4" /> | ||
<th class="kpi-text">Lvl 4</th> | ||
</tr> | ||
</table> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
</script> | ||
|
||
<style> | ||
.kpi-legend { | ||
display: flex; | ||
flex-direction: column; | ||
box-shadow: 0px 0px 10px 5px #2c2c2c26; | ||
width: fit-content; | ||
height: fit-content; | ||
margin: 4rem; | ||
padding: 2rem; | ||
} | ||
.kpi-text { | ||
font-weight: 400; | ||
color: #C6C6C6; | ||
} | ||
.kpi-color { | ||
width: 3rem; | ||
} | ||
.lvl1 { | ||
background-color: #8EAADB; | ||
} | ||
.lvl2 { | ||
background-color: #A8D08D; | ||
} | ||
.lvl3 { | ||
background-color: #FFD965; | ||
} | ||
.lvl4 { | ||
background-color: #B15EB2; | ||
} | ||
.legend__row { | ||
display: grid; | ||
grid-template-columns: repeat(2, 5rem); | ||
padding: 0.5rem; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters