Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMBCESSMOD-5635 Add Case Notes page issues #2396

Merged
merged 2 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<div class="row">
<div class="col-md-12">
<span class="bold">Please add case notes in the field below. </span> All notes will be date stamped and tagged with
your first name and last name initial. Notes are editable for 24 hours, after which they will be locked from
editing.
<span class="bold">Add case notes in the field below. </span> Case notes will be locked to changes after 24
hours.<br />
All case notes will be date stamped and tagged with the first name and last name initial of each user.
</div>
</div>

<br /><br />
<div class="row">
<div class="col-md-12">
<form [formGroup]="notesForm">
<mat-form-field appearance="outline">
<textarea
rows="10"
formControlName="note"
placeholder="Add ESS file case notes"
placeholder="Add case notes here"
maxlength="1000"
matInput
></textarea>
Expand All @@ -27,11 +27,17 @@

<div class="row">
<div class="col-md-5">
<mat-slide-toggle [(ngModel)]="isImportantNote" name="fieldName" ngDefaultControl
>Flag case note as important</mat-slide-toggle
<mat-slide-toggle
[hideIcon]="true"
class="toogleWide"
[(ngModel)]="isImportantNote"
name="fieldName"
ngDefaultControl
><strong>Flag case note as important</strong></mat-slide-toggle
>
</div>
</div>
<br /><br />
<div class="row">
<div class="col-md-5">
<button class="button-s button-width" mat-button (click)="cancel()">Cancel</button>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
.button-width {
width: 100%;
}
:host {
background-color: #f2f2f2;
padding: 20px;
display: flex;
flex-direction: column;
}
::ng-deep {
.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after,
.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after,
.mdc-switch__handle::before, .mdc-switch__handle::after,
.mdc-switch .mdc-switch__handle::before{
background: #f2f2f2 !important;
}
.mdc-switch .mdc-switch__track {
height: 19px !important;
}
.mdc-switch__track::before, .mdc-switch__track::after {
background-color: #c9c9c9 !important;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="col-md-12 content-container">
<div class="row">
<div class="col-md-8">
<p>{{ count }} Case Note(s) have been added for this ESS File.</p>
<p>{{ count }} Case Notes have been added for this ESS File.</p>

<button class="button-p" [disabled]="isAddDisabled" mat-button (click)="addNotes()">Add Case Notes</button>

Expand Down