-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ admin: Add PixIcon in certified profiles
- Loading branch information
1 parent
b4ef9c7
commit e1b4e8e
Showing
7 changed files
with
125 additions
and
115 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,43 @@ | ||
/* stylelint-disable no-invalid-double-slash-comments, selector-class-pattern */ | ||
// For more style details about this component, | ||
// see admin/app/styles/components/target-profiles/details.scss | ||
.skill-column--tested-in-certif { | ||
color: var(--pix-information-light); | ||
font-size: 1.7rem; | ||
.profile { | ||
&__header { | ||
display: flex; | ||
justify-content: space-between; | ||
width: 100%; | ||
padding: 32px; | ||
border-radius: 5px; | ||
|
||
.legend { | ||
padding: 12px; | ||
background-color: rgb(0 0 0 / 3%); | ||
border: 1px solid var(--pix-neutral-100); | ||
border-radius: 8px; | ||
|
||
> p { | ||
display: flex; | ||
gap: var(--pix-spacing-3x); | ||
align-items: center; | ||
} | ||
} | ||
} | ||
|
||
.skill-icon { | ||
width: 2rem; | ||
height: 2rem; | ||
|
||
&--tested-in-certif { | ||
fill: var(--pix-information-light); | ||
} | ||
|
||
&--check { | ||
fill: var(--pix-success-700); | ||
} | ||
|
||
&--uncheck { | ||
fill: var(--pix-neutral-20); | ||
} | ||
} | ||
|
||
.skill-column { | ||
overflow: visible; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
19 changes: 0 additions & 19 deletions
19
admin/app/templates/authenticated/certifications/certification/profile.hbs
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 |
---|---|---|
@@ -1,20 +1 @@ | ||
{{page-title "Certif " @model.id " Profil | Pix Admin" replace=true}} | ||
|
||
<section class="profile__header"> | ||
<div> | ||
<p>ID du compte Pix du candidat: {{@model.userId}}</p> | ||
<p>ID de la certification du candidat: {{@model.id}}</p> | ||
</div> | ||
<div class="legend"> | ||
<p> | ||
<FaIcon @icon="check-double" class="skill-column--tested-in-certif" /> | ||
Acquis proposé en certification | ||
</p> | ||
<p> | ||
<FaIcon @icon="check" class="skill-column--check" /> | ||
Acquis validé en direct ou par inférence en positionnement au moment du test de certification | ||
</p> | ||
</div> | ||
</section> | ||
|
||
<Certifications::CertifiedProfile @certifiedProfile={{@model}} /> |
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