-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactored code to bring in line with standard * linting * wording fixed on additional evidence boxes * fixed a bug where the confirm vrn modal would display a blue cancel button instead of black * Corrected wording error * Refactored practice mode modal to support dynamic font sizes * linting
- Loading branch information
Showing
8 changed files
with
62 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,8 @@ | |
color: var(--gds-black) | ||
} | ||
|
||
.cancel-button { | ||
color: var(--gds-black); | ||
} | ||
|
||
} |
57 changes: 31 additions & 26 deletions
57
.../components/mot-components/practice-mode-mot-modal/practice-mode-mot-modal.component.html
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,35 +1,40 @@ | ||
<ion-card class="modal-alert"> | ||
<modal-alert-title>You are in practice mode</modal-alert-title> | ||
<ion-row class="ion-justify-content-center"> | ||
<ion-col class="ion-no-padding" size="80"> | ||
<div class="modal-alert-message mes-data"> | ||
<div class="mes-data">Please select which MOT result you would like to practice.</div> | ||
<ul></ul> | ||
</div> | ||
</ion-col> | ||
</ion-row> | ||
<ion-row> | ||
<ion-col></ion-col> | ||
<ion-col class="display-flex ion-justify-content-center" size="30"> | ||
<ion-button (click)="onConfirm(PracticeModeMOTType.PASS)" class="full-width mes-grey-button"> | ||
<ion-text class="semibold-font-family">Pass</ion-text> | ||
</ion-button> | ||
</ion-col> | ||
<ion-col class="display-flex ion-justify-content-center" size="30"> | ||
<ion-button (click)="onConfirm(PracticeModeMOTType.FAILED)" class="full-width mes-grey-button"> | ||
<ion-text class="semibold-font-family">Fail</ion-text> | ||
</ion-button> | ||
</ion-col> | ||
<ion-col class="display-flex ion-justify-content-center" size="30"> | ||
<ion-button (click)="onConfirm(PracticeModeMOTType.NO_DETAILS)" class="full-width mes-grey-button"> | ||
<ion-text class="semibold-font-family">No Details</ion-text> | ||
</ion-button> | ||
<ion-col size="3"></ion-col> | ||
<ion-col> | ||
<modal-alert-title>You are in practice mode</modal-alert-title> | ||
<ion-row class="ion-justify-content-center"> | ||
<ion-col class="ion-no-padding" size="80"> | ||
<div class="modal-alert-message mes-data"> | ||
<div class="mes-data">Please select which MOT result you would like to practice.</div> | ||
<ul></ul> | ||
</div> | ||
</ion-col> | ||
</ion-row> | ||
<ion-row> | ||
<ion-col class="display-flex ion-justify-content-center"> | ||
<ion-button (click)="onConfirm(PracticeModeMOTType.PASS)" class="full-width mes-grey-button"> | ||
<ion-text class="des-header-style-3 semibold-font-family">Pass</ion-text> | ||
</ion-button> | ||
</ion-col> | ||
<ion-col class="display-flex ion-justify-content-center"> | ||
<ion-button (click)="onConfirm(PracticeModeMOTType.FAILED)" class="full-width mes-grey-button"> | ||
<ion-text class="des-header-style-3 semibold-font-family">Fail</ion-text> | ||
</ion-button> | ||
</ion-col> | ||
<ion-col class="display-flex ion-justify-content-center"> | ||
<ion-button (click)="onConfirm(PracticeModeMOTType.NO_DETAILS)" class="full-width mes-grey-button"> | ||
<ion-text class="des-header-style-3 semibold-font-family">No Details</ion-text> | ||
</ion-button> | ||
</ion-col> | ||
</ion-row> | ||
</ion-col> | ||
<ion-col></ion-col> | ||
<ion-col size="3"></ion-col> | ||
</ion-row> | ||
<ion-row class="padding-top-10"> | ||
<ion-col class="ion-no-padding column-border-top column-border-right"> | ||
<ion-button id="practice-modal-cancel" class="cancel-button" fill="clear" (click)="onCancel()">Cancel</ion-button> | ||
<ion-button id="practice-modal-cancel" class="cancel-button" fill="clear" (click)="onCancel()">Cancel | ||
</ion-button> | ||
</ion-col> | ||
</ion-row> | ||
</ion-card> |
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